Custom Query (43 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 43)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#20 fixed version info as tuple bas dennis
Description

Cuurently you can request the version through the method pbs.version(). This gives you the version of pbs_python as a string.

As a enhancement pbs.version_info should be added to return the version information as a tuple ( ie. sys.version_info ). This way it easier to compare versions.

#39 fixed Unable to build debian package bas dennis
Description

I tried to build the Debian package for version 4.4.0 but it fails:

creating /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python/usr
creating /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python/usr/lib
creating /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python/usr/lib/python2.7
creating /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python/usr/lib/python2.7/site-packages
creating /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python/usr/lib/python2.7/site-packages/pbs
copying build/lib.linux-x86_64-2.7/pbs.py -> /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs
copying build/lib.linux-x86_64-2.7/PBSQuery.py -> /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs
copying build/lib.linux-x86_64-2.7/_pbs.so -> /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs
byte-compiling /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs/pbs.py to pbs.pyc
byte-compiling /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs/PBSQuery.py to PBSQuery.pyc
running install_egg_info
Writing /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs/pbs_python-4.4.0-py2.7.egg-info
creating /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///usr/lib/python2.7/site-packages/pbs.pth
install -D LICENSE.openpbs /var/tmp/dennis/pbs_python-4.4.0/debian/pbs-python///share/doc/ /LICENSE.openpbs
install: target `/LICENSE.openpbs' is not a directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/dennis/pbs_python-4.4.0'
make: *** [debian/stamp-makefile-install] Error 2

This line tries to use the ${PACKAGE} variable. But is is not set.

DOCDIR=${prefix}/share/doc/${PACKAGE}
#53 worksforme pbs python - uwsgi bas dbikas@…
Description

Can someone explain me why this code:

import pbs
connection = pbs.pbs_connect(pbs.pbs_default())
print connection

Returns: -1 all the time if i run it under uwsgi???

server = pbs.pbs_default()
print "Server name: ", server

returns: Server: and even if i run: connection = pbs.pbs_connect(str('myservername')) i keep getting -1 as the answer

OS: ubuntu 14.04 torque version: 4.1.3 pbs_python version:4.4.0 python version: 2.7

if i run the same code under django's embbedded server or ipython in terminal it returns 1 as expected..

This is the 2nd ticket i create with the same subject. I am trying to find a solution for almost a month with no success... So if someone has any idea, or has already implemented something similar, please give me a hand. Thanks in advance.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.