Skip to content

default_resource_list_walltime is not defined #1

@speleolinux

Description

@speleolinux

When viewing jobs occasionally an error occurs. The uwsgi log shows:

Traceback (most recent call last):

File "/var/www/wsgi/virtualenvs/pbsweb/lib/python2.7/site-packages/bottle.py", line 862, 
    in _handle return route.call(**args)
File "/var/www/wsgi/virtualenvs/pbsweb/lib/python2.7/site-packages/bottle.py", line 1740, in 
    wrapper rv = callback(*a, **ka)
File "/var/www/wsgi/virtualenvs/pbsweb/lib/python2.7/site-packages/bottle.py", line 3639, in 
    wrapper result = func(*args, **kwargs)
File "./pbsweb.py", line 166, in jobs_page  jobs = job_attributes_reformat(jobs)
File "./pbsutils.py", line 439, in job_attributes_reformat
    attributes['resource_list_walltime'] = '%s:%s' % default_resource_list_walltime

NameError: global name 'default_resource_list_walltime' is not defined

Looking at qstat it shows a job with a "B" flag as there were some array jobs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions