Bitcoin Forum

Bitcoin => Electrum => Topic started by: Tuxavant on March 19, 2013, 08:12:22 PM



Title: Server Selection Bug in 1.7
Post by: Tuxavant on March 19, 2013, 08:12:22 PM
Restored a wallet via command line and connected to Electrum.be

Clicking the Network icon results in this and I'm unable to change servers (no dialog)

Code:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/electrum_gui/gui_classic.py", line 1188, in <lambda>
    self.status_button = StatusBarButton( QIcon(":icons/status_disconnected.png"), _("Network"), lambda: self.network_dialog(self.wallet, self) )
  File "/usr/lib/python2.7/site-packages/electrum_gui/gui_classic.py", line 2206, in network_dialog
    change_server(host,protocol)
  File "/usr/lib/python2.7/site-packages/electrum_gui/gui_classic.py", line 2201, in change_server
    server_protocol.model().setData(j, QtCore.QVariant(0,False), QtCore.Qt.UserRole-1)
TypeError: arguments did not match any overloaded call:
  QVariant(): too many arguments
  QVariant(Type): argument 1 has unexpected type 'int'
  QVariant(int, sip.voidptr): argument 2 has unexpected type 'bool'
  QVariant(QVariant): too many arguments
  QVariant(object): too many arguments


Title: Re: Server Selection Bug in 1.7
Post by: Tachikoma on March 19, 2013, 08:23:36 PM
For now please downgrade SIP and PyQT. I will see if I can find a fix for the problem itself.


Title: Re: Server Selection Bug in 1.7
Post by: ThomasV on March 19, 2013, 10:01:11 PM
please le me know if this commit fixes it:

https://github.com/spesmilo/electrum/commit/debf2dfeb5392a5ca1782efb5f90f9387125cfac