View Single Post
Old 04-15-2025, 05:13 PM   #1
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 71
Karma: 46
Join Date: Mar 2017
Device: None
Embedded Python error after applying 'Rebase OPF Manifest IDs on Current Filenames'

I'm working with an epub that has MathJax scripts. This error is thrown after applying 'Rebase OPF Manifest IDs on Current Filenames':

Code:
Traceback (most recent call last):

  File "C:\Program Files/Sigil/python3lib\fix_opf_ids.py", line 63, in rebase_manifest_ids
    new_id = GetUniqueId(new_id, used_ids)
             ^^^^^^^^^^^

NameError: name 'GetUniqueId' is not defined
Easy work around on my end if I restructure to sigil norm, something I usually prefer not to do.

So, I don't know if this is a bug or not.

Windows 10
Sigil version 2.4.2
Attached Files
File Type: epub GetUniqueId.epub (33.3 KB, 45 views)
mrprobert is offline   Reply With Quote