Uploaded image for project: 'CREAM'
  1. CREAM
  2. CREAM-107

Bad timezone format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.16.1
    • 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))

            andreett Paolo Andreetto
            andreett Paolo Andreetto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: