Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeChat not functioning with Pretext project. "source newer than html" error #64

Open
milamgh opened this issue Jan 11, 2024 · 2 comments

Comments

@milamgh
Copy link

milamgh commented Jan 11, 2024

For context, I encountered this issue with a Windows VS Code local setup. Newly installed CodeChat_server and CodeChat extension.

The issue is that CodeChat will display html build of pretext project after building with pretext-tools in VS Code, but it does not update as I edit the source file. Also, if I save the source file, CodeChat throws the following error below the html view window:

C:\FOO\codechat\Scripts\python.exe: No module named pretext c:\FOO\Documents\books\BC_Live\source\sec_constructing-demand.ptx:: ERROR: CodeChat renderer - source file newer than the HTML file c:\FOO\Documents\books\BC_Live\output\web\sec_constructing-demand.html.

It may be a problem with my specific setup on Windows but I followed the instructions on the readthedocs.io page . I am least certain about my path to the server setup in the extension, but it would seem CodeChat wouldn't be able to display if it couldn't find the server.

@bjones1
Copy link
Owner

bjones1 commented Jan 12, 2024

@milamgh, thanks for the report. It looks like CodeChat can't run PreTeXt on your PC. Are you Discord? If so, we can chat to resolve this.

@milamgh
Copy link
Author

milamgh commented Jan 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants