Editor: Edit Prefs crashes on Create/edit custom color schemes

Bug #1629294 reported by Jackie Stockdale on 2016-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Calibre 2.69 64-bit run-from-source Windows 10

I just tried to use Edit - Prefs - Editor settings - create/edit custom color schemes button
Calibre crashes with the error message below as soon as I hit the button.

Just in case it's relevant, my 'production' calibre is still 2.67. This doesn't have the same problem.

calibre 2.69* [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
[snip]
Traceback (most recent call last):
  File "C:\JS_git_devel\cal\src\calibre\gui2\tweak_book\preferences.py", line 257, in custom_theme
  File "C:\JS_git_devel\cal\src\calibre\gui2\tweak_book\editor\themes.py", line 530, in __init__
  File "C:\JS_git_devel\cal\src\calibre\gui2\tweak_book\widgets.py", line 45, in __init__
  File "C:\JS_git_devel\cal\src\calibre\gui2\widgets2.py", line 162, in __init__
  File "C:\JS_git_devel\cal\src\calibre\gui2\tweak_book\editor\themes.py", line 571, in setup_ui
IndexError: tuple index out of range

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers