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

Key Error transaction_details #2

Open
hofq opened this issue May 29, 2022 · 2 comments · May be fixed by #5
Open

Key Error transaction_details #2

hofq opened this issue May 29, 2022 · 2 comments · May be fixed by #5

Comments

@hofq
Copy link

hofq commented May 29, 2022

Hi,
the Following Log i got from running your App:
grafik

Traceback (most recent call last):                                                                                        File "C:\Python310\Scripts\ofxstatement-script.py", line 33, in <module>                                                  sys.exit(load_entry_point('ofxstatement', 'console_scripts', 'ofxstatement')())                                       File "C:\Python310\lib\site-packages\ofxstatement\tool.py", line 205, in run                                              return args.func(args)                                                                                                File "C:\Python310\lib\site-packages\ofxstatement\tool.py", line 176, in convert                                          statement = parser.parse()                                                                                            File "C:\Python310\lib\site-packages\ofxstatement\plugins\mt940.py", line 58, in parse                                    stmt: Statement = super().parse()                                                                                     File "C:\Python310\lib\site-packages\ofxstatement\parser.py", line 46, in parse                                           stmt_line = self.parse_record(line)                                                                                   File "C:\Python310\lib\site-packages\ofxstatement\plugins\mt940.py", line 118, in parse_record                            memo = transaction.data['transaction_details']                                                                      KeyError: 'transaction_details'    

I am Running
pip 22.0.4
Python 3.10.0
Windows 11 22H2 Build 22000.675

My Bank is in the Part of the German Sparkasse compound, a Company by Nord/LB. I would Provide more information, but i don't know how to anonymize MT940 Data.

@s-ol
Copy link

s-ol commented Jun 24, 2022

I have the same issue with a bank from the Sparkasse compound. The file appears to use the same exact format as the knab.sta example.

@student-CE
Copy link

Have you found a solution please!! i have he same error shown.

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

Successfully merging a pull request may close this issue.

3 participants