-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: None
-
Security Level: Public (Visbile by non-authn users.)
-
None
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))