Custom Query (43 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 43)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#30 fixed Debian package with broken dependency bas guillermo.marcus@…
Description

Hi,

The debian package is quite handy, but it depends in the torque package. The packaging of torque in debian has changed (split in several torque-* and libtorque2*) packages, so this dependency creates a broken situation. You might want to replace it with libtorque2 or libtorque2-dev.

Could you update the package to be compatible with newer distributions?

Best wishes, Guillermo Marcus

#32 fixed incorrect version check bas thomas.moschny@…
Description

While trying to use pbs_python with Torque 3.0.0 we saw that the 2.1 versions of pbs.py and pbs_wrap.py are symlinked and used, and not the 2.4 ones. This results in certain functions not being available.

The reason is this check in setup.py:

if major_version  >= 2 and minor_version >= 4 and build_version >= 7:

Obviously this evals to False when major_version is 3, but minor_version and build_version are 0.

Using tuple comparison like this:

if (major_version, minor_version, build_version) > (2, 4, 7):

fixes the issue for us.

#33 fixed PBSQuery.PBSError: Attribute key error: __nonzero__ bas anonymous
Description

I've been playing around with PBSQuery for a few minutes; please let me know if I'm missing something obvious.

PBSQuery.getjob() returns and empty dictionary if the job is not found, and returns some other object that can be used like a dictionary if the job is found.

What I would like to do is something like this:

status = pbsq.getjob(id) if status:

#do something

else:

#job not in queue

however, if the job is found this will fail:

PBSQuery.PBSError: Attribute key error: nonzero

if the job is not found, this code is fine because a dict implements nonzero(self)

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