pandora_client in server/master mode on openindiana when update is called #1499

Open
opened 2013-05-08 16:24:32 +00:00 by uwe · 2 comments

running pandora_client on openindiana in server mode returns an error when http:///update is called, the error is:

checking for new files ...
Unhandled exception in thread started by
Traceback (most recent call last):

File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/server.py", line 162, in update
File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/init.py", line 442, in scan
File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/init.py", line 313, in scan_file
File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/utils.py", line 44, in avinfo
File "/usr/lib/python2.6/site-packages/ox-2.1.541-py2.6.egg/ox/file.py", line 138, in avinfo
return cache(filename, 'info')
File "/usr/lib/python2.6/site-packages/ox-2.1.541-py2.6.egg/ox/file.py", line 62, in cache
value = avinfo(filename, cached=False)
File "/usr/lib/python2.6/site-packages/ox-2.1.541-py2.6.egg/ox/file.py", line 142, in avinfo
info, error = p.communicate()
File "/usr/lib/python2.6/subprocess.py", line 689, in communicate
return self._communicate(input)
File "/usr/lib/python2.6/subprocess.py", line 1233, in _communicate
self.wait()
File "/usr/lib/python2.6/subprocess.py", line 1157, in wait
pid, sts = os.waitpid(self.pid, 0)
OSError: [4]Errno Interrupted system call

running pandora_client on openindiana in server mode returns an error when http://<server ip:port>/update is called, the error is: checking for new files ... Unhandled exception in thread started by Traceback (most recent call last): > File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/server.py", line 162, in update > File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/*init*.py", line 442, in scan > File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/*init*.py", line 313, in scan_file > File "build/bdist.solaris-2.11-i86pc/egg/pandora_client/utils.py", line 44, in avinfo > File "/usr/lib/python2.6/site-packages/ox-2.1.541-py2.6.egg/ox/file.py", line 138, in avinfo return cache(filename, 'info') > File "/usr/lib/python2.6/site-packages/ox-2.1.541-py2.6.egg/ox/file.py", line 62, in cache value = avinfo(filename, cached=False) > File "/usr/lib/python2.6/site-packages/ox-2.1.541-py2.6.egg/ox/file.py", line 142, in avinfo info, error = p.communicate() > File "/usr/lib/python2.6/subprocess.py", line 689, in communicate return self._communicate(input) > File "/usr/lib/python2.6/subprocess.py", line 1233, in _communicate self.wait() > File "/usr/lib/python2.6/subprocess.py", line 1157, in wait pid, sts = os.waitpid(self.pid, 0) OSError: [4]Errno Interrupted system call
j added the
general
label 2013-05-08 16:24:32 +00:00
0x2620 was assigned by j 2013-05-08 16:24:32 +00:00
j added the
normal
defect
labels 2013-05-08 16:24:32 +00:00
Owner

thats odd, if ffmpeg2theora still working? the one in ~/.ox/bin/

thats odd, if ffmpeg2theora still working? the one in ~/.ox/bin/
Author

hrm ... i think yes, we get things working by using different installs of the pandora_client for scan/sync and the other for server. anyway, i found this diff which i think was handling old python issue:


diff pandora_client/client.py /home/admin/Downloads/pandora_client-0.2.133/pandora_client/client.py
38c38
<             self.encode(**data)
---
>             self.encode(data['oshash'], data['cmd'], data['output'])

hrm ... i think yes, we get things working by using different installs of the pandora_client for scan/sync and the other for server. anyway, i found this diff which i think was handling old python issue: ``` diff pandora_client/client.py /home/admin/Downloads/pandora_client-0.2.133/pandora_client/client.py 38c38 < self.encode(**data) --- > self.encode(data['oshash'], data['cmd'], data['output']) ```
rlx added this to the 13.02 milestone 2013-05-29 10:38:27 +00:00
rlx modified the milestone from 13.02 to 14.03 2014-02-09 19:27:56 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#1499
No description provided.