Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: global name 'ofx_version' is not defined #64

Open
msewell13 opened this issue Mar 21, 2019 · 2 comments
Open

NameError: global name 'ofx_version' is not defined #64

msewell13 opened this issue Mar 21, 2019 · 2 comments

Comments

@msewell13
Copy link

I keep getting this name error when trying to add new accounts. It doesn't matter which bank, I get the same error on every one. I suppose this is some type of configuration error but can't figure it out.
I'm on a ubuntu machine, installed with apt-get and made sure I had all dependencies installed.

full traceback looks like this:

Traceback (most recent call last):
  File "/usr/bin/ofxclient", line 11, in <module>
    load_entry_point('ofxclient==2.0.2', 'console_scripts', 'ofxclient')()
  File "/usr/lib/python2.7/dist-packages/ofxclient/cli.py", line 63, in run
    main_menu(args)
  File "/usr/lib/python2.7/dist-packages/ofxclient/cli.py", line 83, in main_menu
    add_account_menu(args)
  File "/usr/lib/python2.7/dist-packages/ofxclient/cli.py", line 130, in add_account_menu
    if login_check_menu(bank, args):
  File "/usr/lib/python2.7/dist-packages/ofxclient/cli.py", line 209, in login_check_menu
    client_args={ofx_version: args.ofx_version}
NameError: global name 'ofx_version' is not defined
@egh
Copy link

egh commented Jul 1, 2019

I think the problem here may be that you need python3?

@ghost
Copy link

ghost commented Mar 16, 2020

Same issue using Python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants