Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3134

cf-remote crashes with AttributeError: 'NoneType' object has no attribute 'strip'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.15.0
    • Component/s: cf-remote
    • Labels:
      None

      Description

      > $ cf-remote -H $(hostname)
      Traceback (most recent call last):
        File "/home/nickanderson/bin/cf-remote", line 11, in <module>
          main()
        File "/home/nickanderson/Northern.Tech/CFEngine/core/contrib/cf-remote/cf_remote/main.py", line 133, in main
          validate_args(args)
        File "/home/nickanderson/Northern.Tech/CFEngine/core/contrib/cf-remote/cf_remote/main.py", line 125, in validate_args
          args.command = args.command.strip()
      AttributeError: 'NoneType' object has no attribute 'strip'
      

        Attachments

          Release management

            Activity

              People

              Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: