Project

General

Profile

Bug #1634

calibre can't open

lanlink - about 6 years ago - . Updated almost 6 years ago.

Status:
fixed
Priority:
broken
Assignee:
% Done:

0%


Description

calibre, version 3.16.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 293, in initialize_db_stage2
self.start_gui(db)
File "/usr/lib/calibre/calibre/gui2/main.py", line 233, in start_gui
main.initialize(self.library_path, db, self.listener, self.actions)
File "/usr/lib/calibre/calibre/gui2/ui.py", line 255, in initialize
LayoutMixin.init_layout_mixin(self)
File "/usr/lib/calibre/calibre/gui2/init.py", line 563, in init_layout_mixin
self.vl_tabs = VLTabs(self)
File "/usr/lib/calibre/calibre/gui2/init.py", line 399, in init
self.setTabsClosable(gprefs['vl_tabs_closable'])
File "/usr/lib/calibre/calibre/utils/config.py", line 420, in getitem
return self.defaults[key]
KeyError: 'vl_tabs_closable'

History

#1

Updated by ovruni about 6 years ago

  • % Done changed from 0 to 100
  • Assignee set to ovruni
  • Status changed from open to fixed
  • Due date set to 2018-03-14
#2

Updated by penguyman about 6 years ago

lanlink wrote:

calibre, version 3.16.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 293, in initialize_db_stage2
self.start_gui(db)
File "/usr/lib/calibre/calibre/gui2/main.py", line 233, in start_gui
main.initialize(self.library_path, db, self.listener, self.actions)
File "/usr/lib/calibre/calibre/gui2/ui.py", line 255, in initialize
LayoutMixin.init_layout_mixin(self)
File "/usr/lib/calibre/calibre/gui2/init.py", line 563, in init_layout_mixin
self.vl_tabs = VLTabs(self)
File "/usr/lib/calibre/calibre/gui2/init.py", line 399, in init
self.setTabsClosable(gprefs['vl_tabs_closable'])
File "/usr/lib/calibre/calibre/utils/config.py", line 420, in getitem
return self.defaults[key]
KeyError: 'vl_tabs_closable'

With `calibre 3.19` this bug is present.

#3

Updated by mzo about 6 years ago

With `calibre 3.20` the bug persists in my system. No changes since version 3.16.

#4

Updated by xrchz about 6 years ago

  • % Done changed from 100 to 0

This is still broken for me too.

#5

Updated by oaken-source about 6 years ago

a quick fix for this is setting vl_tabs_closable to true in ~/.config/calibre/gui.json

I'm not sure why no default setting is picked up for this, it appears to work fine for other settings.

#6

Updated by willspoke almost 6 years ago

This quick fix has worked. Thank you.

#7

Updated by lenzj almost 6 years ago

I was having the same issue with calibre-3.20.0-1. Thanks for posting the quick fix! For anyone else having this issue and is unsure of exactly what to type into "~/.config/calibre/gui.json", you can paste the following line in on its own row:

"vl_tabs_closable": true,

Also available in: Atom PDF