Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webchanges —edit = error #10

Closed
notDavid opened this issue May 27, 2021 · 2 comments
Closed

Webchanges —edit = error #10

notDavid opened this issue May 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@notDavid
Copy link

notDavid commented May 27, 2021

Hi there,

I get this error on first run. Please advise, thank you :)

$ webchanges --edit
Traceback (most recent call last):
  File "/usr/local/bin/webchanges", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/webchanges/cli.py", line 162, in main
    first_run(command_config)
  File "/usr/local/lib/python3.8/dist-packages/webchanges/cli.py", line 112, in first_run
    YamlConfigStorage.write_default_config(command_config.config)
  File "/usr/local/lib/python3.8/dist-packages/webchanges/storage.py", line 245, in write_default_config
    config_storage = cls(None)
  File "/usr/local/lib/python3.8/dist-packages/webchanges/storage.py", line 198, in __init__
    super().__init__(filename)
  File "/usr/local/lib/python3.8/dist-packages/webchanges/storage.py", line 193, in __init__
    self.filename = Path(filename)
  File "/usr/lib/python3.8/pathlib.py", line 1038, in __new__
    self = cls._from_parts(args, init=False)
  File "/usr/lib/python3.8/pathlib.py", line 679, in _from_parts
    drv, root, parts = self._parse_args(args)
  File "/usr/lib/python3.8/pathlib.py", line 663, in _parse_args
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
$ webchanges --version
webchanges 3.6.0
@mborsetti mborsetti added the bug Something isn't working label May 27, 2021
@mborsetti mborsetti self-assigned this May 27, 2021
@mborsetti
Copy link
Owner

So sorry for the bad experience. Version 3.6.1 has just been released to fix this issue.

Unfortunately I have been unable to test initial install and this one slipped through. I think I can correctly test now, so it won't happen in the future.

Thanks for reporting!

@notDavid
Copy link
Author

Glad to help, and thank you for the quick fix! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants