Author Topic: Where does qube pick it's callback interpreter from?  (Read 3691 times)

dgibbons

  • Jr. Member
  • **
  • Posts: 3
Where does qube pick it's callback interpreter from?
« on: March 21, 2008, 05:55:57 PM »
Most versions of python we have on our systems are python2.4 however it appears when a callback is submitted to qube it's somehow found a 2.3 version.

I submitted a callback that did a print of sys.executable, sys.path and sys.modules.

/usr/bin/python
['/usr/lib64/python23.zip', '/usr/lib64/python2.3/', '/usr/lib64/python2.3/plat-linux2', '/usr/lib64/python2.3/lib-tk', '
/usr/lib64/lib-dynload']
{'zipimport': <module 'zipimport' (built-in)>, 'signal': <module 'signal' (built-in)>, '__builtin__': <module '__builtin_
_' (built-in)>, 'sys': <module 'sys' (built-in)>, 'qb': <module 'qb' (built-in)>, '__main__': <module '__main__' (built-i
n)>, 'exceptions': <module 'exceptions' (built-in)>}
2.3.4 (#1, Jan  9 2007, 16:40:09)



Thats supposedly on the supervisor right? but /usr/bin/python on the supervisor is 2.4.3 not 2.3.4

What am I missing here? since the paths for the 2.3 libraries don't exist on our system, it can't find even standard library stuff like OS which makes going around it and calling a second script through os.system rather difficult ;)

suggestions? enlightenment?

eric

  • Hero Member
  • *****
  • Posts: 229
Re: Where does qube pick it's callback interpreter from?
« Reply #1 on: March 21, 2008, 10:45:23 PM »
It's the Supervisor's built-in version of Python.
You'll probably need to install a 2.3 Python in order to get around this limitation.