View Single Post
Old 04-15-2025, 05:36 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,701
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by mrprobert View Post
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
Definitely a bug. At a glance, I'd say GetUniqueId needs to be changed to GenerateUniqueId at line 63 of fix_opf_ids.py.

EDIT: The path separators are a red herring in this instance.
DiapDealer is offline   Reply With Quote