Forum Discussion

simon's avatar
simon
Puritan
4 years ago

dflores you could raise a GitHub issue at <https:/...

dflores you could raise a GitHub issue at https://github.com/PureStorage-OpenConnect/nagios-plugins/issues. If there is a longer putput that would be helpful. Syntax error doesn't help in tracking down the actual failing line

6 Replies

  • Thank you Simon. I am waiting for the customer give me more details regarding the issue. I will also ask about the Purity version and the Python version that did work as well… Thank you again
  • looks like this was already reported, with a suggested fix? https://github.com/PureStorage-OpenConnect/nagios-plugins/issues/11
  • img src="https://datamigrationblob.blob.core.windows.net/datamigrationconnector/purestorage/third_migration_extract/slack/assets/emojis/thumbs_up.png"
  • So the f-string is a valid Python string format as described by PEP498. I suspect that using Python 2.7 is the issue, especially as 2.7 is now deprecated and unsupported. I would suggest using a much more modern version of Python, such as 3.8 and seeing it that fails or not.
  • looks like PEP498 was introduced in python 3.6 - might be worth putting a python version compatibility notice on the repo? definitely sounds like trying python 3.6+ would be the way to go
  • (given how much legacy python is still out there... )