Skip to content

Pyznap won't run on Ubuntu server 22.04 #97

Description

@lockheed

It is a superb tool, but I cannot get it to run on Ubuntu Server 22.04. I installed it with
pip install pyznap
but when run, I get this:

# /usr/local/bin/pyznap snap
Mar 05 19:55:15 INFO: Starting pyznap...
Traceback (most recent call last):
  File "/usr/local/bin/pyznap", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/pyznap/main.py", line 170, in main
    return _main()
  File "/usr/local/lib/python3.10/dist-packages/pyznap/main.py", line 98, in _main
    config = read_config(config_path)
  File "/usr/local/lib/python3.10/dist-packages/pyznap/utils.py", line 105, in read_config
    dic[option] = int(value)
ValueError: invalid literal for int() with base 10: '4                          # Keep 4 frequent snapshots
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions