Your message dated Thu, 9 May 2019 10:00:30 +0900
with message-id <[email protected]>
and subject line Re: Bug#865879: calibre: Bug still present in buster 
(3.39.1+dfsg-2)
has caused the Debian Bug report #865879,
regarding calibre: external python-regex does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
865879: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865879
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: calibre
Version: 3.1.1+dfsg-1
Severity: normal

It seems calibre now needs a dependency on python3-regex package

calibre, version 3.1.1
ERROR: Startup error: There was an error during calibre startup. Parts of 
calibre may not function. Click Show details to learn more.

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/main.py", line 292, in 
initialize_db_stage2
    self.start_gui(db)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 227, in start_gui
    main = self.main = Main(self.opts, gui_debug=self.gui_debug)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 160, in __init__
    ac = self.init_iaction(action)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 174, in init_iaction
    ac = action.load_actual_plugin(self)
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 614, in 
load_actual_plugin
    ac = getattr(importlib.import_module(mod), cls)(gui,
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/calibre/calibre/gui2/actions/catalog.py", line 13, in <module>
    from calibre.gui2.tools import generate_catalog
  File "/usr/lib/calibre/calibre/gui2/tools.py", line 16, in <module>
    from calibre.gui2.convert.single import NoSupportedInputFormats
  File "/usr/lib/calibre/calibre/gui2/convert/single.py", line 20, in <module>
    from calibre.gui2.convert.search_and_replace import SearchAndReplaceWidget
  File "/usr/lib/calibre/calibre/gui2/convert/search_and_replace.py", line 11, 
in <module>
    from calibre.gui2.convert.search_and_replace_ui import Ui_Form
  File "/usr/lib/calibre/calibre/gui2/convert/search_and_replace_ui.py", line 
155, in <module>
    from regex_builder import RegexEdit
  File "/usr/lib/calibre/calibre/gui2/convert/regex_builder.py", line 18, in 
<module>
    from calibre.ebooks.conversion.search_replace import 
compile_regular_expression
  File "/usr/lib/calibre/calibre/ebooks/conversion/search_replace.py", line 7, 
in <module>
    import regex
  File "/usr/lib/calibre/regex/__init__.py", line 392, in <module>
  File "/usr/lib/calibre/regex/_regex_core.py", line 21, in <module>
  File "/usr/lib/calibre/calibre/constants.py", line 207, in __getitem__
    raise KeyError('No plugin named %r'%name)
KeyError: "No plugin named '_regex'"

-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 
'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.17+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IN:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages calibre depends on:
ii  calibre-bin                      3.1.1+dfsg-1
ii  fonts-liberation                 1:1.07.4-2
ii  imagemagick                      8:6.9.7.4+dfsg-11
ii  imagemagick-6.q16 [imagemagick]  8:6.9.7.4+dfsg-11
ii  libjs-coffeescript               1.10.0~dfsg-1
ii  libjs-mathjax                    2.7.0-2
ii  poppler-utils                    0.48.0-2
ii  python-apsw                      3.16.2-r1-2
ii  python-beautifulsoup             3.2.1-1
ii  python-chardet                   3.0.4-1
ii  python-cherrypy3                 3.5.0-2
ii  python-cssselect                 1.0.1-1
ii  python-cssutils                  1.0-4.1
ii  python-dateutil                  2.5.3-2
ii  python-dbus                      1.2.4-1+b1
ii  python-feedparser                5.1.3-3
ii  python-imaging                   4.0.0-4
ii  python-lxml                      3.7.3-1
ii  python-markdown                  2.6.8-1
ii  python-mechanize                 1:0.2.5-3
ii  python-netifaces                 0.10.4-0.1+b2
ii  python-pil                       4.0.0-4
ii  python-pkg-resources             36.0.1-1
ii  python-pyparsing                 2.1.10+dfsg1-1
ii  python-pyqt5                     5.7+dfsg-5
ii  python-pyqt5.qtsvg               5.7+dfsg-5
ii  python-pyqt5.qtwebkit            5.7+dfsg-5
ii  python-regex                     0.1.20170117-1
ii  python-routes                    2.3.1-2
ii  python2.7                        2.7.13-2
ii  xdg-utils                        1.1.1-1

Versions of packages calibre recommends:
ii  python-dnspython  1.15.0-1

calibre suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Marco,

thanks for your feedback. 

> I removed the /usr/lib/calibre/regex/ dir since it seemed odd to me to have 
> the debian pkg installed for that and have a local version in calibre that 
> seemed kind of incomplete. And voila: it worked. Looking into the calibre 
> .deb this seems to me to be a left-over from a previous version.

Hmmm, that is strange. dpkg should remove directories that get lost
during upgrade. I don't expect that to be there, and I don't see it on
my system.

For now I am closing this bug as it seems that it is related to
something else and unknown.

If anyone can reproduce it, please reopen or report new bug.

Thanks

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

--- End Message ---

Reply via email to