bjones1 / CodeChat_system

3 stars 12 forks source link

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

Open milamgh opened 10 months ago

milamgh commented 10 months ago

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 commented 10 months ago

@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 commented 10 months ago

Hi Bryan, Yes! I am ghmilam on Discord. I haven't engaged with the Pretext or Runestone community over there, however.

best, Garrett

On Fri, Jan 12, 2024 at 7:59 AM Bryan A. Jones @.***> wrote:

@milamgh https://github.com/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.

— Reply to this email directly, view it on GitHub https://github.com/bjones1/CodeChat_system/issues/64#issuecomment-1889558208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMP7WFXESPGM63MP2WAGYODYOFMUNAVCNFSM6AAAAABBW36NFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZGU2TQMRQHA . You are receiving this because you were mentioned.Message ID: @.***>

-- Garrett Milam, PhD. Faculty Secretary, 2023-24 Institutional Review Board Chair Professor and Department Chair Department of Economics University of Puget Sound 1500 N Warner St. Tacoma, WA, 98416 @. @.>* (253) 879-2949