Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2016, 03:14 PM   #1
starcraft59
Junior Member
starcraft59 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2016
Device: Laptop/AndroidPhone
Question Calibre does not starting on ubuntuGnome 16.04

Hi, i'am using ubuntuGNOME 16.04 and installed calibre from ubuntu software. When i clicked it, an error window shows up and says:
Code:
calibre, version 2.55.0
HATA: Başlangıç hatası: calibre başlatılırken bir hata oluştu. Bazı calibre işlevleri çalışmayabilir. Daha fazlasını öğrenmek için Ayrıntıları göster'e tıklayabilirsiniz.

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/main.py", line 276, in initialize_db_stage2
    self.start_gui(db)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 211, in start_gui
    main = self.main = Main(self.opts, gui_debug=self.gui_debug)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 152, in __init__
    ac = self.init_iaction(action)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 166, in init_iaction
    ac = action.load_actual_plugin(self)
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 603, 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 18, in <module>
    from calibre.gui2.convert.look_and_feel import LookAndFeelWidget
  File "/usr/lib/calibre/calibre/gui2/convert/look_and_feel.py", line 13, in <module>
    from calibre.gui2.convert.look_and_feel_ui import Ui_Form
  File "/usr/lib/calibre/calibre/gui2/convert/look_and_feel_ui.py", line 286, in <module>
    from calibre.gui2.css_transform_rules import RulesWidget
  File "/usr/lib/calibre/calibre/gui2/css_transform_rules.py", line 13, in <module>
    from calibre.ebooks.css_transform_rules import (
  File "/usr/lib/calibre/calibre/ebooks/css_transform_rules.py", line 12, in <module>
    import regex
  File "/usr/lib/calibre/regex/__init__.py", line 392, in <module>
    from . import _regex_core
  File "/usr/lib/calibre/regex/_regex_core.py", line 4135, in <module>
    "d": lookup_property(None, "Digit", True),
  File "/usr/lib/calibre/regex/_regex_core.py", line 1593, in lookup_property
    raise error("unknown property")
error: unknown property
but e-book viewer works well.
starcraft59 is offline   Reply With Quote
Old 07-26-2016, 05:33 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Please install the binary calibre release from the Download page on the calibre website.

Distro packages are not supported by the calibre developer, but if you have the same problem when using the prebuilt binaries then it will get fixed.

...

Distros are known to patch calibre in unwise ways, and additionally you are now running an old version -- we are on 2.63.0 now, not 2.55.0
eschwartz is offline   Reply With Quote
Advert
Old 07-27-2016, 03:12 AM   #3
starcraft59
Junior Member
starcraft59 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2016
Device: Laptop/AndroidPhone
Quote:
Originally Posted by eschwartz View Post
Please install the binary calibre release from the Download page on the calibre website.

Distro packages are not supported by the calibre developer, but if you have the same problem when using the prebuilt binaries then it will get fixed.

...

Distros are known to patch calibre in unwise ways, and additionally you are now running an old version -- we are on 2.63.0 now, not 2.55.0
i installed from calibre's website but this time i got this error:

Code:
calibre, version 2.63.0

Traceback (most recent call last):
  File "site-packages/calibre/gui2/main.py", line 276, in initialize_db_stage2
  File "site-packages/calibre/gui2/main.py", line 211, in start_gui
  File "site-packages/calibre/gui2/ui.py", line 152, in __init__
  File "site-packages/calibre/gui2/ui.py", line 166, in init_iaction
  File "site-packages/calibre/customize/__init__.py", line 603, in load_actual_plugin
  File "importlib/__init__.py", line 37, in import_module
  File "site-packages/calibre/gui2/actions/catalog.py", line 13, in <module>
  File "site-packages/calibre/gui2/tools.py", line 16, in <module>
  File "site-packages/calibre/gui2/convert/single.py", line 18, in <module>
  File "site-packages/calibre/gui2/convert/look_and_feel.py", line 13, in <module>
  File "site-packages/calibre/gui2/convert/look_and_feel_ui.py", line 290, in <module>
  File "site-packages/calibre/gui2/css_transform_rules.py", line 13, in <module>
  File "site-packages/calibre/ebooks/css_transform_rules.py", line 12, in <module>
  File "site-packages/regex/__init__.py", line 383, in <module>
  File "site-packages/regex/_regex_core.py", line 4378, in <module>
  File "site-packages/regex/_regex_core.py", line 1701, in lookup_property
error: unknown property
starcraft59 is offline   Reply With Quote
Old 07-27-2016, 03:26 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What is the output of

calibre-debug -c "from calibre.constants import plugins; print plugins['_regex'][0].get_properties().keys()"
kovidgoyal is offline   Reply With Quote
Old 07-27-2016, 04:54 AM   #5
starcraft59
Junior Member
starcraft59 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2016
Device: Laptop/AndroidPhone
Quote:
Originally Posted by kovidgoyal View Post
What is the output of

calibre-debug -c "from calibre.constants import plugins; print plugins['_regex'][0].get_properties().keys()"
here you are:
Code:
['HEX', 'IDSB', 'OTHERLOWERCASE', 'DEPRECATED', 'PATTERNSYNTAX', 'JOININGTYPE', 'LOGICALORDEREXCEPTION', 'INDICPOSITIONALCATEGORY', 'IDST', 'OMATH', 'WB', 'OTHERGRAPHEMEEXTEND', 'NCHAR', 'XIDC', 'PREPENDEDCONCATENATIONMARK', 'VARIATIONSELECTOR', 'GRAPHEMEEXTEND', 'DIACRITIC', 'DECOMPOSITIONTYPE', 'UPPER', 'LOWERCASE', 'UIDEO', 'PATWS', 'OTHERMATH', 'HEXDIGIT', 'GREXT', 'CWU', 'CWT', 'CHANGESWHENLOWERCASED', 'CWCF', 'ANY', 'NUMERICVALUE', 'CWCM', 'OGREXT', 'UNIFIEDIDEOGRAPH', 'CWL', 'HST', 'AHEX', 'GRAPHEMEBASE', 'OTHERIDCONTINUE', 'CHANGESWHENCASEMAPPED', 'HYPHEN', 'JOINC', 'GRAPH', 'INDICSYLLABICCATEGORY', 'POSIXALNUM', 'ALPHA', 'IDSTRINARYOPERATOR', 'CHANGESWHENTITLECASED', 'EXTENDER', 'ALPHABETIC', 'ODI', 'JT', 'QUOTATIONMARK', 'LINEBREAK', 'EASTASIANWIDTH', 'JG', 'BLANK', 'WSPACE', 'GRAPHEMECLUSTERBREAK', 'IDS', 'OIDS', 'DEP', 'XDIGIT', 'NUMERICTYPE', 'OTHERIDSTART', 'BC', 'ALNUM', 'IDC', 'BLOCK', 'OIDC', 'HANGULSYLLABLETYPE', 'DEFAULTIGNORABLECODEPOINT', 'BIDIM', 'GRBASE', 'CANONICALCOMBININGCLASS', 'NONCHARACTERCODEPOINT', 'IDSTART', 'WHITESPACE', 'INSC', 'LOWER', 'CHANGESWHENCASEFOLDED', 'CI', 'OTHERALPHABETIC', 'XIDSTART', 'JOININGGROUP', 'BLK', 'LB', 'BIDIC', 'IDCONTINUE', 'SD', 'SC', 'SB', 'PATSYN', 'PRINT', 'OALPHA', 'BIDIMIRRORED', 'DI', 'CCC', 'DT', 'RADICAL', 'SOFTDOTTED', 'SPACE', 'TERM', 'MATH', 'OTHERDEFAULTIGNORABLECODEPOINT', 'IDSBINARYOPERATOR', 'OUPPER', 'EA', 'SENTENCETERMINAL', 'STERM', 'GRLINK', 'XIDCONTINUE', 'ALPHANUMERIC', 'CHANGESWHENUPPERCASED', 'CASED', 'INPC', 'WORD', 'OLOWER', 'IDEOGRAPHIC', 'GCB', 'NT', 'SENTENCEBREAK', 'NV', 'LOE', 'CASEIGNORABLE', 'QMARK', 'IDEO', 'POSIXXDIGIT', 'ASCIIHEXDIGIT', 'GENERALCATEGORY', 'XIDS', 'DASH', 'EXT', 'JOINCONTROL', 'DIA', 'PCM', 'UPPERCASE', 'BIDICLASS', 'SCRIPT', 'PATTERNWHITESPACE', 'WORDBREAK', 'POSIXDIGIT', 'OTHERUPPERCASE', 'POSIXPUNCT', 'TERMINALPUNCTUATION', 'GC', 'GRAPHEMELINK', 'BIDICONTROL', 'VS']
starcraft59 is offline   Reply With Quote
Advert
Old 07-27-2016, 05:03 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm, that's an error importing the regex module. I'm not familiar enough with the code of that module to be able to guess the cause of the error, you'd have to ask here: https://bitbucket.org/mrabarnett/mrab-regex

However, since the regex module is only used for some small parts of calibre functionality, I will change the next release to only import that module on demand, so most of calibre should still work.
kovidgoyal is offline   Reply With Quote
Old 07-30-2017, 09:43 AM   #7
sispus
Junior Member
sispus began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2017
Device: kindle paperwhite
Sorry its an old issue, but i think it may be useful for others who will found this page.

With the same installation note, i cannot use calibre in opensuse 42.2. It starts in background and says "calibre is already running". Also there is no calibre-gui.desktop file or else to start calibre -only related desktop starter files such as calibre-lrfreader.desktop, etc.

I solved the problem by starting calibre from terminal by the command:

LC_CTYPE=C calibre

I think it is about the language settings.

reference in Turkish: https://forum.ubuntu-tr.net/index.php?topic=53731.0
sispus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when starting Calibre 0.9.9 kcart1 Calibre 5 12-17-2012 09:27 AM
Calibre error when starting adadent Devices 0 04-05-2012 04:43 AM
Just starting out with Kindle 3 and Calibre Lexie Amazon Kindle 5 10-19-2010 05:02 AM
Starting off without calibre dhylton Calibre 3 05-05-2009 11:24 AM
Problem starting calibre Dan23 Calibre 3 10-15-2008 09:49 PM


All times are GMT -4. The time now is 03:34 PM.


MobileRead.com is a privately owned, operated and funded community.