Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.16.1
-
Security Level: Public (Visbile by non-authn users.)
-
Labels:None
Description
Source: https://ggus.eu/ws/ticket_info.php?ticket=94518
The low level infoprovider for TORQUE raises an exception when dealing with timezone:
ERROR:lcg-info-dynamic-scheduler:Execution error: Traceback (most recent call last):
File "/usr/libexec/lrmsinfo-pbs", line 52, in main
sys.stdout.write("now %d\n" % int(time.time()) + time.timezone)
TypeError: cannot concatenate 'str' and 'int' objects
The correct line of code is:
sys.stdout.write("now %d\n" % int(time.time() + time.timezone))