Skip to content

raise JSONDecodeError("Expecting value", s, err.value) from None #3

Description

@Dinth

Hey. It doesnt seem to work for me

[michal@dinth-nixos-desktop:~/Documents/jellyfinCleaner]$ jellyfin-cleanup --url http://10.10.1.13:8086 --api-key xxxxx --dry-run /run/user/1000/kio-fuse-wHhjjg/sftp/10.10.1.13/Data/IT/pinchflat_downloads/Baby\ videos/
08:08:14  INFO      Checking connectivity → http://10.10.1.13:8086
08:08:14  INFO      HTTP Request: GET http://10.10.1.13:8086/System/Info/Public "HTTP/1.1 200 OK"
Traceback (most recent call last):
File "/tmp/nix-shell-174838-2829358672/tmp.7yMHQOLNih/bin/jellyfin-cleanup", line 10, in <module>
sys.exit(main_sync())
~~~~~~~~~^^
File "/tmp/nix-shell-174838-2829358672/tmp.7yMHQOLNih/lib/python3.13/site-packages/jellyfin_cleanup/core.py", line 116, in main_sync
asyncio.run(main(cfg))
~~~~~~~~~~~^^^^^^^^^^^
File "/nix/store/44rn0p64x92bnnh7cwn6x6ybvflybmvz-python3-3.13.12/lib/python3.13/asyncio/runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/nix/store/44rn0p64x92bnnh7cwn6x6ybvflybmvz-python3-3.13.12/lib/python3.13/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/nix/store/44rn0p64x92bnnh7cwn6x6ybvflybmvz-python3-3.13.12/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "/tmp/nix-shell-174838-2829358672/tmp.7yMHQOLNih/lib/python3.13/site-packages/jellyfin_cleanup/core.py", line 29, in main
await jf.check_connectivity()
File "/tmp/nix-shell-174838-2829358672/tmp.7yMHQOLNih/lib/python3.13/site-packages/jellyfin_cleanup/client.py", line 121, in check_connectivity
info = r.json()
File "/tmp/nix-shell-174838-2829358672/tmp.7yMHQOLNih/lib/python3.13/site-packages/httpx/_models.py", line 832, in json
return jsonlib.loads(self.content, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/44rn0p64x92bnnh7cwn6x6ybvflybmvz-python3-3.13.12/lib/python3.13/json/__init__.py", line 352, in loads
return _default_decoder.decode(s)
~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/nix/store/44rn0p64x92bnnh7cwn6x6ybvflybmvz-python3-3.13.12/lib/python3.13/json/decoder.py", line 345, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/44rn0p64x92bnnh7cwn6x6ybvflybmvz-python3-3.13.12/lib/python3.13/json/decoder.py", line 363, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions