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-08-2024, 02:53 PM   #1
grosorg
Junior Member
grosorg began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2024
Device: PocketBook Era, P. Inkpad color
Exclamation Release 7.22 won't run on Ubuntu 24.10

Upgraded Ubuntu from 24.04 LTS to 24.10 (20 years, anniversary edition).
Calibre - was removed with the upgrade.
Installed Calibre from terminal.

Starting Calibre via GUI - failed.
Starting from terminal shows issues:
$ calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 21, in <module>
sys.exit(calibre())
^^^^^^^^^
File "/usr/lib/calibre/calibre/gui_launch.py", line 74, in calibre
main(args)
File "/usr/lib/calibre/calibre/gui2/main.py", line 548, in main
run_main(app, opts, args, gui_debug, si, retry_communicate=True)
File "/usr/lib/calibre/calibre/gui2/main.py", line 560, in run_main
return run_gui(opts, args, app, gui_debug=gui_debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/gui2/main.py", line 398, in run_gui
run_gui_(opts, args, app, gui_debug)
File "/usr/lib/calibre/calibre/gui2/main.py", line 403, in run_gui_
app.load_builtin_fonts(scan_for_fonts=True)
File "/usr/lib/calibre/calibre/gui2/__init__.py", line 1356, in load_builtin_fonts
load_builtin_fonts()
File "/usr/lib/calibre/calibre/gui2/__init__.py", line 1106, in load_builtin_fonts
with open(ff, 'rb') as s:
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/calibre/fonts/liberation/LiberationSerif-BoldItalic.ttf'


sudo apt install fonts-liberation
fonts-liberation is already the newest version (1:2.1.5-3).

:/usr/share/fonts/truetype/liberation$ ls
LiberationSansNarrow-BoldItalic.ttf LiberationSansNarrow-Italic.ttf
LiberationSansNarrow-Bold.ttf LiberationSansNarrow-Regular.ttf

In Calibre folder there are more fonts than in the latest version:

$ ls -l /usr/share/calibre/fonts/liberation/
total 40
lrwxrwxrwx 1 root root 64 Aug 22 13:25 LiberationMono-BoldItalic.ttf -> ../../../fonts/truetype/liberation/LiberationMono-BoldItalic.ttf
lrwxrwxrwx 1 root root 58 Aug 22 13:25 LiberationMono-Bold.ttf -> ../../../fonts/truetype/liberation/LiberationMono-Bold.ttf
lrwxrwxrwx 1 root root 60 Aug 22 13:25 LiberationMono-Italic.ttf -> ../../../fonts/truetype/liberation/LiberationMono-Italic.ttf
lrwxrwxrwx 1 root root 61 Aug 22 13:25 LiberationMono-Regular.ttf -> ../../../fonts/truetype/liberation/LiberationMono-Regular.ttf
lrwxrwxrwx 1 root root 64 Aug 22 13:25 LiberationSans-BoldItalic.ttf -> ../../../fonts/truetype/liberation/LiberationSans-BoldItalic.ttf
lrwxrwxrwx 1 root root 58 Aug 22 13:25 LiberationSans-Bold.ttf -> ../../../fonts/truetype/liberation/LiberationSans-Bold.ttf
lrwxrwxrwx 1 root root 60 Aug 22 13:25 LiberationSans-Italic.ttf -> ../../../fonts/truetype/liberation/LiberationSans-Italic.ttf
lrwxrwxrwx 1 root root 61 Aug 22 13:25 LiberationSans-Regular.ttf -> ../../../fonts/truetype/liberation/LiberationSans-Regular.ttf
lrwxrwxrwx 1 root root 65 Aug 22 13:25 LiberationSerif-BoldItalic.ttf -> ../../../fonts/truetype/liberation/LiberationSerif-BoldItalic.ttf
lrwxrwxrwx 1 root root 59 Aug 22 13:25 LiberationSerif-Bold.ttf -> ../../../fonts/truetype/liberation/LiberationSerif-Bold.ttf
lrwxrwxrwx 1 root root 61 Aug 22 13:25 LiberationSerif-Italic.ttf -> ../../../fonts/truetype/liberation/LiberationSerif-Italic.ttf
lrwxrwxrwx 1 root root 62 Aug 22 13:25 LiberationSerif-Regular.ttf -> ../../../fonts/truetype/liberation/LiberationSerif-Regular.ttf

As shown above, in the destination there are only 4 files / fonts.
In /calibre/fonts/liberation/ - there are more links (marked "->").

Any (easy) steps to fix it?

P.S. Made few extra steps. Yet no success. Steps included:
Reinstalled python3
sudo fc-cache -f -v
Calibre reinstallation
grosorg is offline   Reply With Quote
Old 12-08-2024, 03:01 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,505
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
How are you installing calibre? Is it the version from the Ubuntu repository (not recommended) or the official version from Kovid (HTTPS://www.calibre-ebook.com )?

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Release: 7.0 [17 Nov, 2023] won't run on Linux Mint jlynton Calibre 13 12-07-2024 04:25 AM
Unable to run calibre on Ubuntu VPS gourav Devices 2 10-16-2020 02:03 PM
Calibre Won't Run [ubuntu 14.04 / calibre 3.0] ciscopixie Devices 2 06-19-2017 04:04 PM
calibre won't run after upgrade to 3.0.0 ubuntu livornese Devices 1 06-18-2017 10:05 AM
calibre will not run on Ubuntu 10.04 mvelte54 Devices 25 01-09-2015 05:05 PM


All times are GMT -4. The time now is 01:11 AM.


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