Calibre Fails to Launch After Upgrade to Wily

Bug #1510352 reported by jjinco33
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
calibre (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

When launching Calibre after upgrade to Wily the following error appears, there is a Calibre process running after closing the error message and terminal return to prompt, however there is no Calibre window open, no icon in the status bar and attempts to connect to it's server to browse for books time out. Behavior is the same when launched through the Dash. Have tried unistalling and reinstalling with no change in results.

calibre, version 2.33.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more.

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/main.py", line 273, in initialize_db_stage2
    self.start_gui(db)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 213, in start_gui
    main.initialize(self.library_path, db, self.listener, self.actions)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 260, in initialize
    self.system_tray_icon = factory(app_id='com.calibre-ebook.gui').create_system_tray_icon(parent=self, title='calibre')
  File "/usr/lib/calibre/calibre/gui2/dbus_export/widgets.py", line 232, in create_system_tray_icon
    ans = StatusNotifierItem(parent=parent, title=title, app_id=self.app_id, category=category)
  File "/usr/lib/calibre/calibre/gui2/dbus_export/tray.py", line 44, in __init__
    self.dbus_api = StatusNotifierItemAPI(self, **kw)
  File "/usr/lib/calibre/calibre/gui2/dbus_export/tray.py", line 114, in __init__
    self.dbus_name = BusName(self.name, bus=bus, do_not_queue=True)
  File "/usr/lib/calibre/calibre/utils/dbus_service.py", line 238, in __new__
    raise NameExistsException(name)
NameExistsException: Bus name already exists: org.kde.StatusNotifierItem-2707-1

Revision history for this message
jjinco33 (jedadiah-williams) wrote :

Uninstalled Ubuntu's version and installed binaries from the Calibre site, working fine.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in calibre (Ubuntu):
status: New → Confirmed
Revision history for this message
Sanjeev Gupta (ghane) wrote :

I am on the xenial snapshot, and after upgrading past xenial, I see something similar:

My error message is similar:
calibre, version 2.38.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more.

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/main.py", line 273, in initialize_db_stage2
    self.start_gui(db)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 213, in start_gui
    main.initialize(self.library_path, db, self.listener, self.actions)
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 371, in initialize
    CoverFlowMixin.init_cover_flow_mixin(self)
  File "/usr/lib/calibre/calibre/gui2/cover_flow.py", line 252, in init_cover_flow_mixin
    self.cover_flow = CoverFlow(parent=self)
  File "/usr/lib/calibre/calibre/gui2/cover_flow.py", line 131, in __init__
    config['cover_flow_queue_length']+1)
TypeError: PictureFlow(): argument 1 has unexpected type 'Main'

Changed in calibre (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Felix (apoapo) wrote :

Hello,

same for me, xenial.

Calibre website download version works though!

Revision history for this message
Agustin Santiago Isasmendi (isasmendi-agus) wrote :

Installing calibre from the official website works fine!

Here is the command line to install from official website
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.