09-16-2022, 08:56 PM | #1 | |
Member
Posts: 13
Karma: 10
Join Date: Jun 2019
Device: Kindle Paperwhite
|
The eBook viewer just hangs, never launces
Mint20.2
Cinnamon5.0.7 Calibre 6.5.0 I upgraded to 6.5.0. I can't open eBooks, the view just hangs on launch. Here is my command line output Quote:
https://i2.paste.pics/69accdd10171da...b0a9d5583f.png I do have the DRM plugin installed: https://i2.paste.pics/3a48f6c8ce3e82...a12f526b3a.png I really like and NEED Calibre, any help would be appreciated. Thanks |
|
09-16-2022, 10:30 PM | #2 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This will be a compat issue between Qt WebEnginge and your GPU drivers. Try updating your GPU drivers or turning off hardware acceleration for webengine as described in https://doc.qt.io/qt-6/qtwebengine-debugging.html
|
Advert | |
|
09-17-2022, 08:10 AM | #3 | |
Member
Posts: 13
Karma: 10
Join Date: Jun 2019
Device: Kindle Paperwhite
|
I had my phone plugged into my computer when I got that output.
I removed my phone, got the same problem, but I figured out how to start Calibre in debug mod and I got this outuput in the log: Quote:
|
|
09-17-2022, 08:14 AM | #4 | ||
Member
Posts: 13
Karma: 10
Join Date: Jun 2019
Device: Kindle Paperwhite
|
Quote:
I tried turning off hardware acceleration, but Calibre didn't recognize the command line options ( I even tried it with a path to a book ). Quote:
|
||
09-17-2022, 11:13 AM | #5 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You want
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" calibre |
Advert | |
|
09-17-2022, 01:10 PM | #6 |
Member
Posts: 13
Karma: 10
Join Date: Jun 2019
Device: Kindle Paperwhite
|
That works for starting it from the command line.
Is there a way to fix it so that it is usable if I start Calibre by clicking on an eBook? I tried putting QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" in my ~.bashrc but it did not work |
09-17-2022, 10:58 PM | #7 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to set it system wide. How to do that varies from linux distro to distro. Ask in your distro forums.
|
10-16-2022, 11:58 AM | #8 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: calibre ebook-viewers
|
I can not found any hint in the web how to set QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" calibre system wide on Linux Manjaro.
Any suggestion? |
10-17-2022, 08:59 AM | #9 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://forum.manjaro.org/t/howto-se...ariables/88955 https://forum.manjaro.org/t/add-perm...ironment/76729 https://forum.manjaro.org/t/setting-...ariables/56426 |
|
10-17-2022, 12:45 PM | #10 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: calibre ebook-viewers
|
Thank you.
It worked with the edition of /etc/environment. Thank you. |
10-17-2022, 02:43 PM | #11 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
03-12-2023, 01:18 PM | #12 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2022
Device: tolino shine 3
|
ebook viewer broken again by 6.14 update
Thanks, quitting hardware acceleration worked with my manjaro linux, too.
Now calibre update from 6.11 to 6.14 was distributed. Since then the viewer does't start any more. Terminal shows this: Code:
[quast@aspire ~]$ ebook-viewer Traceback (most recent call last): File "/usr/bin/ebook-viewer", line 21, in <module> sys.exit(ebook_viewer()) File "/usr/lib/calibre/calibre/gui_launch.py", line 102, in wrapper return func(*a, **kw) File "/usr/lib/calibre/calibre/gui_launch.py", line 118, in ebook_viewer main(args) File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 225, in main run_gui(app, opts, args, internal_book_data) File "/usr/lib/calibre/calibre/gui2/viewer/main.py", line 151, in run_gui main = EbookViewer( File "/usr/lib/calibre/calibre/gui2/viewer/ui.py", line 151, in __init__ self.lookup_widget = w = Lookup(self) File "/usr/lib/calibre/calibre/gui2/viewer/lookup.py", line 307, in __init__ self._page = Page(create_profile(), self.view) File "/usr/lib/calibre/calibre/gui2/viewer/lookup.py", line 223, in create_profile ans.setHttpUserAgent(random_user_agent(allow_ie=False)) File "/usr/lib/calibre/calibre/__init__.py", line 297, in random_user_agent ua_list = common_user_agents() File "/usr/lib/calibre/calibre/utils/random_ua.py", line 26, in common_user_agents return user_agent_data()['common_user_agents'] File "/usr/lib/calibre/calibre/utils/random_ua.py", line 14, in user_agent_data P('user-agent-data.json', data=True, allow_user_override=False)) File "/usr/lib/calibre/calibre/utils/resources.py", line 89, in get_path with open(fpath, 'rb') as f: FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/share/calibre/user-agent-data.json' Thanks Yours quast |
03-12-2023, 09:24 PM | #13 |
creator of calibre
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the official calibre binaries instead of whatever distro package that is. https://calibre-ebook.com/download_linux
|
03-15-2023, 08:29 AM | #14 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2022
Device: tolino shine 3
|
after manjaro delivered calibre 6.14-2 and python 3.10.10 today, viewer works again.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viewer hangs opening books for the second time | thiago.eec | Viewer | 6 | 07-22-2021 07:08 PM |
E-book viewer in Calibre 5.22.1 hangs forever on new books | lkstrummer | Viewer | 4 | 07-04-2021 06:41 PM |
Viewer hangs; calibre-parallell is not responding | BoerOpi | Library Management | 5 | 04-13-2020 11:42 AM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |