Drack
Member
- Joined
 - Sep 29, 2008
 
- Messages
 - 210
 
milkshake said:why dont you upload to the repo?
http://repo.openpandora.org![]()
Looks good, but I don't see an Education category. I think I'll upload it as a Utility.
			
				Last edited by a moderator: 
			
		
	
								
								
									
	
								
							
							milkshake said:why dont you upload to the repo?
http://repo.openpandora.org![]()
peelie said:sorry to report still getting same error![]()
zapman said:peelie said:sorry to report still getting same error![]()
the latest version from the new repo.openpandora.org doesn't start with my pandora either. I deleted the appdata folder and put the anki pnd file in the menu folder. after I click the anki link a new anki subfolder is beeing created in appdata which disappears after a few seconds. That's all Anki does right now.
Where do I get this debug output peelie posted? I would gladly add that info if it helps.
Drack said:Those experiencing problems: Try this PND: http://dl.dropbox.co...-drack3-rc1.pnd
Did a couple things that might fix the problem (It's not happening on my pandora even using my FAT32 card so these are all guesses)
-chmodded everything inside the PND as 777
-Added some additional python stuff into the PND that showed up in my appdata after running the previous PND
-Set the PYTHON_EGG_CACHE to point to a folder inside appdata
If it fixes your problem, I'll upload it to the repository as an update.
  sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/UMPAS_SD/pandora/menu//anki-1.2.8-drack3-rc1.pnd -e anki.sh -b anki
  not mounted on loop yet, doing so
  LoopMountedon: 
  /dev/loop1
  Filetype is Squashfs
  Mounting PND (mount -t squashfs) :
  /dev/loop1 on /mnt/pnd/anki type squashfs (ro)
  Filesystem is vfat
  Mounting the Union FS using /media/UMPAS_SD/pandora/appdata/anki as Write directory:
  mount -t aufs -o exec,noplink,dirs=/media/UMPAS_SD/pandora/appdata/anki=rw+nolwh:/mnt/pnd/anki=rr none /mnt/utmp/anki
  none on /mnt/utmp/anki type aufs (rw,si=62899177,noplink)
  none on /mnt/utmp/anki type aufs (rw,si=62899177,noplink)
  [------------------------------]{ App start }[---------------------------------]
  /mnt/utmp/anki
  Traceback (most recent call last):
    File "lib/python2.7/site-packages/ankiqt/anki", line 28, in <module>
      ankiqt.run()
    File "/mnt/utmp/anki/lib/python2.7/site-packages/ankiqt/ankiqt/__init__.py", line 78, in run
      import config
    File "/mnt/utmp/anki/lib/python2.7/site-packages/ankiqt/ankiqt/config.py", line 10, in <module>
      from anki.utils import genID
    File "/mnt/utmp/anki/lib/python2.7/site-packages/ankiqt/../libanki/anki/__init__.py", line 58, in <module>
      from anki.deck import DeckStorage
    File "/mnt/utmp/anki/lib/python2.7/site-packages/ankiqt/../libanki/anki/deck.py", line 12, in <module>
      import types, traceback, simplejson, datetime
    File "/mnt/utmp/anki/lib/python2.7/site-packages/simplejson-2.1.3-py2.7-linux-armv7l.egg/simplejson/__init__.py", line 111, in <module>
      if (oldConf and os.path.exists(oldConf) and not os.path.exists(
    File "/mnt/utmp/anki/lib/python2.7/site-packages/simplejson-2.1.3-py2.7-linux-armv7l.egg/simplejson/decoder.py", line 7, in <module>
    File "/mnt/utmp/anki/lib/python2.7/site-packages/simplejson-2.1.3-py2.7-linux-armv7l.egg/simplejson/scanner.py", line 10, in <module>
    File "/mnt/utmp/anki/lib/python2.7/site-packages/simplejson-2.1.3-py2.7-linux-armv7l.egg/simplejson/scanner.py", line 6, in _import_c_make_scanner
    File "/mnt/utmp/anki/lib/python2.7/site-packages/simplejson-2.1.3-py2.7-linux-armv7l.egg/simplejson/_speedups.py", line 7, in <module>
    File "/mnt/utmp/anki/lib/python2.7/site-packages/simplejson-2.1.3-py2.7-linux-armv7l.egg/simplejson/_speedups.py", line 4, in __bootstrap__
    File "/mnt/utmp/anki/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 882, in resource_filename
    File "/mnt/utmp/anki/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1351, in get_resource_filename
    File "/mnt/utmp/anki/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1406, in _extract_resource
    File "/mnt/utmp/anki/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 928, in extraction_error
  pkg_resources.ExtractionError: Can't extract file(s) to egg cache
  
  The following error occurred while trying to extract file(s) to the Python egg
  cache:
  
    [Errno 1] Operation not permitted: '/mnt/utmp/anki/.python-eggs/simplejson-2.1.3-py2.7-linux-armv7l.egg-tmp/simplejson/tmpBxJlVF.$extract'
  
  The Python egg cache directory is currently set to:
  
    /mnt/utmp/anki/.python-eggs
  
  Perhaps your account does not have write access to this directory?  You can
  change the cache directory by setting the PYTHON_EGG_CACHE environment
  variable to point to an accessible directory.
  
  [-------------------------------]{ App end }[----------------------------------]
  cleanup done
	sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/SDext3/pandora/menu//anki-1.2.8-drack3-rc1.pnd -e anki.sh -b anki
 not mounted on loop yet, doing so
 LoopMountedon: 
 /dev/loop1
 Filetype is Squashfs
 Mounting PND (mount -t squashfs) :
 /dev/loop1 on /mnt/pnd/anki type squashfs (ro)
 Filesystem is ext3
 Mounting the Union FS using /media/SDext3/pandora/appdata/anki as Write directory:
 none on /mnt/utmp/anki type aufs (rw,si=64ad0b77)
 none on /mnt/utmp/anki type aufs (rw,si=64ad0b77)
 [------------------------------]{ App start }[---------------------------------]
 /mnt/utmp/anki
 QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv failed for BOM: Bad file descriptor
 QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
 QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
 [-------------------------------]{ App end }[----------------------------------]
 cleanup done
	Drack said:Zapman, peelie: Try this PND: http://dl.dropbox.co...-drack3-rc2.pnd
Let me know if it fixes your problem.
I have never seen this happen, using Anki for 300 cards/day on my Pandora (sometimes on minimenu, sometimes on xfce). Can't say anything comes to mind about what caused it for you, but let me know if it happens again.zapman said:PS: After checking two installed decks, Anki shut down and since then the Pandora start menu has vanished. Will have to investigate this and will report back soon.
PPS: fixed the missing Pandora menu by follwing these instructions. Don't know what caused the menu disappearing in the first place though.
When I run it from Xfce I get a title bar with minimize, maximize, close. Maximizing it sometimes gets everything to fit on the screen. I'll post screenshots later.There seem to be some problems with Anki on Xfce:
# Anki isn't running in a window anymore, so you can't minimize or rescale anything. That's a problem when you want to tab out to some other program. Pressing and holding the Pandora button is a work around but somehow sub-optimal.
# The bottom status bar is about 80% out of the visible area (toolbar already moved to the side). As Anki doesn't have any window handles there is no way to move the whole thing up (the F2 options influence this, some tweaking here helped. Somehow managed to make everything visible, not sure how I did it. After restarting Anki the status bar at the bottom isn't visible anymore and the answer buttons are only half visible :/).
Basically the error message says you're not connected to the internet (though I see the wifi icon saying you are). I've been able to download plugins and sync personal decks OK. Haven't tried a public deck. One thing I've noticed is that if I connect my wifi after starting Anki then it won't be able to use the connection. Try restarting Anki.# Downloading new decks doesn't work. atm The error message is about script errors in urllib2.py . Have a look at the screenshot pls:
Yeah. This is why I disable the toolbar and sometimes run from minimenu to get rid of the taskbar too. This version of Anki is designed for desktop computers that have resolutions far exeeding the Pandora's. There's not a whole lot I can do about this unless I want to learn PyQt and fork my own version of Anki to rewrite the GUI. Keep in mind that I didn't create Anki (the program was written by Damien Elmes), so this would be a huge task.Altogether Anki runs fine but there are still problems with the scaling of content and layout. Often you are missing things at the bottom of the screen. That's a pity because there would be enough space but the layout isn't optimized for 480px vertical size yet.
	