Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-1200

oneCmd.py fail on shell-ics vnc terminal

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      oneCmd.py fail on shell-ics vnc terminal.

      pfs@shell-ics:~$ oneCmd.py iic status
      Traceback (most recent call last):
        File "/software/mhs/products/Linux64/tron_actorcore/2.2.5/bin/oneCmd.py", line 156, in <module>
          main()
        File "/software/mhs/products/Linux64/tron_actorcore/2.2.5/bin/oneCmd.py", line 152, in main
          printTimes=(not opts.noTimes))
        File "/software/mhs/products/Linux64/tron_actorcore/2.2.5/bin/oneCmd.py", line 27, in __init__
          self.identifyingCmd = self._identifyOurself()
        File "/software/mhs/products/Linux64/tron_actorcore/2.2.5/bin/oneCmd.py", line 53, in _identifyOurself
          user = os.getlogin().translate(tr)
      FileNotFoundError: [Errno 2] No such file or directory
      

      as for :
      https://bugs.python.org/issue584566
      will use os.getenv('USER') if os.getlogin() fails.

        Attachments

          Activity

            People

            • Assignee:
              arnaud.lefur arnaud.lefur
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: