As far as I can see, the only user name on my Temp folder that doesn't have full permissions is "Users". I vaguely remember something from somewhere (Linux?) where I would have to edit the shortcut to run a program as Admin (or "Sudo"). Could it be something similar here? Could Calibre be running, not under the user I am signed in as (Admin account), but as a guest user or something?
Also, for security I am running Advast.
If it helps, when I try to run Regex in the toc.ncx file I get this error.
Quote:
calibre, version 1.19.0
ERROR: Unhandled exception: error:unknown extension at position 3
calibre 1.19 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('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 617, in search
File "site-packages\calibre\gui2\tweak_book\search.py", line 292, in get_regex
File "site-packages\regex\__init__.py", line 331, in compile
File "site-packages\regex\__init__.py", line 481, in _compile
error: unknown extension at position 3
|
My search term is "(?sU)<\?xml.*<navMap>.*<text>" and I developed it in Sigil's Regex, so that may be the problem. I thought I would post this just in case it helps.
**EDIT**
Turns out the error comes from using (?sU) to get non-greedy mode. If I use .*?, it works fine.