Quote:
Originally Posted by chaley
That is very strange. It is saying that the plugin can't import a standard calibre module, in this case six.moves.urllib.request. What OS are you using?
|
I looked at the 1.5.4 container.py file and lines 10 to 15 read:
Code:
import os, posixpath, sys, re, urllib
from lxml import etree
from lxml.etree import XMLSyntaxError
from urlparse import urldefrag, urlparse, urlunparse
from urllib import unquote as urlunquote
while the 1.5.3 container.py file has:
Code:
import six
from six.moves import range
from polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__copyright__ = '2011, Grant Drake <grant.drake@gmail.com>'
__docformat__ = 'restructuredtext en'
import os, posixpath, sys, re
import six.moves.urllib.request, six.moves.urllib.parse, six.moves.urllib.error
from io import open
from lxml import etree
from lxml.etree import XMLSyntaxError
from six.moves.urllib.parse import urldefrag, urlparse, urlunparse
from six.moves.urllib.parse import unquote as urlunquote
I copied the segment from the 1.5.3 container.py into the 1.5.4 container.py and now I get a different error message. I tried 4 or 5 single options and the same error.
This is with calibre 5.0.1, Windows 10 x64.