After adding a few books, I tried to update my library watchlist (I have 3 main directories, plus their subdirectories), but mcomix would freeze after addig one or two books. Trying to update again afterward made it freeze without adding any books.
Running mcomix via terminal and trying to update again gave me the following error:
11:44:31 [MainThread] WARNING: subprocess32 not available! using subprocess
11:44:31 [MainThread] WARNING: czipfile not available! using zipfile
11:45:19 [MainThread] ERROR: ! Callback <bound method ?._new_files_found of <_LibraryDialog object at 0x7fe2a4241960 (GtkWindow at 0x55695d6db4c0)>> failed: [Errno 22]
I've never seen this before, and this issue started in the space of a half hour without any changes to system or mcomix itself.
Wiping my Library and trying to add books via right-click>Add>directory adds several books, then stops and throws this error:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/mcomix/file_chooser_base_dialog.py", line 251, in _response
self.files_chosen(paths)
File "/usr/lib/python2.7/site-packages/mcomix/file_chooser_library_dialog.py", line 65, in files_chosen
self._library.add_books(paths, None)
File "/usr/lib/python2.7/site-packages/mcomix/library/main_dialog.py", line 149, in add_books
library_add_progress_dialog._AddLibraryProgressDialog(self, self._window, paths, collection_id)
File "/usr/lib/python2.7/site-packages/mcomix/library/add_progress_dialog.py", line 64, in init
if library.backend.add_book(path, collection):
File "/usr/lib/python2.7/site-packages/mcomix/library/backend.py", line 309, in add_book
info = archive_tools.get_archive_info(path)
File "/usr/lib/python2.7/site-packages/mcomix/archive_tools.py", line 188, in get_archive_info
files = archive.list_contents()
File "/usr/lib/python2.7/site-packages/mcomix/archive/archive_recursive.py", line 93, in list_contents
return [f for f in self.iter_contents()]
File "/usr/lib/python2.7/site-packages/mcomix/archive/archive_recursive.py", line 83, in iter_contents
for f in self._iter_contents(self._main_archive):
File "/usr/lib/python2.7/site-packages/mcomix/archive/archive_recursive.py", line 31, in _iter_contents
for f in archive.iter_contents():
File "/usr/lib/python2.7/site-packages/mcomix/archive/tar.py", line 30, in iter_contents
info = self.tar.next()
File "/usr/lib/python2.7/tarfile.py", line 2347, in next
self.fileobj.seek(self.offset - 1)
IOError: [Errno 22] Invalid argument
Updating mcomix to the latest git version didn't help.
this is still happening.