Modify

Opened 16 years ago

Closed 16 years ago

#2 closed defect (fixed)

pbs_stat.py and others use undefined pbs_geterrmsg

Reported by: pk@… Owned by: bas
Priority: major Milestone:
Component: pbs Version: 2.9.2
Keywords: Cc:

Description

Hello,

with libtorque 2.1.1, pbs-python 2.9.2, ganglia-pbs 0.9.13 under debian/sarge. If I run pbs_stat.py:

processors = 0
/usr/bin/gmetric -npbs-state -v"P=0" -tstring -x15
Traceback (most recent call last):
  File "bin/pbs_stat.py.orig", line 495, in ?
    a.check_args(sys.argv)
  File "bin/pbs_stat.py.orig", line 483, in check_args
    self.once()
  File "bin/pbs_stat.py.orig", line 416, in once
    self.get()
  File "bin/pbs_stat.py.orig", line 266, in get
    self.error(pbs.pbs_geterrmsg(self.c))
AttributeError: 'module' object has no attribute 'pbs_geterrmsg'

this error is also found if you run "rack_pbsmon.py --help".

Best,

Peter

Attachments (0)

Change History (6)

comment:1 Changed 16 years ago by anonymous

  • Cc pk@… added
  • Owner changed from somebody to anonymous
  • Status changed from new to assigned

I have to adjust rack_pbsmon.py because that function is not supported any more. Thanks for reporting.

Another thing is ganglia_pbs is being replace by ganglia_jobmonarch.tar.gz:

ftp:;/ftp.sara.nl/pub/outgoing/ganglia_jobmonarch.tar.gz

I have to update the contrib directory for torque

comment:2 Changed 16 years ago by anonymous

  • Cc pk@… removed
  • Version changed from 2.9.0 to 2.9.2

comment:3 Changed 16 years ago by pk@…

Another thing is ganglia_pbs is being replace by ganglia_jobmonarch.tar.gz

Thanks! will try that right away.

Peter

comment:4 Changed 16 years ago by bas

  • Owner changed from anonymous to bas
  • Status changed from assigned to new

comment:5 Changed 16 years ago by bas

  • Status changed from new to assigned

comment:6 Changed 16 years ago by anonymous

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

Replace all pbs_geterrmsg to pbs.error() in trunk version.

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.