Bitcoin Forum
September 01, 2024, 06:08:24 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum console error  (Read 232 times)
financial freedom (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
November 16, 2017, 04:46:18 AM
 #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?
pooya87
Legendary
*
Offline Offline

Activity: 3556
Merit: 10808



View Profile
November 16, 2017, 04:56:52 AM
 #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

financial freedom (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
November 16, 2017, 06: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 <lambda>
    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.
pooya87
Legendary
*
Offline Offline

Activity: 3556
Merit: 10808



View Profile
November 17, 2017, 06: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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!