2011-01-11, 10:57
Hello,
I get a very strange error while running in xbmc. When run from terminal it works fine. Is it a conflict with xbmc or is just becuase xbmc runs a different version of python? I guess I have to check if I can force a lower version when testing in terminal like in java.
I am a bit confused since I see that popen is the old way of doing it. Perhaps not old enough for xbmc?
I get a very strange error while running in xbmc. When run from terminal it works fine. Is it a conflict with xbmc or is just becuase xbmc runs a different version of python? I guess I have to check if I can force a lower version when testing in terminal like in java.
I am a bit confused since I see that popen is the old way of doing it. Perhaps not old enough for xbmc?
Code:
09:45:44 T:2945805168 M:1041702912 NOTICE: TESTTEST= os.popen("dpkg -l")
09:45:44 T:2945805168 M:1041702912 NOTICE: OSError
09:45:44 T:2945805168 M:1041702912 NOTICE: :
09:45:44 T:2945805168 M:1041702912 NOTICE: (0, 'Error')