Re: [mnemosyne-proj-users] Re: Android client beta 1

2014-11-08 Thread Chris
Great, thanks :-)
I tried it out and it works now.

Am Freitag, 7. November 2014 21:05:42 UTC+1 schrieb Peter Bienstman:

 Hi,

 I've posted a new version in the same location which should fix the sound 
 issue.

 As for custom fonts, that indeed seems a firefox-only feature which does 
 not work with the standard Android widgets. A solution could be to add font 
 files to the media of the database itself, but that will require quite some 
 work. Perhaps in the future...

 Peter

 On Tuesday, 4 November 2014 19:43:41 UTC+1, Chris wrote:

 I emailed you the database.

 The custom font only works with Firefox mobile not with Chrome mobile.

 Am Dienstag, 4. November 2014 19:14:23 UTC+1 schrieb Peter Bienstman:

  -Original Message- 
  1. Sound isn't played when it is in the question field, only when it 
 is in the 
  answer field (tested with front-to-back and back-to-front cards) 

 I cannot reproduce this. Can you send me a small database which shows 
 the problem? 

  2. The font setting seems to work only for preinstalled fonts, it 
 doesn't work 
  for my additionally installed fonts (e.g. Ezra Sil), which I installed 
 into the 
  /system/fonts directory (this way it works when accessing the 
 Mnemosyne 
  web server through Firefox). 

 I don't think this is supported through Android's webview widget. Did it 
 work when you used chrome-mobile with the quick and dirty client? Googling 
 seems to reveal that installing custom fonts on Android is not something 
 that is readily supported.. 

 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-users+unsubscr...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/941bd1f6-1160-4c70-9398-03edc6a4219c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mnemosyne-proj-users] Unexpected error occurs when starting mnemosyne headless

2014-11-08 Thread Chris
Thanks! Works well now.

Am Freitag, 7. November 2014 21:15:44 UTC+1 schrieb Peter Bienstman:

 I've committed a fix for this to launchpad (file 
 mnemosyne/libmnemosyne/configuration.py). If you want a full tarball, just 
 let me know.

 Cheers,

 Peter

 On Wednesday, 5 November 2014 22:21:34 UTC+1, Chris wrote:

 Some more info in addition to the email: 

 I tested this also on a fresh installation of Ubuntu 14.04 within a 
 virtual machine. After installation of Mnemosyne 2.3.1 I tested the 
 following command sequence: 

 1. mnemosyne --sync-server --web-server 
 2. mnemosyne 
 3. mnemosyne --sync-server --web-server 
 4. mnemosyne 

 Commands 1, 2, and 4 worked without an error, but with the 3rd command 
 the same error occured as before. So it doesn't seem to be possible to 
 run Mnemosyne headless after running Mnemosyne GUI once. But Mnemosyne 
 with GUI works with web server and sync server enabled. 

 Cheers, 
 Chris 


 Am 05.11.2014 um 15:43 schrieb Peter Bienstman: 
  I'm rather flabbergasted: your config.db contains e.g. 
  
  
 PyQt4.QtCore.QByteArray('\x01\xd9\xd0\xcb\x00\x01\x00\x00\x00\x00\x02N\x00\x00\x01\x86\x00\x00\x04i\x00\x00\x03\xa3\x00\x00\x02X\x00\x00\x01\xac\x00\x00\x04_\x00\x00\x03\x99\x00\x00\x00\x00\x00\x00')
  
 for the key 'configuration_dlg_state', which indicates a system where 
 you've already opened the configuration dialog. 
  
  The default value for this key upon creation is hard coded to 'None', 
 so I don't see any way the key could have gotten the value it did, 
 especially since you don't seem to have Qt installed on your headless 
 server. 
  
  Just to make absolutely sure you're not picking up any old file from a 
 different system, try the following experiment 
  
   mnemosyne --sync-server --web-server -d a_completely_new_and_empty_dir 
  
  In that case, Mnemosyne will create a new database and config in 
 a_completely_new_and_empty_dir 
  
  Also feel free to run a find command on your entire filesytem and 
 delete any 'config', 'config.py' and 'config.db' files you can find. 
  
  Cheers, 
  
  Peter 
  
  Peter 
  
  
  -Original Message- 
  From: mnemosyne-...@googlegroups.com javascript: [mailto:mnemosyne- 
 javascript: 
  proj-...@googlegroups.com javascript:] On Behalf Of na...@online.de 
 javascript: 
  Sent: 05 November 2014 14:03 
  To: mnemosyne-...@googlegroups.com javascript: 
  Subject: Re: [mnemosyne-proj-users] Unexpected error occurs when 
  starting mnemosyne headless 
  
  I deleted the whole config directory ~/.config/mnemosyne so both 
 config.db 
  and config where deleted. 
  
  Is there any other directory to consider? 
  
  
  Am 05.11.2014 um 14:00 schrieb Peter Bienstman: 
  Hi, 
  
  Are you sure you've deleted config.db and config? There seems to be 
 still a 
  Qt object stored in the configuration database which is being picked 
 up. 
  ~ 
  Peter 
  
  -Original Message- 
  From: mnemosyne-...@googlegroups.com javascript: [mailto:
 mnemosyne- javascript: 
  proj-...@googlegroups.com javascript:] On Behalf Of Chris 
  Sent: 05 November 2014 13:47 
  To: mnemosyne-...@googlegroups.com javascript: 
  Subject: [mnemosyne-proj-users] Unexpected error occurs when 
 starting 
  mnemosyne headless 
  
  I upgraded to Mnemosyne 2.3.1 and now I get the following error, 
 when 
  starting Mnemosyne in headless mode: 
  
  
  ...:~$ mnemosyne --sync-server --web-server An unexpected error has 
  occurred. 
  Please forward the following info to the developers: 
  
  Traceback (innermost last): 
File /usr/local/bin/mnemosyne, line 5, in module 
  pkg_resources.run_script('Mnemosyne==2.3.1', 'mnemosyne') 
File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 
 528, 
  in run_script 
  self.require(requires)[0].run_script(script_name, ns) 
File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 
  1401, in run_script 
  exec(script_code, namespace, namespace) 
File /usr/local/lib/python2.7/dist-packages/Mnemosyne-2.3.1- 
  py2.7.egg/EGG-INFO/scripts/mnemosyne, line 79, in module 
File build/bdist.linux- 
  x86_64/egg/mnemosyne/libmnemosyne/__init__.py, line 186, in 
  initialise 
  self.activate_components() 
File build/bdist.linux- 
  x86_64/egg/mnemosyne/libmnemosyne/__init__.py, line 264, in 
  activate_components 
  self.component_manager.current(config).activate() 
File build/bdist.linux- 
  x86_64/egg/mnemosyne/libmnemosyne/configuration.py, line 82, in 
  activate 
  self.load() 
File build/bdist.linux- 
  x86_64/egg/mnemosyne/libmnemosyne/configuration.py, line 213, in 
  load 
  self[cursor[0]] = eval(cursor[1]) 
File string, line 1, in module 
   AttributeError: 'module' object has no attribute 'QtCore' 
  An unexpected error has occurred. 
  Please forward the following info to the developers: 
  
  Traceback (innermost last): 
File /usr/local/bin/mnemosyne, line 5, in module 
  pkg_resources.run_script('Mnemosyne==2.3.1', 

Re: [mnemosyne-proj-users] Re: Android client beta 1

2014-11-08 Thread Peter Bienstman
Hi, 

You don't need to install Python separately. 

The database is still in /sdcard/mnemosyne. 

Cheers, 

Peter 

On November 8, 2014 1:41:24 PM CET, Gnome jippija...@hotmail.com wrote:
Do we still need python for android and SL4A?

I want to add javascript files to the database folder, where is it
located?

kl. 21:46:49 UTC+1 mandag 3. november 2014 skrev Peter Bienstman
følgende:

 Hi,

 In case you want to try out the shiny new Android client, beta 1 can
be 
 found here:

 http://users.ugent.be/~pbienst/pub/Mnemosyne.apk

 The 'beta' label is primarily because of some missing features (most 
 notably 'activate cards'), but otherwise I've been using it myself
for a 
 few weeks now.

 Enjoy!

 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-users+unsubscr...@googlegroups.com.
To post to this group, send email to
mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/02008484-9bc0-46ae-bd07-301ce1a076ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/0D650EB6-F97D-4AAF-A2FB-8DCE2E4E671B%40UGent.be.
For more options, visit https://groups.google.com/d/optout.