wxbanker crashed with TypeError in GetBalance()

Bug #653716 reported by David D Lowe on 2010-10-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
David D Lowe

Bug Description

I had just created an empty account before restarting wxBanker.

$ sqlite3 /home/david/.local/share/bank.db "select * from accounts"

As you can see, for some reason the last account doesn't have a balance saved, not even 0.

Traceback should be included as an attachment.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: wxbanker 0.8.1~ppa1~10.10
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic-pae
Uname: Linux 2.6.35-22-generic-pae i686
Architecture: i386
CrashDB: wxbanker
Date: Sat Oct 2 19:34:57 2010
ExecutablePath: /usr/bin/wxbanker
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/wxbanker
PythonArgs: ['/usr/bin/wxbanker']
SourcePackage: wxbanker
ThirdParty: True
Title: wxbanker crashed with TypeError in GetBalance()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

David D Lowe (flimm) wrote :
visibility: private → public
Michael Rooney (mrooney) wrote :

That's very weird! Can you think of anything odd that happened, or you just created an account, restarted wxBanker, and this occurred? The merge proposal might fix it but seems like a work-around for the actual issue which is that something is passing in None as the balance somehow.

I'm confused as to how that row column could not have an entry, 'balance' is 'not null default 0.0' so it shouldn't be possible to be null. You weren't querying or manipulating the database in any other way, by chance?

David D Lowe (flimm) wrote :

No I wasn't. I was using different versions of wxbanker, one after each other. I tried quite hard to reproduce this bug with a fresh bank.db but couldn't.

David D Lowe (flimm) on 2010-12-24
Changed in wxbanker:
status: New → In Progress
assignee: nobody → David D Lowe (flimm)
Michael Rooney (mrooney) wrote :

Good luck, let me know if you need any advice or tips!

Michael Rooney (mrooney) on 2011-10-19
Changed in wxbanker:
status: In Progress → Fix Committed
importance: Undecided → Low
milestone: none → 0.9
Michael Rooney (mrooney) on 2013-11-20
Changed in wxbanker:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers