Bug 2020681

Summary: Electron-cash crashes at start
Product: [Fedora] Fedora Reporter: hgbhcprm
Component: electron-cashAssignee: Jonny Heggheim <hegjon>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 35CC: cbm, hegjon
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: electron-cash-4.2.6-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-13 01:03:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hgbhcprm 2021-11-05 16:00:39 UTC
Description of problem:
Electron-cash won't start

Version-Release number of selected component (if applicable):
4.2.5

How reproducible:
Always

Steps to Reproduce:
1. try to start electron-cash
2.
3.

Actual results:
application crashes

Expected results:
application starts

Additional info:

the following error message is printed when one tries to start Electron-cash

QSocketNotifier: Can only be used with threads started with QThread
QObject::connect: No such signal
QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
Traceback (most recent call last):
  File "/usr/bin/electron-cash", line 574, in <module>
    main()
  File "/usr/bin/electron-cash", line 562, in main
    result = run_gui(config, config_options)
  File "/usr/bin/electron-cash", line 356, in run_gui
    daemon_thread.init_gui()
  File "/usr/lib/python3.10/site-packages/electroncash/daemon.py", line
365, in init_gui
    self.gui = gui.ElectrumGui(config, self, plugins)
  File "/usr/lib/python3.10/site-
packages/electroncash_gui/qt/__init__.py", line 153, in __init__
    self._start_auto_update_timer(first_run = True)
  File "/usr/lib/python3.10/site-
packages/electroncash_gui/qt/__init__.py", line 763, in
_start_auto_update_timer
    self.update_checker_timer.start(interval)
TypeError: arguments did not match any overloaded call:
  start(self, int): argument 1 has unexpected type 'float'
  start(self): too many arguments

Comment 1 Jonny Heggheim 2021-12-02 16:07:08 UTC
I plan to upgrade to Fedora 35 this weekend, will check if I am able to reproduce.

Comment 2 Jonny Heggheim 2021-12-02 16:10:24 UTC
Already reported and fixed upstream, waiting for a release

Comment 3 Fedora Update System 2021-12-11 20:22:42 UTC
FEDORA-2021-7ee9f2b040 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7ee9f2b040

Comment 4 Fedora Update System 2021-12-12 02:06:11 UTC
FEDORA-2021-7ee9f2b040 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7ee9f2b040`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7ee9f2b040

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-12-13 01:03:57 UTC
FEDORA-2021-7ee9f2b040 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.