Frequent Crashes with 2.0, Impossible to Upload to Mobile Device, Cannot Install Gogorender plugin

179 views
Skip to first unread message

john

unread,
Jun 29, 2012, 11:10:04 AM6/29/12
to mnemosyne-...@googlegroups.com
Whenever I go through more than 15 to 20 consecutive cards and mark them with a value of 3 or higher the program freeezes/crashes. 

I also use this program for language study in Farsi/Persian so in transferring cards to my android the plugin Gogorender is essential to being able to use the cards.

With that every time I try to export cards an error appears preventing me from transferring the cards to my android.

I uploaded a picture of the error with exporting to my android.  

Any input on how to use either of those plugins would be greatly appreciated.


Mnemosyne Error.png

Peter Bienstman

unread,
Jun 29, 2012, 11:15:05 AM6/29/12
to mnemosyne-...@googlegroups.com
Quoting john <sol...@gmail.com>:

> Whenever I go through more than 15 to 20 consecutive cards and mark them
> with a value of 3 or higher the program freeezes/crashes.

This has been reported before, but I cannot reproduce this on my
machine. Hopefully, a new version of Qt, the library which Mnemosyne
uses, will fix this.

> I also use this program for language study in Farsi/Persian so
> in transferring cards to my android the plugin Gogorender is essential to
> being able to use the cards.
>
> With that every time I try to export cards an error appears preventing me
> from transferring the cards to my android.
>
> I uploaded a picture of the error with exporting to my android.
>
> Any input on how to use either of those plugins would be greatly
> appreciated.

I'll leave that to Tim to comment on.

Peter


Peter Bienstman

unread,
Jun 29, 2012, 3:00:36 PM6/29/12
to mnemosyne-...@googlegroups.com

On Friday, 29 June 2012 17:15:05 UTC+2, Peter Bienstman wrote:

This has been reported before, but I cannot reproduce this on my  
machine. Hopefully, a new version of Qt, the library which Mnemosyne  
uses, will fix this.

What do you know, there's been a new PyQt release this week!

I've made a new development release with the updated PyQt, hopefully this fixes the issues:


Peter

Timothy Bourke

unread,
Jun 29, 2012, 5:06:15 PM6/29/12
to mnemosyne-...@googlegroups.com
On Jun 29 at 17:15 +0200, Peter Bienstman wrote:
> Quoting john <sol...@gmail.com>:
>
>
> >I also use this program for language study in Farsi/Persian so
> >in transferring cards to my android the plugin Gogorender is essential to
> >being able to use the cards.
> >
> >With that every time I try to export cards an error appears preventing me
> >from transferring the cards to my android.
> >
> >I uploaded a picture of the error with exporting to my android.
> >
> >Any input on how to use either of those plugins would be greatly
> >appreciated.
>
> I'll leave that to Tim to comment on.

To summarise, it seems that this line:
local = datetime.date.fromtimestamp(getattr(card, 'last_rep')).timetuple()

Fails under Windows with the error:
ValueError: timestamp out of range for platform localtime() function

It seems to me that last_rep should not be too big (> 2038) unless
there is a problem with one or more cards in the database. Negative
numbers don't cause an error under Linux, they are treated as zero.
For instance:

import datetime
datetime.date.fromtimestamp(-1)

gives:

datetime.date(1970, 1, 1)

I wonder whether this works similarly under Windows? Peter, would you
be able to test this please ?

I can easily add a check and patch to Mnemogogo, but I don't like to
mess with the card statistics without knowing why this fails.

John, would you mind zipping up your .mnemosyne directory and emailing
it to me privately (t...@tbrk.org)? Please be aware that I would then
have access to your card data. If you prefer not to do this, I will
find another way to troubleshoot this problem.

Tim.

signature.asc

Peter Bienstman

unread,
Jun 30, 2012, 1:09:33 AM6/30/12
to mnemosyne-...@googlegroups.com
Quoting "Timothy Bourke" <t...@tbrk.org>:

> I wonder whether this works similarly under Windows? Peter, would you
> be able to test this please ?

That indeed gives the ValueError: timestamp out of range reported
here. So, Windows is more picky than Linux here.

Peter


Timothy Bourke

unread,
Jun 30, 2012, 7:16:37 AM6/30/12
to mnemosyne-...@googlegroups.com
Thanks Peter, that's very helpful. What's the recommended way to
upgrade plugins? ;-) Uninstall and then Install?

@John: I have uploaded a new release (2.0.1) that should fix this
problem: http://www.mnemosyne-proj.org/plugins/mnemogogo

Tim.

signature.asc

Murray James Morrison

unread,
Jun 30, 2012, 7:44:28 AM6/30/12
to mnemosyne-...@googlegroups.com
Hi Timothy,

I'm running the new version of Mnemododo and am getting an error uploading to my Android device (see image attached)... I get the error message and the cards don't upload to the phone. I'm running Windows 7. Plugin version is 2.01--the one you just posted.

After a long hiatus during the 2.0 beta, I'm excited to start using Mnemododo again!

--murrayjames
--
=================
Murray James Morrison
Saxophonist, Composer, Music Educator

Tel.: +86-18608001531 (China)
mnemododo-error.png

Timothy Bourke

unread,
Jun 30, 2012, 8:56:46 AM6/30/12
to mnemosyne-...@googlegroups.com
On Jun 30 at 19:44 +0800, Murray James Morrison wrote:
> I'm running the new version of Mnemododo and am getting an error uploading to
> my Android device (see image attached)... I get the error message and the cards
> don't upload to the phone. I'm running Windows 7. Plugin version is 2.01--the
> one you just posted.

Thanks Murray. The problem is fixed in Mnemogogo 2.0.2:
http://mnemosyne-proj.org/plugins/mnemogogo

Tim.

signature.asc

john

unread,
Jun 30, 2012, 6:19:59 PM6/30/12
to mnemosyne-...@googlegroups.com
I loaded the patch and it is working fine now, but I'm still not sure how to install the gogorender plugin or if it is possible.

Timothy Bourke

unread,
Jun 30, 2012, 7:17:00 PM6/30/12
to mnemosyne-...@googlegroups.com
On Jun 30 at 15:19 -0700, john wrote:
> I loaded the patch and it is working fine now, but I'm still not sure how to
> install the gogorender plugin or if it is possible.

Excellent. The gogorender plugin has also been upgraded for 2.x:
http://mnemosyne-proj.org/plugins/gogorender

Much of it has been completely rewritten. It has better support for
right-to-left writing systems, but likely also some rough edges.
Please report any rendering problems (with example source text and
rendering, if possible).

Tim.

signature.asc

Murray James Morrison

unread,
Jun 30, 2012, 8:10:35 PM6/30/12
to mnemosyne-...@googlegroups.com
Tim,

Does the current version of Mnemododo support FastFormat? I transferred my cards to my Android phone, but ``, ## show up as is, without applying any formatting changes.

My pictures are also not transferring. After sending my cards to the phone, the phone's cards/img directory has a file called .nomedia and nothing else.

--murrayjames

john

unread,
Jun 30, 2012, 8:54:47 PM6/30/12
to mnemosyne-...@googlegroups.com
Good news is that the gogorender does changes those characters to pictures,, but the bad news is that they are not displayed on the mobile application. All that I see are small blue boxes with a ? where there should be a symbol. This also seems to be true for pictures in general. All latin based txt transferred fine but any pictures associated with the cards were not.

john

unread,
Jun 30, 2012, 9:22:26 PM6/30/12
to mnemosyne-...@googlegroups.com
Also with that I noticed that when the mnemogogo and gogorender plugins are not enabled I can go through more cards before the program freezes again, but there are still crashes. I'm thinking perhaps because of the speed of which I go through the cards.

Timothy Bourke

unread,
Jun 30, 2012, 9:32:37 PM6/30/12
to mnemosyne-...@googlegroups.com
On Jul 1 at 08:10 +0800, Murray James Morrison wrote:
> Does the current version of Mnemododo support FastFormat? I transferred my
> cards to my Android phone, but ``, ## show up as is, without applying any
> formatting changes.

Yes, the FastFormat plugin has also been upgraded for 2.x:
http://mnemosyne-proj.org/plugins/fast-format

> My pictures are also not transferring. After sending my cards to the phone, the
> phone's cards/img directory has a file called .nomedia and nothing else.

Ok. That's odd. John seems to have the same problem, but images and
sounds work for me. It may be another windows compatibility problem.
I'll look into this.

Tim.

signature.asc

Timothy Bourke

unread,
Jun 30, 2012, 9:36:49 PM6/30/12
to mnemosyne-...@googlegroups.com
On Jun 30 at 17:54 -0700, john wrote:
> Good news is that the gogorender does changes those characters to pictures,,
> but the bad news is that they are not displayed on the mobile application. All
> that I see are small blue boxes with a ? where there should be a symbol. This
> also seems to be true for pictures in general. All latin based txt transferred
> fine but any pictures associated with the cards were not.

Murrayjames also seems to have a problem with mnemogogo image export.
This problem does not occur in my tests, so it may be another windows
compatibility problem. I'm sorry that you are hitting all of them.

Would you mind privately sending me a zipped copy of the directory
exported by Mnemogogo, please?

Tim.

signature.asc

Murray James Morrison

unread,
Jun 30, 2012, 9:43:13 PM6/30/12
to mnemosyne-...@googlegroups.com
Yes, the FastFormat plugin has also been upgraded for 2.x:
   http://mnemosyne-proj.org/plugins/fast-format

Badass. Fixed in 5 min. Thanks Tim! 

Peter Bienstman

unread,
Jul 1, 2012, 1:31:07 AM7/1/12
to mnemosyne-...@googlegroups.com
Quoting "Timothy Bourke" <t...@tbrk.org>:

> Thanks Peter, that's very helpful. What's the recommended way to
> upgrade plugins? ;-) Uninstall and then Install?

Yes, that's the best way to make sure any lingering files from a
previous version are removed.

Peter



Timothy Bourke

unread,
Jul 1, 2012, 8:04:22 AM7/1/12
to mnemosyne-...@googlegroups.com
On Jun 30 at 17:54 -0700, john wrote:
> Good news is that the gogorender does changes those characters to pictures,,
> but the bad news is that they are not displayed on the mobile application. All
> that I see are small blue boxes with a ? where there should be a symbol. This
> also seems to be true for pictures in general. All latin based txt transferred
> fine but any pictures associated with the cards were not.

It was a problem with path handling under Windows. Fixed in 2.0.3:
http://www.mnemosyne-proj.org/plugins/mnemogogo

Thank you for your patience,

Tim.

signature.asc

john

unread,
Jul 1, 2012, 12:30:06 PM7/1/12
to mnemosyne-...@googlegroups.com
Thanks for the fix now all non latin characters are exported as pictures but for some reason they are not put in the order that they were written. i.e. If this sentence was meant to be read left to right it would be displayed: "displayed be would it right to left read be to meant was sentence this If". Also with that, all pictures that were previously insterted are displayed as question marks on the pc. To alleviate this I have to go in and change them one by one by searching for the file name in the card and reinserting it. I could not see a difference in the file name that was displaying a blue question mark and the one I reinserted. Any suggestions or anything that you can do for this would be greatly appreciated.

Timothy Bourke

unread,
Jul 2, 2012, 6:06:14 AM7/2/12
to mnemosyne-...@googlegroups.com

On Jul 1 at 09:30 -0700, john wrote:
> Thanks for the fix now all non latin characters are exported as pictures but
> for some reason they are not put in the order that they were written. i.e. If
> this sentence was meant to be read left to right it would be displayed:
> "displayed be would it right to left read be to meant was sentence this If".

Could you please try opening the configuration dialog boxes, choosing
the one for Gogorender, and then entering the tags of the cards with
right-to-left text into the option:
"Render entire lines right-to-left for these tags"

There are in fact two algorithms implemented inside Gogorender. One
renders individual words or symbols which works well for left-to-right
scripts: the number of renderings is minimised, and wrapping is left
to the client. The other works better for right-to-left languages, it
renders whole paragraphs of text.

Peter (Bienstman) sent me some code for automatically choosing one
algorithm or the other, but I haven't yet had the time to test it
properly.

> Also with that, all pictures that were previously insterted are displayed as
> question marks on the pc. To alleviate this I have to go in and change them one
> by one by searching for the file name in the card and reinserting it. I could
> not see a difference in the file name that was displaying a blue question mark
> and the one I reinserted. Any suggestions or anything that you can do for this
> would be greatly appreciated.

That is very odd. Neither Mnemododo or Gogorender change the text of
cards or stored images at all. If you disable both plugins are your
images displayed properly? I cannot replicate this problem on my
windows test machine.

Tim.

signature.asc

john

unread,
Jul 3, 2012, 7:41:48 PM7/3/12
to mnemosyne-...@googlegroups.com
I did some experimenting with the text and tags. What I discovered was that if the tag was in a right-left txt, even if I configured gogorender to render all txt right to left with that tag, the sentence was still displayed left to right on my mobile device. When I changed all the tags associated with the right to left language to English gogorender worked properly in rendering the txt on the mobile device. Concerning the rendering of images, this issue was not resolved by turning off gogorender and mnemogogo. My best guess is that I saved the .db file in one location and then uninstalled and re-installed mnemosyne. After I did that I started having the picture display problem with all of my cards.


On Monday, July 2, 2012 3:06:14 AM UTC-7, Timothy Bourke wrote:

On Jul  1 at 09:30 -0700, john wrote:
> Thanks for the fix now all non latin characters are exported as pictures but
> for some reason they are not put in the order that they were written. i.e. If
> this sentence was meant to be read left to right it would be displayed:
> "displayed be would it right to left read be to meant was sentence this If".

Could you please try opening the configuration dialog boxes, choosing
the one for Gogorender, and then entering the tags of the cards wi

john

unread,
Jul 3, 2012, 7:48:58 PM7/3/12
to mnemosyne-...@googlegroups.com
With that if I reinsert the file path I get a notification of a missing file, but the files are still in the same place as from where they were taken from.

cjah...@gmail.com

unread,
Jul 7, 2012, 7:55:04 AM7/7/12
to mnemosyne-...@googlegroups.com
The update does not fix the issue on my machine (Windows XP, SP3).

-Christoph.

Em sexta-feira, 29 de junho de 2012 16h00min36s UTC-3, Peter Bienstman escreveu:
> On Friday, 29 June 2012 17:15:05 UTC+2, Peter Bienstman wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
> This has been reported before, but I cannot reproduce this on my  
>
> machine. Hopefully, a new version of Qt, the library which Mnemosyne  
>
> uses, will fix this.
>
> </blockquote>
>
> </div>
> What do you know, there&#39;s been a new PyQt release this week!
> </div>
>
> </div>
> I&#39;ve made a new development release with the updated PyQt, hopefully this fixes the issues:</div>
>
> </div>
> <a href="http://users.ugent.be/~pbienst/pub/mnemosyne-20120629-setup.exe" target="_blank">http://users.ugent.be/~<WBR>pbienst/pub/mnemosyne-<WBR>20120629-setup.exe</a></div>
>
> </div>
> Peter</div>

Chris

unread,
Jul 7, 2012, 4:54:03 PM7/7/12
to mnemosyne-...@googlegroups.com
I used the update too, and the program still crashes all the time (i.e., nearly too frequently to make using the program worthwhile) while trying to learn new cards.  I love this program with all my heart and have learned so much using it, for years now!  I don't know how I would learn (and retain) all the things I study without it!  I hope there is eventually a fix. :'(

  Thank you for your time and consideration, Chris S.

Chris

unread,
Jul 7, 2012, 5:03:31 PM7/7/12
to mnemosyne-...@googlegroups.com
Two crashes now, in the seven minutes since I posted above. If it helps, I am running Windows 7, and never had a problem on Mnemosyne 1.

   - Thanks again for your time and consideration, Chris S.

Jeff Ford

unread,
Jul 7, 2012, 7:44:45 PM7/7/12
to mnemosyne-...@googlegroups.com


I'm still experiencing the same thing on my pc running windows 7 I can't go more than a few cards before experiencing a crash.

On Jul 7, 2012 2:03 PM, "Chris" <the.whis...@gmail.com> wrote:
Two crashes now, in the seven minutes since I posted above. If it helps, I am running Windows 7, and never had a problem on Mnemosyne 1.

   - Thanks again for your time and consideration, Chris S.

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mnemosyne-proj-users/-/NN7Jqd9eZm0J.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To unsubscribe from this group, send email to mnemosyne-proj-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.

Chris

unread,
Jul 8, 2012, 4:26:05 PM7/8/12
to mnemosyne-...@googlegroups.com
I think I've discovered, each time I use the program it crashes quicker and quicker.  For a while it was every second card upon opening the program.  But reinstall it and it temporarily fixes it.  So you just have to reinstall the program every couple uses. I would pay for this program if this problem could be fixed; it is my favorite piece of software ever :) + :(

P.S. Why has the export function disappeared on the new version, especially the export text version? 

On Saturday, July 7, 2012 4:44:45 PM UTC-7, john wrote:


I'm still experiencing the same thing on my pc running windows 7 I can't go more than a few cards before experiencing a crash.

On Jul 7, 2012 2:03 PM, "Chris" <the.whis...@gmail.com> wrote:
Two crashes now, in the seven minutes since I posted above. If it helps, I am running Windows 7, and never had a problem on Mnemosyne 1.

   - Thanks again for your time and consideration, Chris S.

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mnemosyne-proj-users/-/NN7Jqd9eZm0J.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To unsubscribe from this group, send email to mnemosyne-proj-users+unsub...@googlegroups.com.

Chris

unread,
Jul 8, 2012, 4:41:16 PM7/8/12
to mnemosyne-...@googlegroups.com
The last re-install got me just 20 cards before freezing.  I'd like to offer a ransom for the solution to this problem, but I have posted another topic on the main board if anyone can help me, regarding where to find a Mnemosyne version one and how to get my database back into it, without losing all of my learning information. 

   - Thanks again, Chris S.

Peter Bienstman

unread,
Jul 9, 2012, 7:09:38 AM7/9/12
to mnemosyne-...@googlegroups.com


On Sunday, 8 July 2012 22:26:05 UTC+2, Chris wrote:

P.S. Why has the export function disappeared on the new version, especially the export text version? 

It's the next item on my todo list, right after trying to fix the crashes :-)

Peter 

john

unread,
Jul 9, 2012, 10:12:31 PM7/9/12
to mnemosyne-...@googlegroups.com
This might just be me having not read something somewhere about export card data to a mobile device, but as of now I am unable to export all of my cards to my mobile at once. There seems to be some undefined limit of cards I can export. If I try to send new cards under the same tag or add a new tag mnemosyne does not export the new cards or even all of the old cards. It picks certain tags and usually "older" cards and exports them to my mobile. Also, immediately after exporting cards I open the mnemododo app on my mobile and I get an error message saying: "The application Mnemododo (process org.tbrk.mnemododo) has stopped unexpectedly. Please try again." I reopen the app and it works fine but there are many cards and tags missing. Is there a limit to the size of the file I can transfer or the number of cards? I currently have 419 active cards save under the default directory which is 653 kb.

Timothy Bourke

unread,
Aug 3, 2012, 7:59:53 AM8/3/12
to mnemosyne-...@googlegroups.com
Hello,

Sorry for the long delay in responding.

On Jul 9 at 19:12 -0700, john wrote:
> This might just be me having not read something somewhere about export card
> data to a mobile device, but as of now I am unable to export all of my cards to
> my mobile at once. There seems to be some undefined limit of cards I can
> export. If I try to send new cards under the same tag or add a new tag
> mnemosyne does not export the new cards or even all of the old cards. It picks
> certain tags and usually "older" cards and exports them to my mobile. Also,
> immediately after exporting cards I open the mnemododo app on my mobile and I
> get an error message saying: "The application Mnemododo (process
> org.tbrk.mnemododo) has stopped unexpectedly. Please try again." I reopen the
> app and it works fine but there are many cards and tags missing. Is there a
> limit to the size of the file I can transfer or the number of cards? I
> currently have 419 active cards save under the default directory which is 653
> kb.

I have just uploaded a new version of the Mnemogogo plugin (2.0.4):
http://mnemosyne-proj.org/plugins/mnemogogo

That should better shuffle new cards before exporting a limited number
of them. This should ensure a better mix of tags in the new cards you
see in Mnemododo.

Regarding the Mnemododo crashes, does it crash after your use another
application, after you connect your phone to your computer, or after a
fresh export from Mnemogogo?

There should not be any cards or tags missing after a crash. Only in
very rare occasions have I seen the Mnemododo files become corrupt,
maybe three times in the last two years, and Mnemododo has always
detected and reported the corruption on startup. Are the numbers of
scheduled cards reasonable? Is it that card text is missing or
changed?

The limit on cards depends on the memory capacity of your phone. There
is a setting "Loading Cards" that allows you to reduce the memory
usage, at the cost of more regular reloads. This may be useful if your
cards contain a lot of text (not counting graphics or sounds), or your
phone does not have much free memory.

But, I would not expect you to experience any problems with 419 active
cards. My weekly export contains about 1400 cards, my phone is quite
old, and I have never experienced an out of memory error.

Tim.

signature.asc

Timothy Bourke

unread,
Aug 3, 2012, 8:03:21 AM8/3/12
to mnemosyne-...@googlegroups.com
On Jul 3 at 16:41 -0700, john wrote:
> I did some experimenting with the text and tags. What I discovered was that if
> the tag was in a right-left txt, even if I configured gogorender to render all
> txt right to left with that tag, the sentence was still displayed left to right
> on my mobile device. When I changed all the tags associated with the right to
> left language to English gogorender worked properly in rendering the txt on the

This suggests that, for one reason or another, gogorender is not
properly rendering those cards. There is a gogorender option "Render
in Mnemosyne (for testing)", which will enable rendering within
Mnemosyne (i.e., not just on export with Mnemogogo). Could you please
try it and confirm that the sentences are indeed being rendered as
graphics and not just as text? This can be done by trying to select
and copy them using your mouse; either you will be able to select and
copy individual words, or you will have to select and copy the whole
image.

> mobile device. Concerning the rendering of images, this issue was not resolved
> by turning off gogorender and mnemogogo. My best guess is that I saved the .db
> file in one location and then uninstalled and re-installed mnemosyne. After I
> did that I started having the picture display problem with all of my cards.

Have you been able to resolve this problem? It does not sound like
something caused by Mnemogogo or gogorender (which never change the
card text or images within Mnemosyne).

Tim.

signature.asc

Timothy Bourke

unread,
Aug 3, 2012, 7:06:57 PM8/3/12
to mnemosyne-...@googlegroups.com
On Aug 3 at 21:59 +1000, Timothy Bourke wrote:
> There should not be any cards or tags missing after a crash. Only in
> very rare occasions have I seen the Mnemododo files become corrupt,
> maybe three times in the last two years, and Mnemododo has always
> detected and reported the corruption on startup. Are the numbers of
> scheduled cards reasonable? Is it that card text is missing or
> changed?

For the record, I should add that these file corruptions were always
caused by phone crashes where Mnemododo was not given the time to
finish writing to the SDCARD. And, in these cases, it was always
possible to recover most review statistics by copying STATS.BKP over
STATS.CSV.

Tim.

signature.asc
Reply all
Reply to author
Forward
0 new messages