GithubHelp home page GithubHelp logo

koodaamo / banking.statements.osuuspankki Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 10.0 55 KB

Plugin for ofxstatement to read CSV files exported from the online banking service of the Finnish Osuuspankki bank.

License: GNU General Public License v3.0

Python 100.00%

banking.statements.osuuspankki's People

Contributors

hannut avatar jukper avatar petri avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

banking.statements.osuuspankki's Issues

Installation error with PIP

System: Ubuntu 16.04.3 LTS
Ofxstatement version 0.6.1
PIP 8.1.1

Error:
root@:/usr/local/lib/python3.5/dist-packages/ofxstatement# pip3 install banking.statements.osuuspankki
Collecting banking.statements.osuuspankki
Could not find a version that satisfies the requirement banking.statements.osuuspankki (from versions: )
No matching distribution found for banking.statements.osuuspankki

Have tested installing other plugins without problems... example ofxstatement-lithuanian installed without any errors... any help is appreciated...

Command taken from https://pypi.python.org/pypi/ofxstatement/0.6.1

Conversion fails with error: KeyError: 'account'

What am I doing wrong here? I'm a noob with Python and got Python 2.7.10 and 3.5.4 installed on Win7 64bit.

Tried this:

ofxstatement convert -t op .\tapahtumat20150801-20150831.csv tapahtumat.ofx

got this:

Traceback (most recent call last):
File "C:\Users\wizah\AppData\Local\Programs\Python\Python35\Scripts\ofxstatement-script.py", line 9, in
load_entry_point('ofxstatement==0.5.0', 'console_scripts', 'ofxstatement')()
File "c:\users\wizah\appdata\local\programs\python\python35\lib\site-packages\ofxstatement\tool.py", line 145, in ru
n
return args.func(args)
File "c:\users\wizah\appdata\local\programs\python\python35\lib\site-packages\ofxstatement\tool.py", line 121, in co
nvert
parser = p.get_parser(args.input)
File "c:\users\wizah\appdata\local\programs\python\python35\lib\site-packages\banking.statements.osuuspankki-1.3.2-p
y3.5.egg\banking\statements\osuuspankki\plugin.py", line 20, in get_parser
parser.statement.account_id = self.settings['account']
KeyError: 'account'

Missing key maybe? KeyError: 'ARVOPAPERI'

I got the following error when converting. Sounds just like it would be missing this key ARVOPAPERI. When I edited that word to something else in the CSV file it converted just fine.

Traceback (most recent call last):
  File "/usr/local/bin/ofxstatement", line 9, in <module>
    load_entry_point('ofxstatement==0.6.0', 'console_scripts', 'ofxstatement')()
  File "/usr/local/lib/python3.5/dist-packages/ofxstatement-0.6.0-py3.5.egg/ofxstatement/tool.py", line 150, in run
  File "/usr/local/lib/python3.5/dist-packages/ofxstatement-0.6.0-py3.5.egg/ofxstatement/tool.py", line 128, in convert
  File "/usr/local/lib/python3.5/dist-packages/ofxstatement-0.6.0-py3.5.egg/ofxstatement/parser.py", line 28, in parse
  File "/usr/local/lib/python3.5/dist-packages/banking.statements.osuuspankki-1.3.3rc0-py3.5.egg/banking/statements/osuuspankki/parser.py", line 77, in parse_record
    line[4] = TRANSACTION_TYPES[line[4]]
KeyError: 'ARVOPAPERI'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.