2.3 test release

637 views
Skip to first unread message

Peter Bienstman

unread,
Dec 12, 2013, 3:53:17 PM12/12/13
to mnemosyne-...@googlegroups.com

A preliminary version of 2.3 for people to play with is now available:

http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-pre-setup.exe
http://users.ugent.be/~pbienst/pub/Mnemosyne%20Android.zip

(Note the Android version requires also the 2.3 desktop version)

Changelog:

(Note that for Windows users we recommend uninstalling the previous version
before installing the new one.)

The sync protocol has changed in this version, so make sure you update both
the client and the server at the same time.

-A quick-and-dirty Android client is available, where you can do reviews in
your mobile browser using a webserver which runs on your Android device.
This client has full support for the syncing protocol.
-The functionality of mnemosyne-webserver has now been merged into the main
program and can be activated through 'Configure Mnemosyne - servers'.
-Time to create backups has decreased, in some situations even by a factor
of 2 or more, speeding up syncing and program exit.
-Sped up all editing operations in the card browser.
-The name of the currently active saved set of cards is now listed in title
bar (requested by Silverbear).
-Added new statistic: number of new cards learned per day.
-Also sync relevant settings (e.g. fonts, colours, ...) during the initial
sync.
-Improve the timeout handling of the sync protocol.
-Fix erroneous 'Wrong username or password' error.
-Keep the sort order in the card browser when editing cards (reported by
Gnome and Tristan).
-Added command line options --sync-server and --web-server which starts the
sync and the web server in headless mode (i.e. without a GUI) (useful to run
e.g. on a NAS server).
-Fix more errors coming from loading config files.
-Rework error handling when trying to load a database which no longer exists
in its previous location.
-When editing a card through the browser, make sure the correct set of tags is
displayed if sister cards have different tags (requested by Scott Youngman).
-Instruct people on the correct way to deal with '*.cards' files if they try
to open it as a separate database (Kensor0).
-Make it clearer what 'Find duplicates' does.
-Various cosmetic fixes when importing *.cards files (reported by Ansgar
Bohmann).
-Fix tag tree sometimes not updating correctly if the user adds a new tag.
-People writing e.g. Javascript card and needing access to the full path of
the media directory can now use db_media:///foo.png (requested by Gnome).
-Flash files are now synced as well (reported by heldtfisken).
-When editing a card where different sister cards have different tags, ask if
the tags should be applied to the current card or to all sister cards.
-Fix Windows crash when using the card browser with cards imported from
Supermemo (reported by Piotr).
-Make Mnemosyne 1.x import more robust (reported by Jack Thro).
-Don't allow saving the database to a network drive under Windows to prevent
corruption (reported by Brendan Sinclair).
-Fix sync error that could occur when adding and immediately deleting multiple
sister cards from the card browser.
-Fix latex / cloze interaction corner case (reported by Daniele Parisi).
-Make sure latex images are always in sync when updating text.
-If adding an extra tag when importing a 'cards' file, don't keep the tag
'Untagged' (patch by crcmail0). If you were affected by this issue before,
'compact database' will solve this.

Message has been deleted

Gnome

unread,
Dec 12, 2013, 4:29:04 PM12/12/13
to mnemosyne-...@googlegroups.com
Finally! I have been waiting for this release.

Gnome

unread,
Dec 12, 2013, 5:41:03 PM12/12/13
to mnemosyne-...@googlegroups.com
I really apprecheate the time taken to develop this, but I see the android client may have some issues. It connects to my server for syncing, but I get an error message on the client. I'm not sure if I should report these errors if a totally new version will be developed.

Also when going into settings in mnemosyne and clicking ok seems to cause mnemosyne to crash after the server is set up.

Peter Bienstman

unread,
Dec 13, 2013, 12:20:33 AM12/13/13
to mnemosyne-...@googlegroups.com
The new Android client will take some time to develop, so by all means report all the errors you can find :-)

Make sure to run the 2.3 I posted in the mail on the server too, and not some earlier version.

Peter

Chris

unread,
Dec 13, 2013, 11:59:21 AM12/13/13
to mnemosyne-...@googlegroups.com
Is there a Linux (Ubuntu) version of Mnemosyne (or a revision on Launchpad) which can be used together with the Android version?

Thanks for all your work :-)

Peter Bienstman

unread,
Dec 13, 2013, 12:24:44 PM12/13/13
to mnemosyne-...@googlegroups.com
Sure, just check out the source from the pbienst branch on Launchpad.

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/0d07b073-
> ed28-44fa-be18-33d5e4af70ec%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


Gnome

unread,
Dec 13, 2013, 12:38:25 PM12/13/13
to mnemosyne-...@googlegroups.com
I have the latest 2.3. It says "Sending mediafiles" on the server and the android client says:
Taceback (innermost last):
File "/mnt/sdcard/sl4a/scripts/openSM2sync/client.py", line 567, in get_server_media_files file_size, progress_bar=False)
File "/mnt/sdcard/sl4a/scripts/openSM2sync/partner.py", line 35, in download_binary_file = file (filname, "wb")
UnicodeEncoeError: 'ascii' codec can't encode character u'\xf8' in position 59: ordinal not in range(128)

Peter Bienstman

unread,
Dec 13, 2013, 1:01:30 PM12/13/13
to mnemosyne-...@googlegroups.com
You seem to having a media file with non-latin characters in it. I'll try to
fix this for the next release, but for now, you can work around this by
renaming the file.

Cheers,

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-proj-
> <http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-pre-setup.exe>
>
> http://users.ugent.be/~pbienst/pub/Mnemosyne%20Android.zip
> --
> 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/9129b966-efed-
> 4884-9990-20944318c9c2%40googlegroups.com.

Gnome

unread,
Dec 13, 2013, 5:32:56 PM12/13/13
to mnemosyne-...@googlegroups.com
I renamed all the files and it finished syncing. The client went into 'review mode'. The card did not display anything (it was an card with some javascript in it), so I clicked 'exit'. The script excited into SL4A. Then I did review a few cards on the server to a card without javascript. So I started the client again and I got this error message: "Error: mismached user ids. The first sync should happen on an empty database."

Peter Bienstman

unread,
Dec 14, 2013, 1:31:42 AM12/14/13
to mnemosyne-...@googlegroups.com
That's probably because of the thing that went wrong during the first
sync with the filenames. Delete your Mnemosyne directory on your
Android and sync again.

Javascript support is of course courtesy of the browser you use to
review to determine whether this actually works well.

Cheers,

Peter

Citeren Gnome <jippi...@hotmail.com>:

> I renamed all the files and it finished syncing. The client went into
> 'review mode'. The card did not display anything (it was an card with some
> javascript in it), so I clicked 'exit'. The script excited into SL4A. Then
> I did review a few cards on the server to a card without javascript. So I
> started the client again and I got this error message: "Error: mismached
> user ids. The first sync should happen on an empty database."
>
>> > f�lgende:
>> >
>> > The new Android client will take some time to develop, so by all
>> > means report all the errors you can find :-)
>> >
>> > Make sure to run the 2.3 I posted in the mail on the server too,
>> and
>> > not some earlier version.
>> >
>> > Peter
>> >
>> >
>> > Gnome <jippi...@hotmail.com <javascript:> > wrote:
>> >
>> > I really apprecheate the time taken to develop this, but
>> I
>> see
>> > the android client may have some issues. It connects to my server for
>> > syncing, but I get an error message on the client. I'm not sure if I
>> should
>> > report these errors if a totally new version will be developed.
>> >
>> > Also when going into settings in mnemosyne and clicking
>> ok
>> > seems to cause mnemosyne to crash after the server is set up.
>> >
>> >
>> > kl. 22:29:04 UTC+1 torsdag 12. desember 2013 skrev Gnome
>> > f�lgende:
>> >
>> > Finally! I have been waiting for this release.
>> >
>> > kl. 21:53:17 UTC+1 torsdag 12. desember 2013
>> skrev
>> > Peter Bienstman f�lgende:
>> > email to mnemosyne-proj-u...@googlegroups.com <javascript:>.
>>
>> > To post to this group, send email to mnemosyne-proj-
>> > us...@googlegroups.com <javascript:>.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msgid/mnemosyne-proj-users/9129b966-efed-
>> > 4884-9990-20944318c9c2%40googlegroups.com.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> 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/0bab47b8-5889-4e09-8a35-681e23beeb11%40googlegroups.com.
Message has been deleted

Gnome

unread,
Dec 14, 2013, 5:36:21 AM12/14/13
to mnemosyne-...@googlegroups.com
There is no mnemosyne directory in the root of the sd-card and mnemosyne.py refers to "/sdcard/mnemosyne/".
.js files does not seem to be synced.
>> > f�lgende:
>> >
>> >         The new Android client will take some time to develop, so by all
>> > means report all the errors you can find :-)
>> >
>> >         Make sure to run the 2.3 I posted in the mail on the server too,
>> and
>> > not some earlier version.
>> >
>> >         Peter
>> >
>> >
>> >         Gnome <jippi...@hotmail.com <javascript:> > wrote:
>> >
>> >                 I really apprecheate the time taken to develop this, but
>> I
>> see
>> > the android client may have some issues. It connects to my server for
>> > syncing, but I get an error message on the client. I'm not sure if I
>> should
>> > report these errors if a totally new version will be developed.
>> >
>> >                 Also when going into settings in mnemosyne and clicking
>> ok
>> > seems to cause mnemosyne to crash after the server is set up.
>> >
>> >
>> >                 kl. 22:29:04 UTC+1 torsdag 12. desember 2013 skrev Gnome
>> > f�lgende:
>> >
>> >                         Finally! I have been waiting for this release.
>> >
>> >                         kl. 21:53:17 UTC+1 torsdag 12. desember 2013
>> skrev
>> > Peter Bienstman f�lgende:
>>
>> > To post to this group, send email to mnemosyne-proj-
>> > us...@googlegroups.com <javascript:>.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msgid/mnemosyne-proj-users/9129b966-efed-
>> > 4884-9990-20944318c9c2%40googlegroups.com.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> 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,  

Gnome

unread,
Dec 14, 2013, 6:14:13 AM12/14/13
to mnemosyne-...@googlegroups.com
There is a mnemosyne directory sometimes appearing, it was empty. I deleted it and it preformed a successful sync. I reviewed and graded a card on the client. Then clicked 'exit'. Then I where asked to preform a sync. It said "sync finished!". Then there was a message asking if I wanted to close the terminal because the process exided. I clicked yes. I relauched mnemosyne.py again, and I get the same error: mismached user ids. Again I did not find a mnemosyne directory on the SD-card.

Gnome

unread,
Dec 14, 2013, 7:09:25 AM12/14/13
to mnemosyne-...@googlegroups.com
Now I found the directory using an client file browser app, then it appeared with it contents also via usb. It seems like .js files are synched, however some files are included from a javascript file programmatically, these are not synched. Does it however matter if I copy the directory where I have scripts manually?

Peter Bienstman

unread,
Dec 14, 2013, 8:31:13 AM12/14/13
to mnemosyne-...@googlegroups.com
What is the location the Mnemosyne directory ended up at in the end?
Perhaps you need to specify that directory in mnemosyne.py and try
again?

Mnemosyne does not contain a javascrip parser to see which files you
include in javascript. Only certain file types referenced by a src=""
tag are included in the sync protocol. The others you have to copy
manually.

Cheers,

Peter

Citeren Gnome <jippi...@hotmail.com>:

> Now I found the directory using an client file browser app, then it
> appeared with it contents also via usb. It seems like .js files are
> synched, however some files are included from a javascript file
> programmatically, these are not synched. Does it however matter if I copy
> the directory where I have scripts manually?
>
> kl. 12:14:13 UTC+1 l�rdag 14. desember 2013 skrev Gnome f�lgende:
>>
>> There is a mnemosyne directory sometimes appearing, it was empty. I
>> deleted it and it preformed a successful sync. I reviewed and graded a card
>> on the client. Then clicked 'exit'. Then I where asked to preform a sync.
>> It said "sync finished!". Then there was a message asking if I wanted to
>> close the terminal because the process exided. I clicked yes. I relauched
>> mnemosyne.py again, and I get the same error: mismached user ids. Again I
>> did not find a mnemosyne directory on the SD-card.
>>
>> kl. 11:36:21 UTC+1 l�rdag 14. desember 2013 skrev Gnome f�lgende:
>>>
>>> There is no mnemosyne directory in the root of the sd-card
>>> and mnemosyne.py refers to "/sdcard/mnemosyne/".
>>> .js files does not seem to be synced.
>>>
>>> kl. 07:31:42 UTC+1 l�rdag 14. desember 2013 skrev Peter Bienstman
>>> f�lgende:
>>>>
>>>> That's probably because of the thing that went wrong during the first
>>>> sync with the filenames. Delete your Mnemosyne directory on your
>>>> Android and sync again.
>>>>
>>>> Javascript support is of course courtesy of the browser you use to
>>>> review to determine whether this actually works well.
>>>>
>>>> Cheers,
>>>>
>>>> Peter
>>>>
>>>> Citeren Gnome <jippi...@hotmail.com>:
>>>>
>>>> > I renamed all the files and it finished syncing. The client went into
>>>> > 'review mode'. The card did not display anything (it was an card with
>>>> some
>>>> > javascript in it), so I clicked 'exit'. The script excited into SL4A.
>>>> Then
>>>> > I did review a few cards on the server to a card without javascript.
>>>> So I
>>>> > started the client again and I got this error message: "Error:
>>>> mismached
>>>> > user ids. The first sync should happen on an empty database."
>>>> >
>>>> > kl. 19:01:30 UTC+1 fredag 13. desember 2013 skrev Peter Bienstman
>>>> f�lgende:
>>>> >> > f�lgende:
>>>> >> > f�lgende:
>>>> >> >
>>>> >> > Finally! I have been waiting for this
>>>> release.
>>>> >> >
>>>> >> > kl. 21:53:17 UTC+1 torsdag 12. desember
>>>> 2013
>>>> >> skrev
>>>> >> > Peter Bienstman f�lgende:
>>>> mnemosyne-proj-u...@googlegroups.com<javascript:>.
>>>> >>
>>>> >> > To post to this group, send email to mnemosyne-proj-
>>>> >> > us...@googlegroups.com <javascript:>.
>>>> >> > To view this discussion on the web visit
>>>> >> >
>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/9129b966-efed-
>>>> >> > 4884-9990-20944318c9c2%40googlegroups.com.
>>>> >> > For more options, visit https://groups.google.com/groups/opt_out.
>>>> >>
>>>> >>
>>>> >>
>>>> >
>>>> > --
>>>> > 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/0bab47b8-5889-4e09-8a35-681e23beeb11%40googlegroups.com.
>>>>
>>>> > For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>>
>
> --
> 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/c6d4b85f-bf3e-462f-8c71-da3c9aee0ec3%40googlegroups.com.

Gnome

unread,
Dec 14, 2013, 3:57:28 PM12/14/13
to mnemosyne-...@googlegroups.com
It ended up in sdcard/mnemosyne. I now deleted this folder via an file browser app to try again. However, when enabling sync and clicking OK in mnemosyne server settings I get a message that the sync server is running, I click OK and then mnemosyne freezes. Reviewing in web-browser is enabled. I aslo get freeze if I try to disable the review browser, or just hit OK.
>>> kl. 07:31:42 UTC+1 l�rdag 14. desember 2013 skrev Peter Bienstman
>>> f�lgende:
>>>>
>>>> That's probably because of the thing that went wrong during the first
>>>> sync with the filenames. Delete your Mnemosyne directory on your
>>>> Android and sync again.
>>>>
>>>> Javascript support is of course courtesy of the browser you use to
>>>> review to determine whether this actually works well.
>>>>
>>>> Cheers,
>>>>
>>>> Peter
>>>>
>>>> Citeren Gnome <jippi...@hotmail.com>:
>>>>
>>>> > I renamed all the files and it finished syncing. The client went into
>>>> > 'review mode'. The card did not display anything (it was an card with
>>>> some
>>>> > javascript in it), so I clicked 'exit'. The script excited into SL4A.
>>>> Then
>>>> > I did review a few cards on the server to a card without javascript.
>>>> So I
>>>> > started the client again and I got this error message: "Error:
>>>> mismached
>>>> > user ids. The first sync should happen on an empty database."
>>>> >
>>>> > kl. 19:01:30 UTC+1 fredag 13. desember 2013 skrev Peter Bienstman
>>>> f�lgende:
>>>> >> > f�lgende:
>>>> >> > f�lgende:
>>>> >> >
>>>> >> >                         Finally! I have been waiting for this
>>>> release.
>>>> >> >
>>>> >> >                         kl. 21:53:17 UTC+1 torsdag 12. desember
>>>> 2013
>>>> >> skrev
>>>> >> > Peter Bienstman f�lgende:
>>>> >>
>>>> >> > To post to this group, send email to mnemosyne-proj-
>>>> >> > us...@googlegroups.com <javascript:>.
>>>> >> > To view this discussion on the web visit
>>>> >> >
>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/9129b966-efed-
>>>> >> > 4884-9990-20944318c9c2%40googlegroups.com.
>>>> >> > For more options, visit https://groups.google.com/groups/opt_out.
>>>> >>
>>>> >>
>>>> >>
>>>> >
>>>> > --
>>>> > 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,
>>>> > 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/0bab47b8-5889-4e09-8a35-681e23beeb11%40googlegroups.com.
>>>>
>>>> > For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>>
>
> --
> 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,  

Chris

unread,
Dec 14, 2013, 6:03:01 PM12/14/13
to mnemosyne-...@googlegroups.com
I installed rev 1740 from the pbienst branch on my Linux system.
Then I followed the instructions in the README file to install the Android client.
I started sl4a and then mnemosyne.py and synced the data for the first time.
I used firefox to review some cards, then clicked on exit and synced again. So far all worked as expected.

But when I started the server and the client the second time and tried to sync I got the same error as Gnome: "Error: mismached user ids. The first sync should happen on an empty database."

Then I deleted the sdcard/mnemosyne folder and started again. I could review some more cards and sync again.
But when I started once more without deleting the sdcard/mnemosyne folder then again I got the error message "Error: mismached user ids. The first sync should happen on an empty database."

Peter Bienstman

unread,
Dec 15, 2013, 12:59:10 AM12/15/13
to mnemosyne-...@googlegroups.com
OK, so there must be some bug there. It didn't happen on my device, so I'll try to figure out what causes this.

Thanks for the report!

Peter

Peter Bienstman

unread,
Dec 16, 2013, 5:41:07 AM12/16/13
to mnemosyne-...@googlegroups.com
Until I figure out what causes the hang, a reboot should fix this. I have
some difficulty reproducing this, though.

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of Gnome
> Sent: 14 December 2013 21:57
> To: mnemosyne-...@googlegroups.com
> Subject: Re: [mnemosyne-proj-users] Re: 2.3 test release
>
> It ended up in sdcard/mnemosyne. I now deleted this folder via an file
> browser app to try again. However, when enabling sync and clicking OK in
> mnemosyne server settings I get a message that the sync server is running,
I
> click OK and then mnemosyne freezes. Reviewing in web-browser is
> enabled. I aslo get freeze if I try to disable the review browser, or just
hit OK.
>
> kl. 14:31:13 UTC+1 lørdag 14. desember 2013 skrev Peter Bienstman
> følgende:
>
> What is the location the Mnemosyne directory ended up at in the
> end?
> Perhaps you need to specify that directory in mnemosyne.py and try
> again?
>
> Mnemosyne does not contain a javascrip parser to see which files
> you
> include in javascript. Only certain file types referenced by a
src=""
> tag are included in the sync protocol. The others you have to copy
> manually.
>
> Cheers,
>
> Peter
>
> Citeren Gnome <jippi...@hotmail.com <javascript:> >:
> >>>> >> > <http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-
> pre-setup.exe <http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-pre-
> setup.exe> >
> >>>> >> >
> >>>> >> >
> http://users.ugent.be/~pbienst/pub/Mnemosyne%20Android.zip
> <http://users.ugent.be/~pbienst/pub/Mnemosyne%20Android.zip>
> >>>> mnemosyne-proj-u...@googlegroups.com
> <javascript:> <javascript:>.
> >>>> >>
> >>>> >> > To post to this group, send email to mnemosyne-proj-
> >>>> >> > us...@googlegroups.com <javascript:>.
> >>>> >> > To view this discussion on the web visit
> >>>> >> >
> >>>> https://groups.google.com/d/msgid/mnemosyne-proj-
> users/9129b966-efed- <https://groups.google.com/d/msgid/mnemosyne-
> proj-users/9129b966-efed->
> >>>> >> > 4884-9990-20944318c9c2%40googlegroups.com
> <http://40googlegroups.com> .
> >>>> >> > For more options, visit
> https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out> .
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >
> >>>> > --
> >>>> > 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-
> users+un...@googlegroups.com <javascript:> .
> >>>> > 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/0bab47b8-5889-4e09-8a35-681e23beeb11%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/0bab47b8-
> 5889-4e09-8a35-681e23beeb11%40googlegroups.com> .
> >>>>
> >>>> > For more options, visit
> https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out> .
> >>>>
> >>>>
> >>>>
> >>>>
> >
> > --
> > 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-
> users+un...@googlegroups.com <javascript:> .
> > To post to this group, send email to mnemosyne-
> ...@googlegroups.com <javascript:> .
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/mnemosyne-proj-
> users/c6d4b85f-bf3e-462f-8c71-da3c9aee0ec3%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/c6d4b85f-
> bf3e-462f-8c71-da3c9aee0ec3%40googlegroups.com> .
> > For more options, visit https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out> .
>
>
>
>
>
> --
> 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/59511c7c-7791-
> 4585-b512-f74b5c9400e2%40googlegroups.com.

Gnome

unread,
Dec 16, 2013, 11:01:40 AM12/16/13
to mnemosyne-...@googlegroups.com
No change after restart unfortunately. Running in win 7 though.

Peter Bienstman

unread,
Dec 18, 2013, 3:18:55 PM12/18/13
to mnemosyne-...@googlegroups.com
New version of the Android client at the same location, which should fix the 'mismatched user id' problem. You need to delete your database and do the initial sync again, though.

Peter

Gnome

unread,
Dec 18, 2013, 3:44:55 PM12/18/13
to mnemosyne-...@googlegroups.com
Hello Peter, to try to get the sync server started again I uninstalled mnemosyne on the windows machine. However when I tried to reinstall, it appears that all the files have not been deleted. Should I just tell the installer to replace the files in the mnemosyne program directory or should I delete all the files before installing?

Here are the files currently in the directory:
bz2.pyd
imageformats
LIBEAY32.dll
matplotlib.backends._backend_agg.pyd
matplotlib.ft2font.pyd
matplotlib.nxutils.pyd
matplotlib._cntr.pyd
matplotlib._delaunay.pyd
matplotlib._image.pyd
matplotlib._path.pyd
matplotlib._png.pyd
matplotlib._tri.pyd
mnemosyne.exe
numpy.core.multiarray.pyd
numpy.core.scalarmath.pyd
numpy.core.umath.pyd
numpy.core._dotblas.pyd
numpy.core._sort.pyd
numpy.fft.fftpack_lite.pyd
numpy.lib._compiled_base.pyd
numpy.linalg.lapack_lite.pyd
numpy.random.mtrand.pyd
pyexpat.pyd
PyQt4.QtCore.pyd
PyQt4.QtGui.pyd
PyQt4.QtNetwork.pyd
PyQt4.QtSql.pyd
PyQt4.QtWebKit.pyd
python27.dll
QtCore4.dll
QtGui4.dll
QtNetwork4.dll
QtSql4.dll
QtWebKit4.dll
select.pyd
sip.pyd
sqlite3.dll
SSLEAY32.dll
unicodedata.pyd
_ctypes.pyd
_elementtree.pyd
_hashlib.pyd
_socket.pyd
_sqlite3.pyd
_ssl.pyd

Peter Bienstman

unread,
Dec 19, 2013, 12:34:29 AM12/19/13
to mnemosyne-...@googlegroups.com
Safest is to to delete the entire directory.

Cheers,

Peter

Chris

unread,
Dec 19, 2013, 2:27:47 PM12/19/13
to mnemosyne-...@googlegroups.com
I installed the new version of the Android client and so far had no sync problems any more :-)

I noticed two minor problems (tested with 2 different Android systems):

1) After syncing the first time, the Mnemosyne settings under Settings -> Configure Mnemosyne -> Card appearance (font, color etc.) were not shown in Firefox. But since the second sync it works, so that's not really a problem. Even the special font I use for RTL cards (and which I copied from my computer to the Android system) is shown correctly when using Firefox, so that's great.

2) For cloze deletion or sentence cards with RTL text: When the "[...]" is at the end of the line, it is shown at the beginning instead of at the end.

Chris

unread,
Dec 19, 2013, 6:41:55 PM12/19/13
to mnemosyne-...@googlegroups.com
Sorry, I meant:

2) For cloze deletion or sentence cards with RTL text: When the "[...]" is at the beginning of the line, it is shown at the end instead of at the beginning .

Peter Bienstman

unread,
Dec 20, 2013, 3:08:32 AM12/20/13
to mnemosyne-...@googlegroups.com
> -----Original Message-----
> I installed the new version of the Android client and so far had no sync
> problems any more :-)

Glad to hear this!

> I noticed two minor problems (tested with 2 different Android systems):
>
> 1) After syncing the first time, the Mnemosyne settings under Settings ->
> Configure Mnemosyne -> Card appearance (font, color etc.) were not shown
> in Firefox. But since the second sync it works, so that's not really a
problem.
> Even the special font I use for RTL cards (and which I copied from my
> computer to the Android system) is shown correctly when using Firefox, so
> that's great.

Strange, it should have happened the first time. Anyway, I'll look into
this.

> 2) For cloze deletion or sentence cards with RTL text: When the "[...]" is
at
> the end of the line, it is shown at the beginning instead of at the end.

I know, but that's a bug in the RTL handling of the mobile browsers, so
beyond my direct control...

Cheers,

Peter

Gnome

unread,
Dec 20, 2013, 1:57:30 PM12/20/13
to mnemosyne-...@googlegroups.com
Hello, reinstall or using another computer did not fix the config freeze in mnemosyne on windows.
Please advice on what config file to delete for disabling the web-browser server on startup.

Peter Bienstman

unread,
Dec 20, 2013, 10:53:48 PM12/20/13
to mnemosyne-...@googlegroups.com
C:/users/gnome/appdata/roaming/mnemosyne/config

Peter Bienstman

unread,
Jan 16, 2014, 3:19:41 PM1/16/14
to mnemosyne-...@googlegroups.com

Peter Bienstman

unread,
Jan 16, 2014, 3:20:23 PM1/16/14
to mnemosyne-...@googlegroups.com
New version, should fix all the threading-related issues with the review server:

http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-beta-2-setup.exe

Peter

Gnome

unread,
Jan 18, 2014, 3:20:39 PM1/18/14
to mnemosyne-...@googlegroups.com

Here is some more feedback:

- Bug: After grading one card on the mobile client, clicking exit, clicking yes to sync, the PC syncs, when going back to the PC the card I already had graded was still displayed on the PC. After restarting the program on the PC the correct card appeared.
- Other: It would be nice if the mobile client would tell what file that caused the problem or check if there were any files with filenames that where not compatible before syncing.

Peter Bienstman

unread,
Jan 19, 2014, 1:35:50 AM1/19/14
to mnemosyne-...@googlegroups.com

Citeren Gnome <jippi...@hotmail.com>:

> Here is some more feedback:
>
> - Bug: After grading one card on the mobile client, clicking exit, clicking
> yes to sync, the PC syncs, when going back to the PC the card I already had
> graded was still displayed on the PC. After restarting the program on the
> PC the correct card appeared.

That shouldn't have happened. I'll try to have a look at it.

> - Other: It would be nice if the mobile client would tell what file that
> caused the problem or check if there were any files with filenames that
> where not compatible before syncing.

What do you mean by 'compatible filenames'? If you're talking about
the issue with unicode in the filenames, that I still have to look at.

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-...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/f67ccff0-ea06-4dfb-8f51-7eca2dd1b332%40googlegroups.com.

Gnome

unread,
Jan 19, 2014, 5:36:44 AM1/19/14
to mnemosyne-...@googlegroups.com


kl. 07:35:50 UTC+1 søndag 19. januar 2014 skrev Peter Bienstman følgende:

Citeren Gnome <jippi...@hotmail.com>:

> Here is some more feedback:
>
> - Bug: After grading one card on the mobile client, clicking exit, clicking
> yes to sync, the PC syncs, when going back to the PC the card I already had
> graded was still displayed on the PC. After restarting the program on the
> PC the correct card appeared.

That shouldn't have happened. I'll try to have a look at it. 

> - Other: It would be nice if the mobile client would tell what file that
> caused the problem or check if there were any files with filenames that
> where not compatible before syncing.

What do you mean by 'compatible filenames'? If you're talking about  
the issue with unicode in the filenames, that I still have to look at.


Yes, thats the thing. I solved this temporary for myself by adding a print that would tell the filename for each file that was synced, renaming that file, then sync again and so on.

 
Message has been deleted
Message has been deleted

Gnome

unread,
Jan 19, 2014, 3:35:17 PM1/19/14
to mnemosyne-...@googlegroups.com
More feedback:

- The docktype declaration is not the same between the PC and the mobile version.
- Perhaps it would be better to set the doctype to HTML5??
- The mobile "template" gets some errors when doing a w3 validator.
- Two divs with the same name may cause some problems (mnem) for those who want to implement javascript.
- Not been able to replicate the bug where the correct card was not displayed on PC after sync with mobile.

Peter Bienstman

unread,
Jan 20, 2014, 3:21:43 AM1/20/14
to mnemosyne-...@googlegroups.com
Hi,

Feel free to illustrate with actual lines of html how you'd like the webpage to change so that it works for your purposes.

Cheers,

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of Gnome
> 2-setup.exe <http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-beta-2-
> setup.exe>
>
> Peter
>
> On Thursday, 12 December 2013 21:53:17 UTC+1, Peter
> Bienstman wrote:
>
>
> A preliminary version of 2.3 for people to play with is
> now available:
>
> pre-setup.exe>
>
> http://users.ugent.be/~pbienst/pub/Mnemosyne%20Android.zip
> --
> 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/33611692-
> 3130-415a-a415-c4c5be4c3ae3%40googlegroups.com.

Gnome

unread,
Jan 26, 2014, 1:17:27 AM1/26/14
to mnemosyne-...@googlegroups.com
Please make the following changes:
- To the PC version, add the following to the stylesheet:
table {width: 100%;}

- Give the loc, _, f and b ... divs classes (both PC and mobile):
<div id="loc" class="loc">
And change the text in the stylesheet for those items from
div#loc
to
div.loc

- Use the same doctype for both. I suggest using HTML5:
<!DOCTYPE html>
<html>
and change
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
to
<meta charset=utf-8>


Other changes it would be nice to see (not critical for my project):
- All divs have its own ID and using classes instead for styling.

- Give the buttonareas tables id's: ie. buttonarea-top and buttonarea-bottom:
<table class="buttonarea" id="buttonareaTop">
<table class="buttonarea"  id="buttonareaBotton">

Gnome

unread,
Jan 26, 2014, 1:49:16 AM1/26/14
to mnemosyne-...@googlegroups.com


kl. 07:17:27 UTC+1 søndag 26. januar 2014 skrev Gnome følgende:
Please make the following changes:
- To the PC version, add the following to the stylesheet:
table {width: 100%;}

I've made a mistake here., instead change (both mobile and PC)
table#mnem
to
table.mnem
and add class
<table id="mnem1" class="mnem">

Peter Bienstman

unread,
Jan 27, 2014, 3:25:29 PM1/27/14
to mnemosyne-...@googlegroups.com
I've overwritten the installers with new versions containing your requested changes (not the optional ones). I did have to omit the <!DOCTYPE html> line from the desktop version to be used by the webkit widget, because otherwise the border would not be displayed at full hight for some reason.

Cheers,

Peter

Gnome

unread,
Jan 28, 2014, 4:29:35 PM1/28/14
to mnemosyne-...@googlegroups.com
After some experimenting, found that this should make it look identical with <!DOCTYPE html> on PC. Add on PC:
html, body { margin: 0px; height: 100%;  width: 100%;}
table.mnem { height: 100%; width: 100%; margin-left: auto; margin-right: auto; border: 1px solid #8F8F8F; } 

Found one mistake, <meta charset="utf-8&quot;"> should be <meta charset="utf-8"> on PC, haven't checked the mobile version yet.

Peter Bienstman

unread,
Jan 29, 2014, 2:59:56 PM1/29/14
to mnemosyne-...@googlegroups.com
Committed to the pbienst branch! Let me know if you need new installers.

Cheers,

Peter

Gnome

unread,
Feb 2, 2014, 11:47:35 AM2/2/14
to mnemosyne-...@googlegroups.com
Please provide installer and latest mobile version.

Peter Bienstman

unread,
Feb 3, 2014, 3:01:28 PM2/3/14
to mnemosyne-...@googlegroups.com
I've put them at the previous location.

Gnome

unread,
Feb 4, 2014, 4:55:21 PM2/4/14
to mnemosyne-...@googlegroups.com
I think you forgot to add <!DOCTYPE html> to the top on PC. The mnem table should display correct now.

I'm getting different results in my template test page (chrome) and the PC version, although the HTML should be identical. And firefox is another story, lol.
So more work needs to be done on my side for now.

Peter Bienstman

unread,
Feb 5, 2014, 5:35:12 AM2/5/14
to mnemosyne-...@googlegroups.com
Are you sure about this?

The code reads:

def render(self, fact_data, fact_keys, card_type, **render_args):
css = self.css(card_type)
body = self.body(fact_data, fact_keys, card_type, **render_args)
return """
<!DOCTYPE html>
<html>
....

Cheers,

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of Gnome
> --
> 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/f6051b62-1c96-
> 48da-94dc-3acbdb301832%40googlegroups.com.

Gnome

unread,
Feb 7, 2014, 1:18:14 PM2/7/14
to mnemosyne-...@googlegroups.com

kl. 11:35:12 UTC+1 onsdag 5. februar 2014 skrev Peter Bienstman følgende:
Are you sure about this?


I have hade a mistake and the tag is there.

However I'm getting a bit different result between my test template version and PC and mobile version. So it's a bit difficult to debug.
The test template was created using javascript to get the html. It should be identical, but just in case, is there a way from your side view the rendered source for an marked map card?
 

Peter Bienstman

unread,
Feb 8, 2014, 3:42:00 AM2/8/14
to mnemosyne-...@googlegroups.com
To help you debug your code, here's a version which shows a dialog with the raw html:

http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-beta-2-debug-setup.exe

Good luck!

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of Gnome
> Sent: 07 February 2014 19:18
> To: mnemosyne-...@googlegroups.com
> Subject: Re: [mnemosyne-proj-users] Re: 2.3 test release
>
>
> > email to mnemosyne-proj-u...@googlegroups.com
> <javascript:> .
> > To post to this group, send email to mnemosyne-proj-
> > us...@googlegroups.com <javascript:> .
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/mnemosyne-proj-
> users/f6051b62-1c96- <https://groups.google.com/d/msgid/mnemosyne-
> proj-users/f6051b62-1c96->
> > 48da-94dc-3acbdb301832%40googlegroups.com
> <http://40googlegroups.com> .
> > For more options, visit https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out> .
>
>
>
>
> --
> 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/cc884f0a-cb60-
> 4cbb-b639-3e0540961b16%40googlegroups.com.

Gnome

unread,
Feb 8, 2014, 4:20:47 AM2/8/14
to mnemosyne-...@googlegroups.com


kl. 21:20:39 UTC+1 lørdag 18. januar 2014 skrev Gnome følgende:

Here is some more feedback:

- Bug: After grading one card on the mobile client, clicking exit, clicking yes to sync, the PC syncs, when going back to the PC the card I already had graded was still displayed on the PC. After restarting the program on the PC the correct card appeared.

This happens if your press "show answer" on PC before syncing from mobile.

Gnome

unread,
Feb 8, 2014, 5:51:16 AM2/8/14
to mnemosyne-...@googlegroups.com
Thanks, my project is mostly working now. The syncing seems to be working very good and mobile reviewing is really useful.

some more feedback and suggestions:
- contents is very small in firefox mobile, perhaps some changes must be made to the template to adjust for move to mobile?
- It's nice to know what ip the mobile server is running on, but sound is now working in the SL4A chrome version.
- Video (mp4) on mobile version does not work for some reason. On w3schools they use
<video src="somevideo.mp4" autoplay/>
instead of
autoplay="1"
however there seems to be no difference then testing this on PC.

Other suggestions:
- perhaps the messages displayed when starting the app could be minimized? For example I think its rare that I would not like the app to sync, the app could just try to sync on exit and start without asking, and a cancel button if you know the server is not available?
- Would nice to have audio controls on PC.
> <javascript:> .
>         > To post to this group, send email to mnemosyne-proj-
>         > us...@googlegroups.com <javascript:> .
>         > To view this discussion on the web visit
>         > https://groups.google.com/d/msgid/mnemosyne-proj-
> users/f6051b62-1c96- <https://groups.google.com/d/msgid/mnemosyne-
> proj-users/f6051b62-1c96->
>         > 48da-94dc-3acbdb301832%40googlegroups.com
> <http://40googlegroups.com> .
>         > For more options, visit https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out> .
>
>
>
>
> --
> 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

Chris

unread,
Feb 8, 2014, 12:32:26 PM2/8/14
to mnemosyne-...@googlegroups.com


Am Samstag, 8. Februar 2014 11:51:16 UTC+1 schrieb Gnome:
...
some more feedback and suggestions:
- contents is very small in firefox mobile, perhaps some changes must be made to the template to adjust for move to mobile?
...

 Same here, too. It would be great if the content size could be adjusted for firefox on android.


Other suggestions:
- perhaps the messages displayed when starting the app could be minimized? For example I think its rare that I would not like the app to sync, the app could just try to sync on exit and start without asking, and a cancel button if you know the server is not available?
...

At least the first three steps (start sl4a, choose the mnemosyne.py script and click the icon that looks like a terminal window) can be combined by using the sl4a scripts widget. Go to widgets, select the one named "Scripts" (with the sl4a symbol) and place it on the screen. Click on mnemosyne.py and then on the icon that looks like a terminal window. Now when you click on the new icon on the screen it goes directly to "Mnemosyne - Perform sync?".
 

Gnome

unread,
Feb 8, 2014, 6:06:38 PM2/8/14
to mnemosyne-...@googlegroups.com
kl. 18:32:26 UTC+1 lørdag 8. februar 2014 skrev Chris følgende:

At least the first three steps (start sl4a, choose the mnemosyne.py script and click the icon that looks like a terminal window) can be combined by using the sl4a scripts widget. Go to widgets, select the one named "Scripts" (with the sl4a symbol) and place it on the screen. Click on mnemosyne.py and then on the icon that looks like a terminal window. Now when you click on the new icon on the screen it goes directly to "Mnemosyne - Perform sync?".

 I can't find the sl4a script widget, is it included in sl4a?

Peter Bienstman

unread,
Feb 9, 2014, 1:40:48 AM2/9/14
to mnemosyne-...@googlegroups.com
Hi,

As far as font size is concerned, Mnemosyne takes the same fonts sizes
you set on the desktop. I guess you can also set a zoom level in your
mobile browser?

As for the other issues / feature requests, this is a meant to be a
quick-and-dirty client to tide you over until the real Android client
is ready. Therefore, I don't plan on spending a lot more effort on the
quick-and-dirty client...

Cheers,

Peter

Citeren Chris <na...@online.de>:
>> <http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-beta-2-debug-setup.exe>
>>
>
> --
> 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/8dae05f1-ad64-494a-b1ae-f9948cd0f665%40googlegroups.com.

Chris

unread,
Feb 9, 2014, 7:31:07 AM2/9/14
to mnemosyne-...@googlegroups.com
Maybe it depends on the Android version? Can you access any other widgets, e.g. clock or calendar widgets?
On my system the widget was there after installing sl4a as described in the README file of Mnemosyne Android.

I don't use the original Android because I don't use Google Apps. But I tried it with 3 different systems and for all 3 of them the widget was there: Cyanogenmod 10 (Android 4.1 Jelly Bean), Cyanogenmod 11 (Android 4.4 KitKat) and Omnirom 4.4.2 (Android 4.4 KitKat). Here is a screenshot with Cyanogenmod 10 - the scripts widget is on the top left: http://abload.de/img/screenshot_2014-02-097ms0m.png

This leads me to another question: Will the real Android client be installable without Google Apps, i.e. through F-Droid or by compiling it myself?

Chris

unread,
Feb 9, 2014, 9:11:36 AM2/9/14
to mnemosyne-...@googlegroups.com
Changing the font size on the display doesn't change the content size. Only the font size of the firefox menu is changed, but not the size of the Mnemosyne content.

The default browser on my device has a menu for accessibility settings. When setting the text scaling there to 100% it looks the same as in firefox - the content is very small. When setting the text scaling to 200% then the content looks good on my device. Unfortunately there is no such setting within firefox mobile (I am using firefox because of the special fonts I am using - the default browser always shows the system font which isn't useful for me).

But I found out that e.g. the following code renders mobile sites more consistently on screens of different sizes and resolutions (The viewport meta tag is ignored on desktop versions of Firefox):
<meta name="viewport" content="width=device-width, initial-scale=1">

See https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Firefox_Mobile_for_developers
and a description of the viewport properties on the following page:
https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html

I tested it adding this code to the code of a single Mnemosyne card and it looked good on my device.

Peter Bienstman

unread,
Feb 9, 2014, 10:56:26 AM2/9/14
to mnemosyne-...@googlegroups.com


> -----Original Message-----
> This leads me to another question: Will the real Android client be installable
> without Google Apps, i.e. through F-Droid or by compiling it myself?

Sure, the source will be available.

Peter

Gnome

unread,
Feb 9, 2014, 2:05:00 PM2/9/14
to mnemosyne-...@googlegroups.com
Some image files do not sync. It's the same files each time, for example:

anatomi\thieme\generalis\3-1.jpg

Gnome

unread,
Feb 9, 2014, 2:42:07 PM2/9/14
to mnemosyne-...@googlegroups.com
<meta name="viewport" content="width=device-width, initial-scale=1">

See https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Firefox_Mobile_for_developers
and a description of the viewport properties on the following page:
https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html

I tested it adding this code to the code of a single Mnemosyne card and it looked good on my device.

Another way to adapt the page to different devices is to use media query's.
I've never used it myself, but here is more info:

Peter Bienstman

unread,
Feb 10, 2014, 3:16:41 AM2/10/14
to mnemosyne-...@googlegroups.com
Try creating a new card and adding that media file through the right-click option 'insert image'.

Perhaps the cards you are talking about were adding directly to the database through some script without going through the API of libmnemosyne?

Cheers,

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of Gnome
> Sent: 09 February 2014 20:05
> To: mnemosyne-...@googlegroups.com
> Subject: [mnemosyne-proj-users] Re: 2.3 test release
>
> Some image files do not sync. It's the same files each time, for example:
>
> anatomi\thieme\generalis\3-1.jpg
>
> kl. 21:20:23 UTC+1 torsdag 16. januar 2014 skrev Peter Bienstman følgende:
>
> New version, should fix all the threading-related issues with the
> review server:
>
> Peter
>
> On Thursday, 12 December 2013 21:53:17 UTC+1, Peter Bienstman
> wrote:
>
>
> A preliminary version of 2.3 for people to play with is now
> available:
>
> setup.exe>
>
> http://users.ugent.be/~pbienst/pub/Mnemosyne%20Android.zip
> --
> 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/a861661d-
> bb58-430b-9839-a624b263e894%40googlegroups.com.

Peter Bienstman

unread,
Feb 10, 2014, 7:17:55 AM2/10/14
to mnemosyne-...@googlegroups.com
> <meta name="viewport" content="width=device-width, initial-scale=1">

Done, it will be in the next test release.

Thanks!

Peter

Gnome

unread,
Feb 10, 2014, 5:42:21 PM2/10/14
to mnemosyne-...@googlegroups.com
 
Perhaps the cards you are talking about were adding directly to the database through some script without going through the API of libmnemosyne?

That has to be the case of course. Copied all media from the db directory, so that should fix it.

Gnome

unread,
Feb 22, 2014, 11:53:39 AM2/22/14
to mnemosyne-...@googlegroups.com
Sometimes if I wait a few hours, then clicking 'show answer', another card and it's answer shows up.

Peter Bienstman

unread,
Feb 23, 2014, 1:55:19 AM2/23/14
to mnemosyne-...@googlegroups.com
I assume you're talking about web browser review here? There is a timeout mechanism in the webserver which releases the database after 10 min in order to save resources. When you wake it by sending 'show answer', it will reload the database, possibly starting with another card.

In theory this is fixable, but again, I'd rather put my limited resources in a proper android client.

Cheers,

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-
> proj-...@googlegroups.com] On Behalf Of Gnome
> Sent: 22 February 2014 17:54
> To: mnemosyne-...@googlegroups.com
> Subject: [mnemosyne-proj-users] Re: 2.3 test release
>
> Sometimes if I wait a few hours, then clicking 'show answer', another card
> and it's answer shows up.
>
> --
> 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/010645c2-
> dd89-4aa0-ab81-9ea1ba523337%40googlegroups.com.
Message has been deleted

alexf...@gmail.com

unread,
Feb 28, 2014, 5:17:58 AM2/28/14
to mnemosyne-...@googlegroups.com
The Download for the desktop one Is not working

Peter Bienstman

unread,
Feb 28, 2014, 5:41:46 AM2/28/14
to mnemosyne-...@googlegroups.com
Please scroll down in that thread, that was a previous test release version.

The latest version is:

http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-beta-2-setup.exe

Peter

> -----Original Message-----
> From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-proj-
> us...@googlegroups.com] On Behalf Of alexf...@gmail.com
> Sent: 28 February 2014 11:18
> To: mnemosyne-...@googlegroups.com
> Subject: [mnemosyne-proj-users] Re: 2.3 test release
>
> The Download for the desktop one Is not working
>
> --
> 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/9f73faac-d8ea-
> 4df7-894f-15ed29abb30a%40googlegroups.com.

Alex .

unread,
Feb 28, 2014, 11:40:20 PM2/28/14
to mnemosyne-...@googlegroups.com
Ah thank you. Thank you for updating this tool It is very helpful for my studies. 
I would recommend a ctrl z undo function. I often accidentally click the wrong number but theres no way to undo it when reviewing. 


You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/fSp1_3Zu5Kg/unsubscribe.
To unsubscribe from this group and all its topics, 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/001401cf3471%24ad8d2150%2408a763f0%24%40UGent.be.

Peter Bienstman

unread,
Mar 1, 2014, 12:32:51 AM3/1/14
to mnemosyne-...@googlegroups.com
You can vote for that feature on our uservoice forum.

Cheers,

Peter
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages