Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugzilla: System.FormatException in AppDelegate.cs:87 #47

Open
trepidity opened this issue Apr 21, 2015 · 1 comment
Open

Bugzilla: System.FormatException in AppDelegate.cs:87 #47

trepidity opened this issue Apr 21, 2015 · 1 comment
Assignees
Labels

Comments

@trepidity
Copy link
Member

Mike Cherry [reporter] 2015-04-21 14:30:30 UTC
Running a freshly compiled version from the current git repository as of April 21st, 2015

Application was crashing and Console was showing:

4/21/15 09:01:58.208 com.apple.xpc.launchd[1]: (org.gnome.Tomboy.118460[80050]) Service exited with abnormal code: 1

This happens at line 87 in AppDelegate.cs:

NoteEngine = new Engine (noteStorage);

The issue occurred while trying to load 500+ GNote files from an old set of notes on a linux box. I was able to track it down to the following xml fields being blank in 19 of the .note files:

<create-date></create-date>
<last-change-date></last-change-date>
<last-metadata-change-date></last-metadata-change-date>

After some shell trickery to give them all the same date value (I used the value "2009-06-30T19:44:30.000000Z" from one of the working notes) everything works as expected.

Suggested fixes/improvements:

  • Check for blank values in create-date, last-change-date, and last-metadata-change-date
  • Use file creation date or other generated date to insure values are no longer blank

https://bugzilla.gnome.org/show_bug.cgi?id=748250

@trepidity trepidity added the bug label Apr 21, 2015
@rashoodkhan
Copy link
Member

I will look in to the issue this week, hopefully the fix should be pretty straight forward. @trepidity - I also fixed some stability bugs, please try out the new version and see if you are able to crash the application ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants