Broken account

Bug #625607 reported by spencerrecneps
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wxBanker
Incomplete
Medium
Michael Rooney

Bug Description

I opened wxBanker today and one of my accounts does not respond to anything. Clicking on the account just shows the transactions from the previously viewed account (ie. the screen doesn't change), but the balance is still showing in the account list. Here is the terminal output that results when I click on the broken account:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/wxbanker/accountlistctrl.py", line 567, in onAccountClick
    Publisher.sendMessage("user.account changed", account)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 811, in sendMessage
    self.__topicTree.sendMessage(aTopic, message, onTopicNeverCreated)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 498, in sendMessage
    deliveryCount += node.sendMessage(message)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 336, in sendMessage
    listener(message)
  File "/usr/lib/python2.6/dist-packages/wxbanker/accountlistctrl.py", line 459, in onAccountChanged
    self.SelectItemByAccount(account)
  File "/usr/lib/python2.6/dist-packages/wxbanker/accountlistctrl.py", line 247, in SelectItemByAccount
    return self.SelectItemById(account.ID)
  File "/usr/lib/python2.6/dist-packages/wxbanker/accountlistctrl.py", line 239, in SelectItemById
    self.SelectItem(i)
  File "/usr/lib/python2.6/dist-packages/wxbanker/accountlistctrl.py", line 229, in SelectItem
    Publisher.sendMessage("view.account changed", account)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 811, in sendMessage
    self.__topicTree.sendMessage(aTopic, message, onTopicNeverCreated)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 498, in sendMessage
    deliveryCount += node.sendMessage(message)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 336, in sendMessage
    listener(message)
  File "/usr/lib/python2.6/dist-packages/wxbanker/newtransactionctrl.py", line 338, in onAccountChanged
    if account and not account.Transactions:
  File "/usr/lib/python2.6/dist-packages/wxbanker/bankobjects/account.py", line 108, in GetTransactions
    self._Transactions = self.Store.getTransactionsFrom(self)
  File "/usr/lib/python2.6/dist-packages/wxbanker/persistentstore.py", line 420, in getTransactionsFrom
    t = self.result2transaction(result, account, recurringCache=recurringCache)
  File "/usr/lib/python2.6/dist-packages/wxbanker/persistentstore.py", line 393, in result2transaction
    t.RecurringParent = recurringCache[recurringId]
KeyError: 2

I can still conduct transactions in the account and the balance is updated after each transaction, but it's impossible to see a transaction list and I'm unable to delete transfers to/from the account. Any thoughts on how to resolve this and get my account back?

Revision history for this message
Michael Rooney (mrooney) wrote :

I will take a look at this this weekend. Is there anything relevant that you can think of recently related to recurring transactions? Did you recently create or delete one perhaps? Hopefully I can recreate the bug.

Changed in wxbanker:
assignee: nobody → Michael Rooney (mrooney)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
spencerrecneps (spencerjgardner) wrote :

In fact, I had just removed a couple of recurring transactions and added a couple of new ones. None of the recurring transactions were associated with this account, though. I can send you my transaction database if you'd like to look it over.

Revision history for this message
spencerrecneps (spencerjgardner) wrote :

I thought about it a little more and realize that I had also transferred money from another account into the broken one before it was broken. Now that I've gone back to look at both accounts, they are both broken. The transfer between the two accounts was not a recurring transaction, but that appears to be the point at which things broke. I can't remember if this occurred before or after making changes to the recurring transactions.

The recurring transactions WERE connected to this second broken account.

Revision history for this message
Michael Rooney (mrooney) wrote :

Which version of wxBanker are you using? If it is 0.7, it looks like this might be https://bugs.launchpad.net/wxbanker/+bug/605591 which was fixed so I'd recommend getting the latest 0.8.1 from the PPA which should fix this for you if so. Let me know if you are using 0.8 or newer though, and I can check it out.

Changed in wxbanker:
status: In Progress → Incomplete
Revision history for this message
spencerrecneps (spencerjgardner) wrote :

I'm running 0.8.1. It looks like it could be a similar issue, but I don't think I've deleted any accounts since I started using it.

Revision history for this message
Fabien Basmaison (fabien.basmaison) wrote :

Having the same issue here.

I don’t really have any clue about when, what or why since I’ve been having it for quite some weeks now and couldn’t really take any time to dig into it.

Here’s the log attached though in case that would help.
Just to mention: I launched wxbanker with "LC_MONETARY=zh_CN.utf8 ./wxbanker", even though the same bug occurred with default installation.

For information, I can create another account (that I will call “fake”), do the operations I want in it and move them into the buged account without problem: the operations are made in the bugged account and everything else seems to work. It’s just that the account can’t be reached, as for the “All accounts” account.

Any more idea? :)

Revision history for this message
Fabien Basmaison (fabien.basmaison) wrote :

Hi!

Just wanted to know if there’s been any progress on this bug, or on wxBanker in general. :)

Revision history for this message
Michael Rooney (mrooney) wrote :

Hi Fabien! I haven't had time to look at wxBanker from a development perspective recently alas, but maybe some day in the future. Sorry :[

Revision history for this message
Fabien Basmaison (fabien.basmaison) wrote :

It’s understood, days are only 24 hours long.

Maybe you might consider posting on whatever list or newsgroup to ask for people interested in working on the project though. It’s really nice to see an app that is just simple to use, without thousands of useless features.

Good luck for your other projects!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.