error when sorting bookmarks by position

Bug #1402152 reported by C on 2014-12-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

When I press "Sort by position" in the bookmark manager, I get an unhandled exception message.

This is in Calibre for Windows, version 2.12 64bit.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\viewer\bookmarkmanager.py", line 182, in sort_by_pos
  File "site-packages\calibre\gui2\viewer\bookmarkmanager.py", line 179, in pos_key
  File "site-packages\calibre\ebooks\epub\cfi\parse.py", line 177, in cfi_sort_key
  File "site-packages\calibre\ebooks\epub\cfi\parse.py", line 167, in parser
  File "site-packages\calibre\ebooks\epub\cfi\parse.py", line 36, in __init__
  File "site-packages\calibre\ebooks\epub\cfi\parse.py", line 31, in <lambda>
  File "site-packages\regex\__init__.py", line 331, in compile
  File "site-packages\regex\__init__.py", line 493, in _compile
error: bad character range at position 21

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