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

AttributeError when starting csv2ofx #5

Open
Tova opened this issue Mar 2, 2010 · 2 comments
Open

AttributeError when starting csv2ofx #5

Tova opened this issue Mar 2, 2010 · 2 comments

Comments

@Tova
Copy link

Tova commented Mar 2, 2010

csv2ofx exits bofore opening with this error:

Traceback (most recent call last):
File "/usr/local/bin/csv2ofx", line 14, in
a=csv2ofx.csv2ofx()
File "/usr/local/lib/python2.6/dist-packages/csv2ofx/init.py", line 25, in init
wx.App.init(self,redirect=False)
File "/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7700, in init
self._BootstrapApp()
File "/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7352, in _BootstrapApp
return core.PyApp__BootstrapApp(_args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/csv2ofx/init.py", line 46, in OnInit
self.grid.EnableEditing(False)
AttributeError: 'NoneType' object has no attribute 'EnableEditing'

a month ago it was working. Any suggestions?

@djmuhlestein
Copy link
Owner

It looks like somehow in your setup the grid wasn't created. (Hence the grid is None and then has not method EnableEditing). I wonder if this is a python 2.6 error. Can you try with Python 2.5 to see? It works for me still. I'll see if I can get a 2.6 installation somewhere to try it out.

@Tova
Copy link
Author

Tova commented Mar 2, 2010

I'm not sure how to try it with another version of Python. So that's what I've done:

python2.5 setup.py install

then

/usr/bin/csv2ofx

But that stil doesn't work:

"Traceback (most recent call last):
File "/usr/bin/csv2ofx", line 14, in
a=csv2ofx.csv2ofx()
File "/usr/lib/python2.5/site-packages/csv2ofx/init.py", line 25, in init
wx.App.init(self,redirect=False)
File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7700, in init
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7352, in _BootstrapApp
return core.PyApp__BootstrapApp(_args, *_kwargs)
File "/usr/lib/python2.5/site-packages/csv2ofx/init.py", line 46, in OnInit
self.grid.EnableEditing(False)
AttributeError: 'NoneType' object has no attribute 'EnableEditing'
"

should I try it another way?

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

No branches or pull requests

2 participants