Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2019, 01:06 AM   #1
_calm_bomb_
Junior Member
_calm_bomb_ began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2018
Device: Kindle Paperwhite 4th Gen
Calibre 4.5 not starting

Just did an update on my system (Fedora 31) and Calibre is not starting anymore, whatever I do. I removed the old config, I moved the library and started from scratch and I still get this issue:

Code:
$ calibre
Icon theme "gnome" not found.
Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, in <module>
    sys.exit(calibre())
  File "/usr/lib64/calibre/calibre/gui_launch.py", line 72, in calibre
    main(args)
  File "/usr/lib64/calibre/calibre/gui2/main.py", line 557, in main
    gui_debug=gui_debug)
  File "/usr/lib64/calibre/calibre/gui2/main.py", line 383, in run_gui
    from calibre.gui2.ui import Main
  File "/usr/lib64/calibre/calibre/gui2/ui.py", line 41, in <module>
    from calibre.gui2.init import LibraryViewMixin, LayoutMixin
  File "/usr/lib64/calibre/calibre/gui2/init.py", line 19, in <module>
    from calibre.gui2.book_details import BookDetails
  File "/usr/lib64/calibre/calibre/gui2/book_details.py", line 18, in <module>
    from calibre.ebooks.metadata.book.render import mi_to_html
  File "/usr/lib64/calibre/calibre/ebooks/metadata/book/render.py", line 15, in <module>
    from calibre.library.comments import comments_to_html, markdown
  File "/usr/lib64/calibre/calibre/library/comments.py", line 10, in <module>
    from calibre.ebooks.BeautifulSoup import (
  File "/usr/lib64/calibre/calibre/ebooks/BeautifulSoup.py", line 6, in <module>
    import bs4
  File "/usr/local/lib/python3.7/site-packages/bs4/__init__.py", line 29, in <module>
    from .builder import builder_registry
  File "/usr/local/lib/python3.7/site-packages/bs4/builder/__init__.py", line 303, in <module>
    from . import _htmlparser
  File "/usr/local/lib/python3.7/site-packages/bs4/builder/_htmlparser.py", line 7, in <module>
    from html.parser import (
ImportError: cannot import name 'HTMLParseError' from 'html.parser' (/usr/lib64/python3.7/html/parser.py)
_calm_bomb_ is offline   Reply With Quote
Old 12-17-2019, 01:35 AM   #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: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
This is not a development question, but the answer is that the file
Code:
/usr/local/lib/python3.7/site-packages/bs4/builder/_htmlparser.py
is totally broken. And it doesn't belong to calibre, and it doesn't belong to the Fedora package repositories because it is in /usr/local

Have you been sudo pip installing things? Maybe don't do that.
eschwartz is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre not starting colo51 Calibre 2 07-14-2017 08:56 AM
Calibre server not starting john_es Library Management 0 02-02-2013 06:16 AM
Just starting out with Kindle 3 and Calibre Lexie Amazon Kindle 5 10-19-2010 05:02 AM
Calibre 0.7.22 not starting in openSUSE 11.3 cyberdude Calibre 2 10-10-2010 09:26 AM
Starting off without calibre dhylton Calibre 3 05-05-2009 11:24 AM


All times are GMT -4. The time now is 09:52 AM.


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