Bug 1462534 - Calibre doesn't start, ImportError: No module named regex
Summary: Calibre doesn't start, ImportError: No module named regex
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1462549 1462560 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-18 14:57 UTC by Juan Orti
Modified: 2017-06-22 13:36 UTC (History)
8 users (show)

Fixed In Version: calibre-3.0.0-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-22 13:36:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2017-06-18 14:57:46 UTC
Description of problem:
Cannot start calibre, I get this error:

calibre, version 3.0.0
ERROR: Error de inicio: Ocurrió un error durante el inicio de calibre. Algunas partes de calibre pueden no funcionar. Pulse en «Mostrar detalles» para saber más.

Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/gui2/main.py", line 291, in initialize_db_stage2
    self.start_gui(db)
  File "/usr/lib64/calibre/calibre/gui2/main.py", line 226, in start_gui
    main = self.main = Main(self.opts, gui_debug=self.gui_debug)
  File "/usr/lib64/calibre/calibre/gui2/ui.py", line 159, in __init__
    ac = self.init_iaction(action)
  File "/usr/lib64/calibre/calibre/gui2/ui.py", line 173, in init_iaction
    ac = action.load_actual_plugin(self)
  File "/usr/lib64/calibre/calibre/customize/__init__.py", line 614, in load_actual_plugin
    ac = getattr(importlib.import_module(mod), cls)(gui,
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib64/calibre/calibre/gui2/actions/catalog.py", line 12, in <module>
    from calibre.gui2.tools import generate_catalog
  File "/usr/lib64/calibre/calibre/gui2/tools.py", line 15, in <module>
    from calibre.gui2.convert.single import NoSupportedInputFormats
  File "/usr/lib64/calibre/calibre/gui2/convert/single.py", line 19, in <module>
    from calibre.gui2.convert.search_and_replace import SearchAndReplaceWidget
  File "/usr/lib64/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/lib64/calibre/calibre/gui2/convert/search_and_replace_ui.py", line 155, in <module>
    from regex_builder import RegexEdit
  File "/usr/lib64/calibre/calibre/gui2/convert/regex_builder.py", line 18, in <module>
    from calibre.ebooks.conversion.search_replace import compile_regular_expression
  File "/usr/lib64/calibre/calibre/ebooks/conversion/search_replace.py", line 6, in <module>
    import regex
ImportError: No module named regex


Version-Release number of selected component (if applicable):
calibre-3.0.0-1.fc26.x86_64

Comment 1 Juan Orti 2017-06-18 15:11:20 UTC
It needs a dependency on python2-regex

Comment 2 Kevin Fenzi 2017-06-18 17:51:58 UTC
Sorry about that. I failed to add the proper Requires for 3.0.0. 

Look for a updated package in a few here.

Comment 3 Fedora Update System 2017-06-18 18:11:27 UTC
calibre-3.0.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bf2a142752

Comment 4 Kevin Fenzi 2017-06-18 20:44:07 UTC
*** Bug 1462549 has been marked as a duplicate of this bug. ***

Comment 5 Kevin Fenzi 2017-06-18 22:17:06 UTC
*** Bug 1462560 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2017-06-18 23:51:14 UTC
calibre-3.0.0-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bf2a142752

Comment 7 Fedora Update System 2017-06-22 13:36:09 UTC
calibre-3.0.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.