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

AttributeError: module 'ofxstatement.plugins.alfabank' has no attribute 'AlfabankPlugin' #82

Closed
cedricbousmanne opened this Issue Nov 2, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@cedricbousmanne

cedricbousmanne commented Nov 2, 2018

I just installed ofxstatement to play around with, but i'm stuck with this error while running ofxstatement list-plugins

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in resolve
    return functools.reduce(getattr, self.attrs, module)
AttributeError: module 'ofxstatement.plugins.alfabank' has no attribute 'AlfabankPlugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/ofxstatement", line 11, in <module>
    load_entry_point('ofxstatement==0.6.1', 'console_scripts', 'ofxstatement')()
  File "/usr/lib/python3/dist-packages/ofxstatement/tool.py", line 150, in run
    return args.func(args)
  File "/usr/lib/python3/dist-packages/ofxstatement/tool.py", line 68, in list_plugins
    available_plugins = plugin.list_plugins()
  File "/usr/lib/python3/dist-packages/ofxstatement/plugin.py", line 26, in list_plugins
    return sorted((ep.name, ep.load()) for ep in plugin_eps)
  File "/usr/lib/python3/dist-packages/ofxstatement/plugin.py", line 26, in <genexpr>
    return sorted((ep.name, ep.load()) for ep in plugin_eps)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2316, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2326, in resolve
    raise ImportError(str(exc))
ImportError: module 'ofxstatement.plugins.alfabank' has no attribute 'AlfabankPlugin'
$ python --version
Python 2.7.14

Please let me know if you need additional information

@kedder

This comment has been minimized.

Owner

kedder commented Nov 4, 2018

Hi, ofxstatement doesn't support an older python 2.7. Try running it under python 3.

@kedder kedder closed this Nov 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment