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, 05: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-25-2018, 12:26 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: 44,528
Karma: 24495948
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 04:30 AM
0.7.56 Crash on startup: "'QWidget' Object has no attribute 'fillier'" MrAndreBB Calibre 0 04-17-2011 02:44 PM
p attribute error on validation landed Calibre 2 02-13-2011 12:15 PM
Error parsing attribute name? seagull Calibre 1 01-01-2010 12:30 PM
Attribute error? jusmee Calibre 2 12-15-2009 09:22 PM


All times are GMT -4. The time now is 11:06 PM.


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