Daily crash on 3.4

24 views
Skip to first unread message

Balázs

unread,
Apr 2, 2020, 6:15:22 AM4/2/20
to s3ql
Hi Nicolas,

I've opened an issue on Github with this error, not sure what may be wrong. I get it daily now since the 3.4 upgrade. Maybe I've done something incorrectly during the upgrade?

2020-03-31 22:00:21.188 20300:MainThread s3ql.mount.unmount: Unmounting file system...
2020-03-31 22:00:21.195 20300:MainThread root.excepthook: Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/local/bin/mount.s3ql", line 11, in <module>
    load_entry_point('s3ql==3.4.0', 'console_scripts', 'mount.s3ql')()
  File "/usr/local/lib/python3.6/dist-packages/s3ql-3.4.0-py3.6-linux-x86_64.egg/s3ql/mount.py", line 131, in main
    trio.run(main_async, options, stdout_log_handler)
  File "/usr/local/lib/python3.6/dist-packages/trio/_core/_run.py", line 1804, in run
    raise runner.main_task_outcome.error
  File "/usr/local/lib/python3.6/dist-packages/s3ql-3.4.0-py3.6-linux-x86_64.egg/s3ql/mount.py", line 255, in main_async
    ret = await pyfuse3.main()
  File "/usr/local/lib/python3.6/dist-packages/pyfuse3-1.3.1-py3.6-linux-x86_64.egg/_pyfuse3.py", line 30, in wrapper
    await fn(*args, **kwargs)
  File "src/pyfuse3.pyx", line 727, in main
  File "/usr/local/lib/python3.6/dist-packages/trio/_core/_run.py", line 730, in __aexit__
    raise combined_error_from_nursery
  File "/usr/local/lib/python3.6/dist-packages/pyfuse3-1.3.1-py3.6-linux-x86_64.egg/_pyfuse3.py", line 30, in wrapper
    await fn(*args, **kwargs)
  File "src/internal.pxi", line 253, in _session_loop
  File "src/handlers.pxi", line 530, in fuse_fsync_async
  File "/usr/local/lib/python3.6/dist-packages/s3ql-3.4.0-py3.6-linux-x86_64.egg/s3ql/fs.py", line 1125, in fsync
    await self.cache.flush_local(fh, blockno)
TypeError: object NoneType can't be used in 'await' expression

Thanks for any tips!

Nicolas Gif

unread,
Apr 4, 2020, 3:51:18 PM4/4/20
to Balázs, s3ql
Hello,

I use s3ql 3.4.0 everyday without any problem. I use it with python 3.8.

I wonder if python >= 3.7 is required.

Nicolas

--
You received this message because you are subscribed to the Google Groups "s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s3ql+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/s3ql/7606a0c8-7c8f-47b1-a4af-c10e7ef50ab4%40googlegroups.com.

Daniel Jagszent

unread,
Apr 5, 2020, 11:19:38 AM4/5/20
to s3ql
Hi,

that is a bug in S3QL. See https://github.com/s3ql/s3ql/issues/161 for
the progress on it.

Until now, try to configure your programs not to call fsync. This bug
will only trigger, when a program calls fsync on a file descriptor.


Daniel Jagszent

unread,
Apr 5, 2020, 11:58:28 AM4/5/20
to s3ql
Sorry, did not see that Nikolaus already fixed that:
https://github.com/s3ql/s3ql/issues/159

So wait for the next patch version, or apply this patch on your own:
https://github.com/s3ql/s3ql/commit/3ac82f3b.patch

Nicolas Gif

unread,
Apr 9, 2020, 9:23:48 AM4/9/20
to s3ql
Finally I get this error but only when trying to write on the S3QL FS through a NFS share (reading is fine).

I tested with 3.3.2 : no problem.

Daniel Jagszent

unread,
Apr 9, 2020, 9:46:15 AM4/9/20
to s3ql
Hi,

Finally I get this error but only when trying to write on the S3QL FS through a NFS share (reading is fine).
Reply all
Reply to author
Forward
0 new messages