#274 ✓fixed
Virgil Dupras

Invalid date causing crash on save

Reported by Virgil Dupras | August 1st, 2011 @ 05:18 PM

Application Identifier: com.hardcoded_software.moneyguru
Application Version: 2.3.9

Traceback (most recent call last):
 File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 213, in saveToFile_
 File "core/document.pyc", line 720, in save_to_xml
 File "core/saver/native.pyc", line 73, in save
 File "core/saver/native.pyc", line 35, in write_transaction_element
 File "core/saver/native.pyc", line 17, in date2str
ValueError: year=211 is before 1000; the datetime strftime() methods require year >= 1000

It seems like the date widget mistakenly allowed "211" as a valid year, ultimately causing a crash on save.

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket