AttributeError: 'TreeNode' object has no attribute 'ref'
Reported by Rhys Parry | June 15th, 2012 @ 10:38 PM
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'
Comments and changes to this ticket
-
Virgil Dupras June 18th, 2012 @ 03:03 PM
- Tag set to bug, qt
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.
-
Rhys Parry June 18th, 2012 @ 08:01 PM
Oops! Attached the wrong file. I've attached the intended one. Please disregard the last one. Thanks!
-
Virgil Dupras June 19th, 2012 @ 08:19 PM
- State changed from new to fixed
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.
-
Virgil Dupras September 24th, 2012 @ 12:52 AM
- State changed from fixed to accepted
Well, I stumbled upon a new occurrence of that crash, and this time I can reproduce it.
-
Virgil Dupras September 24th, 2012 @ 12:57 AM
(from [9b46c3533aa8]) [#331] Fixed "'TreeNode' object has no attribute 'ref'" crash on New Document under Qt. https://bitbucket.org/hsoft/moneyguru/changeset/9b46c3533aa8/
-
Virgil Dupras September 24th, 2012 @ 12:57 AM
- State changed from accepted to fixed
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป