active-calculus / active-calculus-vector

Vector calculus materials to accompany Active Calculus Multivariable
5 stars 10 forks source link

CLI Not Yet Working #35

Closed nelong closed 2 years ago

nelong commented 2 years ago

I have updated the CLI (via the documentation) to 0.6.3. I have verified that the CLI is working by making a sample book (via the template), including building to html and viewing through the CLI commands. When using the command in the README, I get the following output

C:\Users\longne\Documents\GitHub\active-calculus-vector>python -m pretext build vector PreTeXt project found in C:\Users\longne\Documents\GitHub\active-calculus-vector. Building with custom xsl C:\Users\longne\Documents\GitHub\active-calculus-vector\xsl\acmv-html.xsl specified in project.ptx Traceback (most recent call last): File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\pretext__main.py", line 4, in main() File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1130, in call return self.main(*args, kwargs) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, ctx.params) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 760, in invoke return callback(*args, **kwargs) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\pretext\cli.py", line 239, in build project.build(target_name,webwork,diagrams,diagrams_format,only_assets,clean) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\pretext\project.py", line 246, in build utils.copy_fix_xsl(target.xsl_path(), temp_xsl_dir) File "C:\Users\longne\AppData\Local\Programs\Python\Python39\lib\site-packages\pretext\utils.py", line 256, in copy_fix_xsl lxml_element = ET.parse(filename) File "src\lxml\etree.pyx", line 3536, in lxml.etree.parse File "src\lxml\parser.pxi", line 1876, in lxml.etree._parseDocument File "src\lxml\parser.pxi", line 1902, in lxml.etree._parseDocumentFromURL File "src\lxml\parser.pxi", line 1805, in lxml.etree._parseDocFromFile File "src\lxml\parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile File "src\lxml\parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc File "src\lxml\parser.pxi", line 725, in lxml.etree._handleParseResult File "src\lxml\parser.pxi", line 654, in lxml.etree._raiseParseError File "acmv-common.xsl", line 116 lxml.etree.XMLSyntaxError: Entity 'PROJECT-LIKE' not defined, line 116, column 36