Skip to content

Error when executing example #16

@UweZiegenhagen

Description

@UweZiegenhagen

I am running the example code and receive an error with the Sparkasse account:


  File "<ipython-input-11-a93d51eacccf>", line 1, in <module>
    runfile('D:/fints/test.py', wdir='D:/fints')

  File "C:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile
    execfile(filename, namespace)

  File "C:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "D:/fints/test.py", line 26, in <module>
    statement = f.get_statement(accounts[0], date(2017, 12, 1), date.today())

  File "C:\Anaconda3\lib\site-packages\fints-0.2.1-py3.5.egg\fints\client.py", line 89, in get_statement
    statement += mt940_to_array(m.group(2))

  File "C:\Anaconda3\lib\site-packages\fints-0.2.1-py3.5.egg\fints\utils.py", line 11, in mt940_to_array
    return transactions.parse(data)

  File "C:\Anaconda3\lib\site-packages\mt940\models.py", line 394, in parse
    for k, v in _compat.iteritems(result):

NameError: name '_compat' is not defined

Is this just a version error with my Anaconda Python 3.5.4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions