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: 'TreeNode' object has no attribute 'ref' #331

Closed
hsoft opened this Issue Jun 22, 2013 · 5 comments

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

Thanks for the great piece of software. I find it very useful.

I've noticed that I often get the application error below. I'm unsure exactly what triggers it, but it started happening after swithcing between various files/documents a lot. Usually around hiding/selecting accounts in the net worth tab.

Application Name: moneyGuru
Version: 2.5.3

Traceback (most recent call last):
File "/usr/share/moneyguru/qt/controller/account_sheet.py", line 257, in nodeExpanded
self.model.expand_node(node.ref)
AttributeError: 'TreeNode' object has no attribute 'ref'

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

Yeah, I've been receiving these crash reports for a while now and still haven't been able to reproduce it reliably. I also think that it has something to do with New/Open under Qt. There's already a view refresh glitch that I have to fix on Qt and I wouldn't be surprised at all if this crash was related to this.

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

Oops! Attached the wrong file. I've attached the intended one. Please disregard the last one. Thanks!

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

I was never able to reproduce the bug, but I've fixed another glitch at https://bitbucket.org/hsoft/moneyguru/changeset/fc687aa6813d and I'm pretty sure that it will fix this crash too. I'll close this ticket and re-open it if I get more reports of this crash.

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

Well, I stumbled upon a new occurrence of that crash, and this time I can reproduce it.

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [9b46c3533aa8]) [#331] Fixed "'TreeNode' object has no attribute 'ref'" crash on New Document under Qt.
https://bitbucket.org/hsoft/moneyguru/changeset/9b46c3533aa8/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment