Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obok not running in Calibre 6.2.1 #114

Closed
FramesLoaf opened this issue Aug 2, 2022 · 3 comments
Closed

Obok not running in Calibre 6.2.1 #114

FramesLoaf opened this issue Aug 2, 2022 · 3 comments

Comments

@FramesLoaf
Copy link

calibre, version 6.2.1
ERROR: Unhandled exception: AttributeError:type object 'QTableWidgetItem' has no attribute 'UserType'

calibre 6.2.1 embedded-python: True
macOS-12.5-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Sat Jun 18 17:05:47 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T8101')
Python 3.10.1
OSX: ('12.5', ('', '', ''), 'arm64')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 49, 0) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && KePub Input (3, 6, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 6, 3) && Kobo Books (1, 9, 2) && Kobo Utilities (2, 16, 6) && KoboTouchExtended (3, 6, 3) && Obok DeDRM (10, 0, 3)
Traceback (most recent call last):
File "calibre_plugins.obok_dedrm.action", line 135, in launchObok
dlg = SelectionDialog(self.gui, self, books)
File "calibre_plugins.obok_dedrm.dialogs", line 102, in init
self.books_table.populate_table(self.books)
File "calibre_plugins.obok_dedrm.dialogs", line 154, in populate_table
self.populate_table_row(row, book)
File "calibre_plugins.obok_dedrm.dialogs", line 179, in populate_table_row
status_cell = IconWidgetItem(None, icon, val)
File "calibre_plugins.obok_dedrm.dialogs", line 439, in init
ReadOnlyTableWidgetItem.init(self, text)
File "calibre_plugins.obok_dedrm.dialogs", line 412, in init
QTableWidgetItem.init(self, text, QTableWidgetItem.UserType)
AttributeError: type object 'QTableWidgetItem' has no attribute 'UserType'

@noDRM
Copy link
Owner

noDRM commented Aug 3, 2022

Thanks for the report, can you test this version and see if that fixes the issue?

https://github.com/noDRM/DeDRM_tools/suites/7649848781/artifacts/318422140

@FramesLoaf
Copy link
Author

That seems to have worked, thank you!

@noDRM
Copy link
Owner

noDRM commented Aug 3, 2022

Thanks for testing; fix will be included in the next release whenever that will be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants