You are not logged in.

#1 2015-07-19 18:31:09

kidsmoker
Member
Registered: 2015-07-12
Posts: 5

Calibre 2.31.0-1 fails to start

Hi,

I've installed Calibre 2.31.0-1 using pacman, but on starting it up I receive the error:

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 63, in calibre
    main(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 481, in main
    app, opts, args = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 101, in init_qt
    app = Application(args, override_program_name=override)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 911, in __init__
    self.load_calibre_style()
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 1022, in load_calibre_style
    self.pi.load_style(icon_map)
AttributeError: 'NoneType' object has no attribute 'load_style'

After some googling I'm not sure what is causing this, so any help would be appreciated. Thanks!

Offline

#2 2015-07-19 20:23:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Calibre 2.31.0-1 fails to start

Install the current version 2.32.1-1 and try again.
Works for me on my 32-bit Arch with [testing] repos enabled.


Edit: Update your whole system, not just this one package.

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Last edited by karol (2015-07-19 20:24:50)

Offline

#3 2015-07-22 22:07:29

canetinhas
Member
Registered: 2014-05-10
Posts: 1

Re: Calibre 2.31.0-1 fails to start

Hi,

I have the same problem...

Offline

#4 2015-07-23 07:17:24

entodoays
Member
From: Malta
Registered: 2014-10-25
Posts: 118

Re: Calibre 2.31.0-1 fails to start

I didn't have this problem until today with calibre version 2.32.1-1.

I'm getting a similar error:

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 63, in calibre
    main(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 492, in main
    app, opts, args = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 101, in init_qt
    app = Application(args, override_program_name=override)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 902, in __init__
    self.setup_styles(force_calibre_style)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 992, in setup_styles
    self.load_calibre_style()
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 1022, in load_calibre_style
    self.pi.load_style(icon_map)
TypeError: a value has type 'unicode' but 'QString' is expected

I updated my system even with

pacman -Syyu

, tried reinstalling the package, but the problem persists.

Offline

#5 2015-07-23 13:18:06

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Calibre 2.31.0-1 fails to start

There is an open bug for this error now. Calibre needs to be rebuilt against PyQT 5.5.

Last edited by lifeafter2am (2015-07-23 13:19:09)


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#6 2015-07-23 14:49:28

entodoays
Member
From: Malta
Registered: 2014-10-25
Posts: 118

Re: Calibre 2.31.0-1 fails to start

I installed calibre version 2.32.1-2 manually from testing and it works fine.

Offline

#7 2015-07-23 18:16:26

jnbrains
Member
Registered: 2015-03-26
Posts: 25

Re: Calibre 2.31.0-1 fails to start

lifeafter2am is correct

My temporary solution was to downgrade pyqt5-common and python2-pyqt5 packages to 5.4.2-1 (from Arch Rollback Machine) and 'blacklist' them in /etc/pacman.conf (IgnorePkg).

Offline

#8 2015-07-23 19:57:49

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Calibre 2.31.0-1 fails to start

FYI, new Calibre just hit the community repo. Calibre-2.32.1-2 works again.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

Board footer

Powered by FluxBB