Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2018, 04:01 PM   #1
Aetrus
Junior Member
Aetrus began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2018
Device: Kindle
Attribute Error on Startup

I'm at version 3.30, on Arch Linux and on every attempted startup I get the following error:

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 526, in main
    app, opts, args = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 112, in init_qt
    app = Application(args, override_program_name=override)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 838, in __init__
    self.setup_styles(force_calibre_style)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 941, in setup_styles
    self.load_calibre_style()
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 972, in load_calibre_style
    self.pi.load_style(icon_map)
AttributeError: 'NoneType' object has no attribute 'load_style'
I've seen older posts, where re-installing and updating to the newer versions has fixed it, and I've done both, with the error persisting.

Any ideas?
Aetrus is offline   Reply With Quote
Old 08-24-2018, 11:26 PM   #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: 44,153
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a bug in the arch linux calibre package or one of its dependencies. Probably they updated PyQt/Qt and forgot to recompile dependent packages. Uninstall it and install the official calibre binaries from https://calibre-ebook.com/download_linuxand you should be fine.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regex_function: attribute error DrChiper Calibre 2 11-21-2014 03:30 AM
0.7.56 Crash on startup: "'QWidget' Object has no attribute 'fillier'" MrAndreBB Calibre 0 04-17-2011 01:44 PM
p attribute error on validation landed Calibre 2 02-13-2011 11:15 AM
Error parsing attribute name? seagull Calibre 1 01-01-2010 11:30 AM
Attribute error? jusmee Calibre 2 12-15-2009 08:22 PM


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


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