From: Luke D. <dec...@gm...> - 2018-12-13 17:33:37
|
Antananarivoians, Let me join Julien in identifying a peculiar emergent issue in Madagascar! Attempting to render pdfs using SConstruct (even $RSFSRC/book/geo384h/hw1 , which I used to make sure it wasn’t just my manuscript) produces the following error on my Linux workstation: [luke@osiris hw1]$ scons pdf scons: Reading SConscript files ... SyntaxError: unqualified exec is not allowed in function 'colorize' it contains a nested function with free variables (tex.py, line 636) I identified a workaround for those needing to generate manuscripts ASAP: switching to the dtw branch I created a couple months ago and reinstalling Madagascar mitigates this error. This makes me think the error was sourced by some modifications made between then and now. FYI here is a relevant error that gets thrown during installation of the main branch most current version of Madagascar: __pycompile(["build/framework/rsf/tex.pyc"], ["build/framework/rsf/tex.py"]) SyntaxError: unqualified exec is not allowed in function 'colorize' it contains a nested function with free variables (tex.py, line 636) Install file: "build/framework/rsf/tex.pyc" as "/workspace/luke/madagascar/lib/python2.7/site-packages/rsf/tex.pyc" scons: *** [/workspace/luke/madagascar/lib/python2.7/site-packages/rsf/tex.pyc] build/framework/rsf/tex.pyc: No such file or directory Install file: "config.py" as "/workspace/luke/madagascar/share/madagascar/etc/config.py" scons: done building targets (errors occurred during build). Thanks, Luke |