Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Crash upon save during auto-updates

#110
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 1.6.9

Traceback (most recent call last):
 File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 245, in saveToFile_
 File "moneyguru/document.pyc", line 1075, in save_to_xml
 File "xml/etree/ElementTree.pyc", line 663, in write
 File "xml/etree/ElementTree.pyc", line 681, in _write
 File "xml/etree/ElementTree.pyc", line 751, in _encode
LookupError: unknown encoding: utf-8

If the user has unsaved work during auto-updates, the save will only happen after the update has taken place and then Python is all confused and doesn't know where to find his modules anymore.

A solution to that seems to use SUUpdater's - (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update delegate method to close all document before the update takes place.

Reported by Virgil Dupras · January 14th, 2010 @ 09:02 AM

State: fixed
Milestone: v1.7.1
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    January 14th, 2010 @ 09:52 AM

  2. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    (from [00ae782e7197]) [#110 Crash upon save during auto-updates state:fixed] Fixed a bug that could cause unsaved changes to be lost during auto-update. http://bitbucket.org/hsoft/moneyguru/changeset/00ae782e7197/

    January 14th, 2010 @ 10:11 AM

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.