Problem with python-trio with s3ql

Bug #1927158 reported by Arcus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
s3ql (Debian)
Fix Released
Unknown
s3ql (Ubuntu)
New
Undecided
Unassigned

Bug Description

on start s3ql

/usr/lib/python3/dist-packages/trio/_core/_multierror.py:468: RuntimeWarning: You seem to already have a custom sys.excepthook handler installed. I'll skip installing Trio's custom handler, but this means MultiErrors will not show full tracebacks.
  warnings.warn(

Using 2 upload threads.
Autodetected xxxx file descriptors available for cache entries
Detected Swift features for xxxx: copy via COPY, Bulk delete 1000 keys at a time, maximum meta value length is 255 bytes
Using cached metadata.
Setting cache size to 13195 MB
Loaded 0 entries from cache
ERROR: Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/bin/mount.s3ql", line 33, in <module>
    sys.exit(load_entry_point('s3ql==3.7.0', 'console_scripts', 'mount.s3ql')())
  File "/usr/lib/s3ql/s3ql/mount.py", line 131, in main
    trio.run(main_async, options, stdout_log_handler)
  File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 1804, in run
    raise runner.main_task_outcome.error
  File "/usr/lib/s3ql/s3ql/mount.py", line 207, in main_async
    block_cache.init(options.threads)
  File "/usr/lib/s3ql/s3ql/block_cache.py", line 222, in init
    self.trio_token = trio.lowlevel.current_trio_token()
  File "/usr/lib/python3/dist-packages/trio/_deprecate.py", line 125, in __getattr__
    raise AttributeError(name)
AttributeError: lowlevel

Revision history for this message
Arcus (estuaco) wrote :

Solve the problem upgrading trio to lastest versio. Install pip and "pip install -U trio".

The problem is because ubuntu has a old version of trio.

Changed in s3ql (Debian):
status: Unknown → New
Changed in s3ql (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.