You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
with archmage version 0.3.1 you used to be able to create html files not only from a compiled chm but also from its source.
For example I used to build the html helm from following chm source files: https://salsa.debian.org/dotnet-team/keepass2/tree/master/Docs
With:
It appears this does not work anymore in the version 0.4.1:
import archmage.CHM;
archmage.CHM.CHMFile("Docs")
Traceback (most recent call last):
File "test.py", line 3, in <module>
archmage.CHM.CHMFile("Docs")
File "/usr/lib/python3/dist-packages/archmage/CHM.py", line 71, in __init__
self.topicstree = self.topics()
File "/usr/lib/python3/dist-packages/archmage/CHM.py", line 143, in topics
self.cache['topics'] = self._topics()
File "/usr/lib/python3/dist-packages/archmage/CHM.py", line 147, in _topics
for e in self.entries():
File "/usr/lib/python3/dist-packages/archmage/CHM.py", line 81, in entries
self.cache['entries'] = self._entries()
File "/usr/lib/python3/dist-packages/archmage/CHM.py", line 92, in _entries
if chmlib.chm_enumerate(self._chm, chmlib.CHM_ENUMERATE_ALL, get_name, out) == 0:
File "/usr/lib/python3/dist-packages/chm/chmlib.py", line 44, in chm_enumerate
return _chmlib.chm_enumerate(h, what, enumerator, context)
ValueError: Expected valid chmlib object
This is not mentioned in the NEWS file, was this feature intentionally removed?
The text was updated successfully, but these errors were encountered:
add back the ability to export htlm files from chm templates via:
python3 -c 'import archmage.CHM; archmage.CHM.CHMFile("chmdir").process_templates("output")'
Closesdottedmaggh-16
Hello,
with archmage version 0.3.1 you used to be able to create html files not only from a compiled chm but also from its source.
For example I used to build the html helm from following chm source files:
https://salsa.debian.org/dotnet-team/keepass2/tree/master/Docs
With:
It appears this does not work anymore in the version 0.4.1:
This is not mentioned in the NEWS file, was this feature intentionally removed?
The text was updated successfully, but these errors were encountered: