Reply
Thread Tools
Posts: 27 | Thanked: 72 times | Joined on Jan 2012
#1
I bought a used N900 and flashed it. Once I had flashed the Nokia firmware and upgraded to the latest CSSU testing, I installed through App Manager all of the applications that I wanted. However, Python is now broken, so that when I try to launch, for example, Mnemosyne, it doesn't open. Opening a shell and typing python produces the following output:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Python 2.5.4 (r254:67916, May 17 2010, 21:00:32)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
What happened, how do I fix this?
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#2
Try the suggested -v option to get some sensible traceback
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 27 | Thanked: 72 times | Joined on Jan 2012
#3
This appears to be a pymaemo-optify bug, where the mounting setup is not done properly on boot. If I install all these python packages in the right order, then things work fine as long as I don’t shut the device down. If I do shut my N900 down and reboot, python produces the error I pasted above. I guess I’ll have to go searching through the pymaemo-optify .deb to find the startup script and ensure myself that it gets executed on boot.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:23.