mxmlnkn / rapidgzip

Gzip Decompression and Random Access for Modern Multi-Core Machines
Apache License 2.0
344 stars 7 forks source link

Pragzip Error got an unexpected keyword argument 'verbose' #15

Closed agoertz-fls closed 1 year ago

agoertz-fls commented 1 year ago

Hi,

I recently noticed an error like this when using pragzip:

[Info] Reopening the gzip with the pragzip backend...
[Info] Checking for (compressed) TAR file raised an exception: __init__() got an unexpected keyword argument 'verbose'
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/ratarmountcore/factory.py", line 58, in openMountSource
    return SQLiteIndexedTar(fileOrPath, **options)
  File "/usr/lib/python3.10/site-packages/ratarmountcore/SQLiteIndexedTar.py", line 728, in __init__
    self._loadOrStoreCompressionOffsets()  # load
  File "/usr/lib/python3.10/site-packages/ratarmountcore/SQLiteIndexedTar.py", line 1520, in _loadOrStoreCompressionOffsets
    self._reloadWithPragzip()
  File "/usr/lib/python3.10/site-packages/ratarmountcore/SQLiteIndexedTar.py", line 1575, in _reloadWithPragzip
    self.tarFileObject = pragzip.PragzipFile(
  File "pragzip.pyx", line 196, in pragzip.PragzipFile.__init__
TypeError: __init__() got an unexpected keyword argument 'verbose'

In the githubrepo it looks like the verbose parameter is not there. self.rawFileObject, parallelization=self.parallelization, verbose=self.printDebug >= 2

Kind regards, Alex

agoertz-fls commented 1 year ago

Sorry wrong project