Modify

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#42 closed defect (fixed)

Error Codes Out of Date

Reported by: JimCarreer Owned by: bas
Priority: minor Milestone:
Component: pbs Version: 4.4.0
Keywords: Cc:

Description

pbs_python reports the wrong error codes for responses returned from the server. The error lies in the mapping, and can be easily fixed.

See https://github.com/adaptivecomputing/torque/blob/4.2.7/src/include/pbs_error_db.h

For the up-to-date list. The symptoms of this bug cause the error message "Queue already exists" for the "Bad UID for job execution" error among others.

See also: http://stackoverflow.com/questions/23410801/torque-pbs-python-submit-job-error-15025-queue-already-exists

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by glen.beane@…

instead of including a hard copy of these strings, could pbs_python rely on libtorque to convert the error code to a string?

/*

  • pbs_strerror() - return a pbs text message for an PBS error number
  • if it exists or return strerror results

*/

comment:2 Changed 9 years ago by bas

  • Status changed from new to assigned

This is now done for the 5.x branch, see #47

Last edited 9 years ago by bas (previous) (diff)

comment:3 Changed 9 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

I will close this ticket

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.