geekmaster / eyefiserver2

Automatically exported from code.google.com/p/eyefiserver2
0 stars 0 forks source link

import module error on qnap ts-119p+ #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
installed latest available qpkg.filled in all information on 1st & 2nd tab. as 
soon as i try to start the server i get the following error message:
Traceback (most recent call last):
 File "/usr/local/bin/eyefiserver.py", line 59, in <module>
  import simplejson
ImportError: no module named simplejson

Original issue reported on code.google.com by eric.ble...@gmail.com on 1 Jul 2012 at 12:51

GoogleCodeExporter commented 8 years ago
Please post a result of execution of this command:
ipkg list_installed | grep py

Original comment by duke...@gmail.com on 1 Jul 2012 at 7:57

GoogleCodeExporter commented 8 years ago
Please also try the new build 0.0.11, it will use json build-in with Python 
2.6+ is simplejson is not presnet.

Original comment by duke...@gmail.com on 2 Jul 2012 at 5:53

GoogleCodeExporter commented 8 years ago
Sorry,  same result as before except it is now line 61. Python 271 qpkg is 
installed. I did change thr code on eyefiserver.py aswell on version 0.0.9 but 
with the same error coming up. 

Original comment by eric.ble...@gmail.com on 2 Jul 2012 at 8:55

GoogleCodeExporter commented 8 years ago
This package requires Optware Python. QPKG Pyton won't be used until Optware 
Python was not installed, which should have be done automatically on 
installation of this QPKG. Default Optware Python from QNAP x86 repository is 
version 2.5, which have integrated simplejson. There is still an issue with 
reloading configuration in Optware Python. So please, if you're able to telnet 
to your QNAP, run the command mentioned above to investigate your Optware 
Python version.

Original comment by duke...@gmail.com on 3 Jul 2012 at 4:00

GoogleCodeExporter commented 8 years ago
This is strange, but there is no json issue on QNAP x86 IPKG Python 2.7 nor 
Optware python 2.5-2.7. Anyway I strictly recommend using Optware Python 2.5 
for now, because of daemon crash on reload configuraton with Python 2.6+ for 
now.

Original comment by duke...@gmail.com on 3 Jul 2012 at 7:00

GoogleCodeExporter commented 8 years ago
Please check the new version, server will not fail to start if there is no 
json/simplejson support in a current Python build, but geolocation information 
won't be saved in that case for now.

Original comment by duke...@gmail.com on 5 Jul 2012 at 8:04

GoogleCodeExporter commented 8 years ago

Original comment by duke...@gmail.com on 5 Jul 2012 at 8:05