Version-Release number of selected component: git-cola-3.2-2.fc30 Additional info: reporter: libreport-2.10.0 cmdline: /usr/bin/python3 /usr/bin/git-cola --prompt crash_function: __init__ exception_type: TypeError executable: /usr/bin/git-cola interpreter: python3-3.7.3-1.fc30.x86_64 kernel: 5.0.11-300.fc30.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: startup.py:120:__init__:TypeError: 'PySide.QtGui.QWidget.setFocus' called with wrong argument types: PySide.QtGui.QWidget.setFocus(bool) Supported signatures: PySide.QtGui.QWidget.setFocus() PySide.QtGui.QWidget.setFocus(PySide.QtCore.Qt.FocusReason) Traceback (most recent call last): File "/usr/bin/git-cola", line 54, in <module> sys.exit(main()) File "/usr/share/git-cola/lib/cola/main.py", line 27, in main return args.func(args) File "/usr/share/git-cola/lib/cola/main.py", line 296, in cmd_cola context = app.application_init(args) File "/usr/share/git-cola/lib/cola/app.py", line 355, in application_init new_worktree(context, args.repo, args.prompt, args.settings) File "/usr/share/git-cola/lib/cola/app.py", line 470, in new_worktree startup_dlg = startup.StartupDialog(context, parent, settings=settings) File "/usr/share/git-cola/lib/cola/widgets/startup.py", line 120, in __init__ self.bookmarks.setFocus(True) TypeError: 'PySide.QtGui.QWidget.setFocus' called with wrong argument types: PySide.QtGui.QWidget.setFocus(bool) Supported signatures: PySide.QtGui.QWidget.setFocus() PySide.QtGui.QWidget.setFocus(PySide.QtCore.Qt.FocusReason) Local variables in innermost frame: self: <cola.widgets.startup.StartupDialog object at 0x7fbb037ef408> context: <cola.app.ApplicationContext object at 0x7fbb0334a0f0> parent: None settings: <cola.settings.Settings object at 0x7fbb0385b470> logo_pixmap: <PySide.QtGui.QPixmap object at 0x7fbb037ef348> item: <PySide.QtGui.QStandardItem object at 0x7fbb02d27808> bookmarks: [] recent: ['/home/christophe/Documents/b_valo'] all_repos: ['/home/christophe/Documents/b_valo'] added: {'/home/christophe/Documents/b_valo'} repo: '/home/christophe/Documents/b_valo' selection_mode: PySide.QtGui.QAbstractItemView.SelectionMode.SingleSelection
Created attachment 1564656 [details] File: backtrace
Created attachment 1564657 [details] File: cgroup
Created attachment 1564658 [details] File: cpuinfo
Created attachment 1564659 [details] File: environ
Created attachment 1564660 [details] File: mountinfo
Created attachment 1564661 [details] File: namespaces
Created attachment 1564662 [details] File: open_fds
In case it helps Git Cola generally works best with the PyQt5 bindings. We support PyQt4 and PyQt5 via the "qtpy" module, but all day-to-day development is done using PyQt5.
Than you, but PyQt5 don't exist on Fedora 30 repository.
See #1705023 for updating the package to use Qt5 (which may also fix this issue).
In case it helps (besides PyQt5 or PySide2), we did get rid of the setFocus(bool) calls upstream in later versions (v3.3+).
https://src.fedoraproject.org/rpms/git-cola/pull-request/2
I am getting a similar erro on fedora 31 user>dnf info git-cola ... snip ... Name : git-cola Version : 3.4 Release : 2.fc31 Architecture : noarch Size : 4.0 M Source : git-cola-3.4-2.fc31.src.rpm Repository : @System From repo : fedora ... snip ... user>git-cola Traceback (most recent call last): File "/usr/share/git-cola/lib/qtpy/__init__.py", line 172, in <module> from PySide import __version__ as PYSIDE_VERSION # analysis:ignore ModuleNotFoundError: No module named 'PySide' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/git-cola", line 53, in <module> from cola.main import main File "/usr/share/git-cola/lib/cola/main.py", line 6, in <module> from . import app File "/usr/share/git-cola/lib/cola/app.py", line 15, in <module> from qtpy import QtCore File "/usr/share/git-cola/lib/qtpy/__init__.py", line 178, in <module> raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found
I was able to get around the problem with the suggestion on https://bugzilla.redhat.com/show_bug.cgi?id=1775648 i.e., dnf install python3-pyside I still get an error message. Now it is as follows: user>git-cola Bus::open: Connect ibus failed! IBusInputContext::createInputContext: no connection to ibus-daemon
FEDORA-2020-ad7d7ce3a3 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad7d7ce3a3
FEDORA-2020-ad7d7ce3a3 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ad7d7ce3a3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad7d7ce3a3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-ad7d7ce3a3 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.