Python error on mobile app

19 views
Skip to first unread message

Jan Egil Hagen

unread,
Feb 8, 2016, 1:07:42 PM2/8/16
to mnemosyne-...@googlegroups.com
Once in a while I have trouble syncing the mobile app. The app crashes
and gives me the attached stack trace. Hope it will be useful for
debugging.


Thank you.
Screenshot_20160208-185158.png
Screenshot_20160208-185210.png
Screenshot_20160208-185215.png

Peter Bienstman

unread,
Feb 9, 2016, 12:40:58 AM2/9/16
to mnemosyne-...@googlegroups.com
Thanks! This is with latest Android and desktop versions?

Peter

Jan Egil Hagen

unread,
Feb 9, 2016, 7:40:37 AM2/9/16
to mnemosyne-...@googlegroups.com
I'm using mnemosyne 2.3.5 on the desktop. I can't find a version
number on the mobile app, and I honestly don't know if I installed it
before or just after the last time it was updated (December 7, 2015),
but I assume the mobile app will update to the latest version
automatically. It it is updated automatically, then I am running the
latest version on mobile too..
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mnemosyne-proj-u...@googlegroups.com.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/0CB2A32B-A4BD-4157-90BA-C012BD443AEF%40UGent.be.
> For more options, visit https://groups.google.com/d/optout.

Peter Bienstman

unread,
Feb 10, 2016, 5:29:49 AM2/10/16
to mnemosyne-...@googlegroups.com
Hi,

This is related to non-ascii characters in media filenames. I'll see if I can fix this, but in the meanwhile, the workaround is obvious :-)

Cheers,

Peter
> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mnemosyne-proj-u...@googlegroups.com.
> To post to this group, send email to mnemosyne-proj-
> us...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-
> users/CAPkWX_DYmdrzKDvm%3DNNQDENUbnbnv4bhTR223T6QuvySLoPe6
> A%40mail.gmail.com.

Jan Egil Hagen

unread,
Feb 10, 2016, 1:12:59 PM2/10/16
to mnemosyne-...@googlegroups.com
I hope it is fixed, and I'm glad that the solution was not to change
the file names by hand, because that would take a while

default.db_media$ find . | grep [æøå] | wc -l
169

I did some more testing to figure out what happens. The problem
happens when I add a media file with a non-ascii letter (for example
ø) and then sync it into an already existing database on my phone.

As the mobile app crashes, the desktop app hangs with "applying log
entries" running, and I have to kill the desktop app and restart it.
Thankfully no permanent damage seems to be done.

A whole database sync works fine with no crashes. I guess the
solution is to stop adding new media with æøå for the time being.

Anyway - thanks for your great work!
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/bdf8da00ef3a43aba3818140496cab25%40xmail101.UGent.be.
> For more options, visit https://groups.google.com/d/optout.



--
World works; done by its invalids
Reply all
Reply to author
Forward
0 new messages