Author

Topic: Electrum console error (Read 242 times)

legendary
Activity: 3472
Merit: 10611
November 17, 2017, 01:29:58 AM
#4
now this is different from your initial mistake for missing the () in front of the functions.
this new error you received and posted here is a known issue with this particular version (Electrum 2.9.0), when you use console in this version it looks for password by mistake, that is why you are getting this not-user-friendly error message.
it should be fixed in 2.9.3 https://github.com/spesmilo/electrum/issues/2684

always try to use the latest versions. ie V 3.0.2
newbie
Activity: 25
Merit: 0
November 16, 2017, 01:19:11 AM
#3
The sort of response i get, this is typed manually so there's errors in the exact copying,


Code:
>>help()
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/main_window.py", line 1711 in
    return lambda *args: apply(f, (method,args,self.password_dialog ))
  File "/usr/local/lib/python2.7/dist-packages/electrum/commands.py", line104, in _run
    result = f(*args, **{'password':password})
UnboundLocalError: local variable 'password' referenced before assignment

I have tried various things and I can get no useful responses.
legendary
Activity: 3472
Merit: 10611
November 15, 2017, 11:56:52 PM
#2
the console is answering you itself. if read the last line it is saying you must use help() instead (in other words use parenthesis in front of your functions) Tongue
newbie
Activity: 25
Merit: 0
November 15, 2017, 11:46:18 PM
#1
Using Electrum 2.9.0 in Ubuntu14.04
Attempting to use console results in

Code:
>>electrum help
Traceback (most recent call last):
    electrum help
                      ^
SyntaxError:invalid syntax
>> help
'help' is a function. Type 'help()' to use it in the Python console.

Any help?
Jump to: