View Single Post
Old 03-06-2022, 12:07 AM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,864
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
At a wild eyed guess, that plugin has not been updated to Python 3.

Take a look at model.py where you see import urllib2 and then later where you see lines starting with calibreRestSearchResponse = urllib2.urlopen(. urllib2 is deprecated in Python 3.

Edit: I had a bit of time to kill so I ran 2to3 (convert python2 code to python3 code) against the .py files for the plugin and added the modified files to a zip archive. The resultant plugin comes up asking which tool bars to show in and after a restart, the configuration dialog shows when I click on the icon. When I have the calibre server running on port 8080 and open the OPDS client, I can see the various selection options and libraries, etc. If I remove the checkmark on Hide books already in library, I can see the books. Since I am looking at the existing libraries, this is a bit useless other than for testing.
Attached Files
File Type: zip opds_client_2to3.zip (9.3 KB, 183 views)

Last edited by DNSB; 03-06-2022 at 12:43 AM.
DNSB is offline   Reply With Quote