Git Product home page Git Product logo

calibre-comicvine's People

Contributors

xchewtoyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

calibre-comicvine's Issues

Plugin is failing to download covers

Looks like cover download is now failing consistently:

****************************** Comicvine Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')]
Failed to download valid cover
Took 0.00299978256226 seconds
Downloading cover from: /uploads/scale_large/6/67663/2952195-01.jpg
Failed to download cover from: /uploads/scale_large/6/67663/2952195-01.jpg
Traceback (most recent call last):
File "calibre_plugins.comicvine.source", line 172, in download_cover
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 216, in _mech_open
BrowserStateError: can't fetch relative reference: not viewing any document


SyntaxError:Missing parentheses in call to 'print'

Trying to import into Calibre 5.26 and received the following error for the zip file I created based on the manifest file.

calibre 5.26 embedded-python: True is64bit: True
Linux-4.4.180+-x86_64-with-glibc2.2.5 Linux ('64bit', '')
('Linux', '4.4.180+', '#41890 SMP Thu Jul 15 03:37:40 CST 2021')
Python 3.8.5
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 43, 0) && Package KFX (from KFX Input) (1, 43, 0) && Action Chains (1, 13, 0) && Embed Comic Metadata (1, 6, 1) && Find Duplicates (1, 8, 10) && Goodreads (1, 5, 1) && KFX metadata reader (from KFX Input) (1, 43, 0) && KFX Input (1, 43, 0) && Reading List (1, 7, 6)
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 327, in add_plugin
File "calibre/customize/ui.py", line 477, in add_plugin
File "calibre/customize/ui.py", line 65, in load_plugin
File "calibre/customize/zipplugin.py", line 293, in load
File "importlib/init.py", line 127, in import_module
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "calibre/customize/zipplugin.py", line 192, in exec_module
File "calibre_plugins.comicvine.init", line 4, in
from calibre_plugins.comicvine.source import Comicvine
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "calibre/customize/zipplugin.py", line 185, in exec_module
File "calibre/customize/zipplugin.py", line 181, in get_code
File "calibre_plugins.comicvine.source", line 67
print result_text
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(result_text)?

Plugin Configuration Fails

The plugin returns this error when trying to configure on Mac OS X 10.8.4, calibre 0.9.34 & v0.9.1 of the plugin:

calibre, version 0.9.34
ERROR: Unhandled exception: <b>AttributeError</b>:'ConfigWidget' object has no attribute 'label'

Traceback (most recent call last):
  File "site-packages/calibre/gui2/preferences/plugins.py", line 285, in double_clicked
  File "site-packages/calibre/gui2/preferences/plugins.py", line 364, in modify_plugin
  File "site-packages/calibre/customize/__init__.py", line 150, in do_user_config
  File "calibre_plugins.comicvine.source", line 42, in config_widget
  File "calibre_plugins.comicvine.config", line 31, in __init__
AttributeError: 'ConfigWidget' object has no attribute 'label'

Failing to download covers

Looks like this is broken again, unfortunately.

****************************** Comicvine Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')]
Failed to download valid cover
Took 0.0900001525879 seconds
Downloading cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_large/6/67663/3301960-09.jpg
Failed to download cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_large/6/67663/3301960-09.jpg
Traceback (most recent call last):
File "calibre_plugins.comicvine.source", line 173, in download_cover
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_opener.py", line 193, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1118, in do_open
URLError:


Error with Calibre 5.40

I get the following error when trying to install on Calibre 5.40

calibre, version 5.40.0
ERROR: Unhandled exception: ModuleNotFoundError:No module named 'Queue'

calibre 5.40 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1) && Count Pages (1, 11, 2) && Embed Comic Metadata (1, 6, 1) && EpubSplit (3, 3, 0) && Obok DeDRM (7, 2, 1) && Reading List (1, 8, 0)
Traceback (most recent call last):
File "calibre\gui2\preferences\plugins.py", line 326, in add_plugin
File "calibre\customize\ui.py", line 476, in add_plugin
File "calibre\customize\ui.py", line 64, in load_plugin
File "calibre\customize\zipplugin.py", line 292, in load
File "importlib_init_.py", line 127, in import_module
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "calibre\customize\zipplugin.py", line 191, in exec_module
File "calibre_plugins.comicvine.init", line 4, in
File "calibre\customize\zipplugin.py", line 191, in exec_module
File "calibre_plugins.comicvine.source", line 8, in
ModuleNotFoundError: No module named 'Queue'

No module named PyQt4.Qt

Calibre 2.53
Linux Mint 17.3

I assume it's not compatible with the latest Calibre version. are there any ways around this or does anyone know the latest release this plugin works with?

It's a fresh install of Calibre and no other plugins have been installed. I'm a complete newbe so any help would be appreciated.

$ calibre-customize -a Comicvine.zip
Traceback (most recent call last):
File "site.py", line 66, in main
File "site-packages/calibre/customize/ui.py", line 677, in main
File "site-packages/calibre/customize/ui.py", line 397, in add_plugin
File "site-packages/calibre/customize/ui.py", line 54, in load_plugin
File "site-packages/calibre/customize/zipplugin.py", line 197, in load
File "importlib/init.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.init", line 4, in
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.source", line 17, in
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.config", line 6, in
ImportError: No module named PyQt4.Qt

Hi, i don't understand why i can't use the de drm plugin... maybe this is useful? Can anybody tell me what i am doing wrong?

calibre 2.79.1 embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 8)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 290, in double_clicked
File "site-packages\calibre\gui2\preferences\plugins.py", line 371, in modify_plugin
File "site-packages\calibre\customize_init_.py", line 155, in do_user_config
File "calibre_plugins.dedrm.init", line 494, in config_widget
File "site-packages\calibre\customize\zipplugin.py", line 183, in load_module
File "calibre_plugins.dedrm.config", line 12, in
ImportError: No module named PyQt4.Qt

And when i clock on configure i get

calibre 2.79.1 embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.9
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 8)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 293, in customize_plugin
File "site-packages\calibre\gui2\preferences\plugins.py", line 371, in modify_plugin
File "site-packages\calibre\customize_init_.py", line 155, in do_user_config
File "calibre_plugins.dedrm.init", line 495, in config_widget
AttributeError: 'module' object has no attribute 'ConfigWidget'

ImportError: cannot import name Comicvine

I changed "PyQt4.Qt import QWidget, QGridLayout, QLabel, QLineEdit" to "PyQt5.Qt import QWidget, QGridLayout, QLabel, QLineEdit" in config.py and re-bundled the plugin zip file.

But now I receive:

calibre, version 2.68.0
ERROR: Unhandled exception: ImportError:cannot import name Comicvine

calibre 2.68 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 5, 1)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 315, in add_plugin
File "site-packages\calibre\customize\ui.py", line 417, in add_plugin
File "site-packages\calibre\customize\ui.py", line 55, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 195, in load
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.init", line 4, in
ImportError: cannot import name Comicvine

Failing to download covers...again

Hi,

I'm using the 0.10.7 plugin in Calibre [Ver: 2.51.0] and it just quit downloading covers on me a couple days ago.

Log is as follows:

Running identify query with parameters:
{u'identifiers': {u'comicvine': u'356772', u'comicvine-volume': u'35835', u'isbn': u'Issue ID 356772'}, u'timeout': 30, u'title': u'Uncanny X-Force #31: Final Execution', u'authors': [u'Alan Fine', u'Axel Alonso', u'Cory Petit', u'Dan Buckley', u'Dean White', u'Frank Martin Jr.', u'Jared K. Fletcher', u'Jerome Ope\xf1a', u'Joe Quesada', u'Jordan D. White', u'Nick Lowe', u'Phil Noto', u'Rick Remender']}
Using plugins: Comicvine
The log from individual plugins is below

****************************** Comicvine ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')]
Found 1 results
Downloading from Comicvine took 7.6779999733


Title : Uncanny X-Force #31: Final Execution
Author(s) : Alan Fine & Axel Alonso & Cory Petit & Dan Buckley & Dean White & Frank Martin Jr. & Jared K. Fletcher & Jerome Opeña & Joe Quesada & Jordan D. White & Nick Lowe & Phil Noto & Rick Remender
Publisher : Marvel
Series : Uncanny X-Force #31
Published : 2012-09-12T04:00:00+00:00
Identifiers : comicvine-volume:35835, comicvine:356772
Comments :

The FINAL EXECUTION kicks into high gear. What is left of X-Force go up against the new Brotherhood of Evil Mutants for the last time.


Looking up Issue(356772)
Adding Issue(356772) to queue
Added Issue(Uncanny X-Force #31: Final Execution) to queue


The identify phase took 7.84 seconds
The longest time (7.678000) was taken by: Comicvine
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 1 merged results, merging took: 0.00 seconds

Starting cover download for: Uncanny X-Force #31: Final Execution
Query: Uncanny X-Force #31: Final Execution [u'Alan Fine', u'Axel Alonso', u'Cory Petit', u'Dan Buckley', u'Dean White', u'Frank Martin Jr.', u'Jared K. Fletcher', u'Jerome Ope\xf1a', u'Joe Quesada', u'Jordan D. White', u'Nick Lowe', u'Phil Noto', u'Rick Remender'] {u'comicvine': u'356772', u'comicvine-volume': u'35835'}

****************************** Comicvine Covers ******************************
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')]
Failed to download valid cover
Took 3.53800010681 seconds
Downloading cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_large/7/71975/2586319-prev_img.jpeg
Failed to download cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_large/7/71975/2586319-prev_img.jpeg
Traceback (most recent call last):
File "calibre_plugins.comicvine.source", line 173, in download_cover
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_opener.py", line 193, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [Errno 11001] getaddrinfo failed>

Downloading cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_medium/7/71975/2586319-prev_img.jpeg
Failed to download cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_medium/7/71975/2586319-prev_img.jpeg
Traceback (most recent call last):
File "calibre_plugins.comicvine.source", line 173, in download_cover
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_opener.py", line 193, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [Errno 11001] getaddrinfo failed>

Downloading cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_small/7/71975/2586319-prev_img.jpeg
Failed to download cover from: http://static.comicvine.comhttp://static.comicvine.com/uploads/scale_small/7/71975/2586319-prev_img.jpeg
Traceback (most recent call last):
File "calibre_plugins.comicvine.source", line 173, in download_cover
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 199, in open_novisit
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_mechanize.py", line 230, in _mech_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_opener.py", line 193, in open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 344, in _open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 332, in _call_chain
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1142, in http_open
File "site-packages\mechanize-0.2.5-py2.7.egg\mechanize_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [Errno 11001] getaddrinfo failed>


Please investigate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.