Keeps crashing

Such errors should not be in the logs and should be catched properly with 
exception handling and
clear description what does happen !!!

--- snip ---
2021-11-06 04:18:04.042 2371590:Thread-2 s3ql.mount.exchook: Unhandled 
exception in thread, terminating
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/mount.py",
 
line 58, in run_with_except_hook
    run_old(*args, **kw)
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
 
line 319, in _upload_loop
    self._do_upload(*tmp)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
 
line 384, in _do_upload
    obj_size = backend.perform_write(do_write, 's3ql_data_%d'
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
 
line 108, in wrapped
    return method(*a, **kw)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
 
line 279, in perform_write
    return fn(fh)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
 
line 389, in __exit__
    self.close()
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
 
line 383, in close
    self.fh.close()
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
 
line 548, in close
    self.fh.close()
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
 
line 108, in wrapped
    return method(*a, **kw)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 912, in close
    resp = self.backend._do_request('PUT', '/%s%s' % (self.backend.prefix, 
self.key),
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 531, in _do_request
    self._parse_error_response(resp)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 565, in _parse_error_response
    raise get_S3Error(tree.findtext('Code'), tree.findtext('Message'), 
resp.headers)
s3ql.backends.s3c.S3Error: NoSuchEntity: The entity in your request cannot 
be found.
2021-11-06 04:18:04.047 2371590:MainThread s3ql.mount.unmount: Unmounting 
file system...
2021-11-06 04:18:04.047 2371590:Thread-2 root.excepthook: Uncaught 
top-level exception:
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/mount.py",
 
line 58, in run_with_except_hook
    run_old(*args, **kw)
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
 
line 319, in _upload_loop
    self._do_upload(*tmp)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
 
line 384, in _do_upload
    obj_size = backend.perform_write(do_write, 's3ql_data_%d'
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
 
line 108, in wrapped
    return method(*a, **kw)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
 
line 279, in perform_write
    return fn(fh)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
 
line 389, in __exit__
    self.close()
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
 
line 383, in close
    self.fh.close()
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
 
line 548, in close
    self.fh.close()
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
 
line 108, in wrapped
    return method(*a, **kw)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 912, in close
    resp = self.backend._do_request('PUT', '/%s%s' % (self.backend.prefix, 
self.key),
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 531, in _do_request
    self._parse_error_response(resp)
  File 
"/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 565, in _parse_error_response
    raise get_S3Error(tree.findtext('Code'), tree.findtext('Message'), 
resp.headers)
s3ql.backends.s3c.S3Error: NoSuchEntity: The entity in your request cannot 
be found.
---

Op zaterdag 6 november 2021 om 00:59:08 UTC+1 schreef Amos T:

> s3ql crashing for some reason
> and makes it highly unstable on my sys.
>
> --- snip ---
> 2021-11-06 00:47:40.630 2373161 <(630)%20237-3161>:Thread-2 
> s3ql.mount.exchook: Unhandled exception in thread, terminating
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/mount.py",
>  
> line 58, in run_with_except_hook
>     run_old(*args, **kw)
>   File "/usr/lib/python3.9/threading.py", line 892, in run
>     self._target(*self._args, **self._kwargs)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
>  
> line 319, in _upload_loop
>     self._do_upload(*tmp)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
>  
> line 384, in _do_upload
>     obj_size = backend.perform_write(do_write, 's3ql_data_%d'
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
>  
> line 108, in wrapped
>     return method(*a, **kw)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
>  
> line 279, in perform_write
>     return fn(fh)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
>  
> line 389, in __exit__
>     self.close()
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
>  
> line 383, in close
>     self.fh.close()
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/comprenc.py",
>  
> line 548, in close
>     self.fh.close()
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
>  
> line 108, in wrapped
>     return method(*a, **kw)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
>  
> line 912, in close
>     resp = self.backend._do_request('PUT', '/%s%s' % (self.backend.prefix, 
> self.key),
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
>  
> line 531, in _do_request
>     self._parse_error_response(resp)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/s3c.py",
>  
> line 565, in _parse_error_response
>     raise get_S3Error(tree.findtext('Code'), tree.findtext('Message'), 
> resp.headers)
> s3ql.backends.s3c.S3Error: NoSuchEntity: The entity in your request cannot 
> be found.
> 2021-11-06 00:47:40.637 2373161:MainThread s3ql.mount.unmount: Unmounting 
> file system...
> 2021-11-06 00:47:40.637 2373161:Thread-2 root.excepthook: Uncaught 
> top-level exception:
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/mount.py",
>  
> line 58, in run_with_except_hook
>     run_old(*args, **kw)
>   File "/usr/lib/python3.9/threading.py", line 892, in run
>     self._target(*self._args, **self._kwargs)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
>  
> line 319, in _upload_loop
>     self._do_upload(*tmp)
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/block_cache.py",
>  
> line 384, in _do_upload
>     obj_size = backend.perform_write(do_write, 's3ql_data_%d'
>   File 
> "/usr/local/lib/python3.9/dist-packages/s3ql-3.7.3-py3.9-linux-x86_64.egg/s3ql/backends/common.py",
>  
> line 108, in wrapped
>     return method(*a, **kw)
> --- snip ---
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/3c5f7827-f584-41b2-a25b-2fe2fe0cce95n%40googlegroups.com.

Reply via email to