new patch seems to have broken xi on Windows?

35 views
Skip to first unread message

Andrew Cooper

unread,
Jun 7, 2026, 11:42:11 AM (11 days ago) Jun 7
to PreTeXt support
Hey all, it looks like the new version (even with Oscar's patch 2.41.2) doesn't play nice with <xi>? Maybe a Windows filename issue?

Here's the error: 

Screenshot 2026-06-07 113628.png

Before the update, this was working just fine. Trying it with an empty import file throws the same error.


Rob Beezer

unread,
Jun 7, 2026, 11:49:42 AM (11 days ago) Jun 7
to pretext...@googlegroups.com
Your source for the "xi:include" might help.

Andrew Cooper

unread,
Jun 7, 2026, 4:02:50 PM (11 days ago) Jun 7
to PreTeXt support
<interactive platform="doenetml" width="100%" aspect="2:8">
  <slate surface="doenetml">
    <xi:include parse="text" href="preface-ladder.doenetml"/>
  </slate>
</interactive>

Oscar Levin

unread,
Jun 7, 2026, 7:06:58 PM (11 days ago) Jun 7
to pretext...@googlegroups.com
Would you be willing to downgrade to the previous working version, using `pip install pretext==2.40.2`, and verify that the same files actually work?  I have one idea what might have happened, but I'm not sure I have time in the next week to investigate.  And that should at least get your project working again.

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/6a1d04b3-fd50-44d2-83e0-7ea683145f9cn%40googlegroups.com.

Oscar Levin

unread,
Jun 7, 2026, 8:48:07 PM (11 days ago) Jun 7
to Andrew Cooper, pretext...@googlegroups.com
Interesting.  I have not been able to get things to work with python 3.14, so this must be where the issue is.  I'll have to figure out what is going wrong with that soon.

On Sun, Jun 7, 2026, 6:00 PM Andrew Cooper <andrew....@gmail.com> wrote:
Huh, go figure. I downgraded python to 3.13, reinstalled pretext (2.41.2), and now everything is just fine. I guess it was something about my python installation. Sorry for the trouble!
Reply all
Reply to author
Forward
0 new messages