Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2019, 09:42 AM   #1
zubalea
Junior Member
zubalea began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2019
Device: none
Arch Linux - Calibre crashes on start

Hello,

Used to work. Deleted .config/calibre
Installed newest version 3.40.1-1

Still not working. Getting following errors:
Code:
Traceback (most recent call last):
  File "/usr/bin/calibre", line 20, 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 527, in main
    app, opts, args = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 113, in init_qt
    app = Application(args, override_program_name=override)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 854, in __init__
    self.setup_styles(force_calibre_style)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 965, in setup_styles
    self.load_calibre_style()
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 996, in load_calibre_style
    self.pi.load_style(icon_map)
AttributeError: 'NoneType' object has no attribute 'load_style'
zubalea is offline   Reply With Quote
Old 03-17-2019, 10:46 AM   #2
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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates someone in Arch updated the Qt/PyQt packages but forgot to rebuild calibre against them. Unistall the Arch calibre package and install the official binary from https://calibre-ebook.com/download_linux an you should be fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-17-2019, 12:16 PM   #3
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,422
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 implausible, as it works for me, and I built the version of calibre under discussion on 3/08, while the current latest version of pyqt5 is 5.12-2, built on 2/10 (nearly a month earlier).


Possibly your PyQt5 version is out of date instead?
There are a bunch of Qt5 packages updated to 5.12.2-1 as of the 14th, but that shouldn't matter in this case. The progress indicator is not even linked to private headers...

Full details on all related package versions would be helpful.
eschwartz is offline   Reply With Quote
Old 03-26-2019, 06:39 AM   #4
zubalea
Junior Member
zubalea began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2019
Device: none
Solved:

I had updated all of the repository and then installed Calibre. However I had not installed any outstanding packages that need to be updated. I suspect that one of them was need for Calibre. So I updated all packages, then installed Calibre and everything was working.

Thank you both as it help me fix my issue.

Last edited by zubalea; 03-28-2019 at 07:18 AM.
zubalea is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre (server) on Arch Linux ARM beedaddy Server 2 10-25-2018 02:17 AM
Question on setting up calibre-server on Pi3 running Arch Linux ARM haertig Calibre 13 12-17-2017 09:58 PM
Calibre, Arch Linux, and a failure to load nook touch dataknight Devices 3 07-22-2012 10:30 PM
Can't add plugins (Calibre 8.1 on Arch Linux) byrnerat101 Plugins 17 02-21-2012 06:06 AM
Installing Calibre in Arch Linux jatz Calibre 0 03-23-2010 01:41 PM


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


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