@kovid,
I'm getting an error in these circumstances:
- Open the TOC view
- Select all the text files and do a Bulk Rename
- Select a text file from the TOC view rather than the Files Browser.
It looks like the TOC viewer is remembering the old filename rather than using the new filename. The workaround is to close the TOC viewer then open it again.
This is the error message:
Spoiler:
Code:
calibre, version 1.15.0
ERROR: Unhandled exception: <b>KeyError</b>:u'Man_Smoke_split_003.html'
calibre 1.15 isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\tweak_book\boss.py", line 69, in ans
File "site-packages\calibre\gui2\tweak_book\boss.py", line 712, in link_clicked
KeyError: u'Man_Smoke_split_003.html'
Edit: Right-click Refresh on TOC view also fixes it, so maybe it just needs a suitable message to remind the user to do the refresh.