-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issues importing Yodlee into MS Money #6
Comments
Here is my modified ofx.py file (I don't know Python, so I may have messed something up, but so far it's worked for me!) Apologies for the weird markup, I don't understand this GitHub markup, and I couldn't see any way to attach a file. from datetime import datetime def export ( path, mapping, grid):
OFXHEADER:100
|
Thanks so much for this, this is exactly what I have been after!
However, in getting this working I had to work around a few issues.
Using Default Mappings
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\csv2ofx__init__.py", line 219, in OnExport
csv2ofx_export(path,mapping,grid)
File "C:\Python27\lib\site-packages\csv2ofx\ofx.py", line 29, in export
tran=dict([(k,mappingk) for k in ['DTPOSTED','TRNAMT','FITID','PAYEE','MEMO','CHECKNUM']])
File "C:\Python27\lib\site-packages\csv2ofx\mappings.py", line 109, in
'FITID':lambda row,grid: fromCSVCol(row,grid,'Transaction Id'),
File "C:\Python27\lib\site-packages\csv2ofx\csvutils.py", line 62, in fromCSVCol
return xmlize(grid.GetValue(row,grid.GetColPos(col_name)))
File "C:\Python27\lib\site-packages\csv2ofx\csvutils.py", line 46, in GetColPos
return self.col_map[col_name]
KeyError: 'Transaction Id'
I got around this by simply adding a Transaction Id header column.
I got errors importing the OFX file because MS Money seems to expect the following at the head of the document:
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
Once I added this, it went through.
csv2ofx creates many elements within a single . When I changed this to define different accounts in different STMTTRNRS elements, I got around this problem.
The text was updated successfully, but these errors were encountered: