Comments (2)
Haven't needed a Python 3 version myself but it should be easy to fix. I
can work on it next week.
On 3 Jul 2015 10:32, "Martijn de Geus" [email protected] wrote:
Running into problems with Python3
p3512@Kaboom:
/Desktop$ which python3/Desktop$ mkvirtualenv mt-940 --python=/usr/bin/python3
/usr/bin/python3
p3512@Kaboom:
Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in mt-940/bin/python3
Also creating executable in mt-940/bin/python
Installing setuptools, pip...done.
(mt-940)p3512@Kaboom:~/Desktop$ pip install mt-940
Downloading/unpacking mt-940
Downloading mt-940-2.2.tar.gz
Running setup.py (path:/home/p3512/.virtualenvs/mt-940/build/mt-940/setup.py) egg_info for package mt-940Downloading/unpacking enum34 (from mt-940)
Downloading enum34-1.0.4.tar.gz
Running setup.py (path:/home/p3512/.virtualenvs/mt-940/build/enum34/setup.py) egg_info for package enum34Installing collected packages: mt-940, enum34
Running setup.py install for mt-940Running setup.py install for enum34
Successfully installed mt-940 enum34
Cleaning up...
(mt-940)p3512@Kaboom:~/Desktop$ python
Python 3.4.0 (default, Jun 19 2015, 14:20:21)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.import mt940
import pprint
transactions = mt940.parse('abnamro.sta')
Traceback (most recent call last):
File "", line 1, in
File "/home/p3512/.virtualenvs/mt-940/lib/python3.4/site-packages/mt940/parser.py", line 45, in parse
transactions.parse(data)
File "/home/p3512/.virtualenvs/mt-940/lib/python3.4/site-packages/mt940/models.py", line 209, in parse
for k, v in result.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'—
Reply to this email directly or view it on GitHub
https://github.com/WoLpH/mt940/issues/10.
from mt940.
Version 3 has just been released with Python 3 support :)
from mt940.
Related Issues (20)
- AttributeError: module 'mt940' has no attribute 'parse' HOT 5
- Transaction Reference Number is not returned by the parser HOT 5
- Missing essential documentation for Transaction fields. HOT 2
- Dropping Transaction Data? HOT 1
- First intermediate_opening_balance line missing HOT 5
- Parse GV codes when purpose does not start with GV codes HOT 2
- Encoding issue HOT 2
- The ASN bank MT940 file can not be parsed for tag 61 HOT 1
- Opening Balance HOT 4
- Parsing transactions : key 64 HOT 8
- Multiple accounts in one file HOT 7
- Parser doesn't show running balance or opening/closing balance at transaction level HOT 2
- Status and Fund code , when Currency ends with a D HOT 2
- Getting only single account data instead of multiple accounts HOT 1
- Non-numeric statement number HOT 2
- Exporting to tabular format HOT 1
- cannot run for citibank? HOT 1
- Single "account_identification" field HOT 2
- Statement line is parsed incorrectly for customer/bank reference HOT 2
- MT940 Issues parsing with :61: HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mt940.