$ sstream-query https://images.lxd.canonical.com/
Traceback (most recent call last):
  File "/usr/bin/sstream-query", line 149, in <module>
    main()
  File "/usr/bin/sstream-query", line 138, in main
    tmirror.sync(smirror, path)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
88, in sync
    content, payload = reader.read_json(path)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
41, in read_json
    with self.source(path) as source:
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 
75, in __enter__
    self.open()
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 
132, in open
    self.fd = self._open()
              ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 
128, in _open
    raise myerr
OSError: Unable to open 
https://images.lxd.canonical.com/streams/v1/index.sjson. mirrors=[]


I was half expecting the -U option to revert to the json file, but it still 
looks for sjson:
$ sstream-query -U https://images.lxd.canonical.com/
Traceback (most recent call last):
  File "/usr/bin/sstream-query", line 149, in <module>
    main()
  File "/usr/bin/sstream-query", line 138, in main
    tmirror.sync(smirror, path)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
88, in sync
    content, payload = reader.read_json(path)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 
41, in read_json
    with self.source(path) as source:
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 
75, in __enter__
    self.open()
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 
132, in open
    self.fd = self._open()
              ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 
128, in _open
    raise myerr
OSError: Unable to open 
https://images.lxd.canonical.com/streams/v1/index.sjson. mirrors=[]


** Changed in: simplestreams
       Status: New => Confirmed

** Changed in: simplestreams (Ubuntu)
       Status: New => Confirmed

** Changed in: simplestreams (Ubuntu Noble)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084993

Title:
  Simplestreams package doesn't support json. It always looks for sjson

To manage notifications about this bug go to:
https://bugs.launchpad.net/simplestreams/+bug/2084993/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to