Crash on entry editing
Reported by Virgil Dupras | October 6th, 2012 @ 06:11 PM
In the Account view, I got this crash while tabbing from the date field to the payee field:
Application Identifier: com.hardcoded-software.moneyguru
Application Version: 2.5.5
Mac OS X Version: 10.8.2
Traceback (most recent call last):
File "/Users/hsoft/src/moneyguru/build/moneyGuru.app/Contents/Resources/mg_cocoa.py", line 1426, in setText_
self.model.text = value
File "/Users/hsoft/src/moneyguru/build/moneyGuru.app/Contents/Resources/py/core/gui/completable_edit.py", line 122, in text
if self.candidates:
File "/Users/hsoft/src/moneyguru/build/moneyGuru.app/Contents/Resources/py/core/gui/completable_edit.py", line 112, in candidates
self._refresh_candidates()
File "/Users/hsoft/src/moneyguru/build/moneyGuru.app/Contents/Resources/py/core/gui/completable_edit.py", line 45, in _refresh_candidates
self._candidates = dedupe([name for name in self._candidates if name.strip()])
File "/Users/hsoft/src/moneyguru/build/moneyGuru.app/Contents/Resources/py/core/gui/completable_edit.py", line 45, in <listcomp>
self._candidates = dedupe([name for name in self._candidates if name.strip()])
AttributeError: 'NoneType' object has no attribute 'strip'
It's a bit hard to reproduce. It happened to me twice and it seems to be related to split editing and/or MCT balancing. That crash happened right after I did a MCT balancing (which creates a split). And then, I created a new transaction and tabbed from the date field into the payee field. This is when the crash happened (both times).
Now I can't seem to be able to reproduce it...
Comments and changes to this ticket
-
Virgil Dupras October 6th, 2012 @ 06:12 PM
- Title changed from Crash on entry edition. to Crash on entry editing
-
Virgil Dupras October 6th, 2012 @ 06:20 PM
Got it. It seems to be related to split editing + fuzzy lookup window. If I add a split to a txn and then use the Cmd+L lookup window to assign an account to that split, the next new txn editing I do will trigger this crash.
I thought that this crash happened also under 2.5.5, but it seems to have been a hallucination. It seems to affect only the dev version.
-
Virgil Dupras October 7th, 2012 @ 04:05 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras October 7th, 2012 @ 04:33 PM
- Tag changed from bug to bug, cocoa
Oh, it was simply payee's field in Cocoa's transaction panel which wasn't linked. Easy stuff.
-
Virgil Dupras October 7th, 2012 @ 04:35 PM
- State changed from accepted to fixed
(from [2be79d6e1996]) [#348 state:fixed] Fixed Payee field in Cocoa's transaction panel which wasn't working. https://bitbucket.org/hsoft/moneyguru/changeset/2be79d6e1996/
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 ยป