Open Skrylar opened 12 years ago
Tried a full uninstall and reinstall of a newer Haskell platform, made sure all the libraries were up to the very latest possible (and some punching to get some of those new packages to work due to weird Windows problems) just in case this was it; it doesn't seem to be it.
If I recall correctly, this is due to a bug in a version of HStringTemplate. Try reinstalling the latest version of HStringTemplate (which fixes the bug), then reinstall yst. See if that fixes things.
+++ Skrylar [Nov 14 12 21:59 ]:
After running a simple:
yst create wob
It creates the directory, places in test files, and then promptly complains that it cannot find the layout file that it placed in the directory (I checked, it's there.) If I remove the ".tex.st" portion, it then explodes with a different useless error message (layout.tex.st is now layout_tex.st, and the config file is properly adjusted):
yst
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
I'm a little baffled about this; it looks like there's some kind of internal library conflicts going on; I updated cabal, cabal-install, then reinstalled pandoc, hstringtemplate and yst. Now I'm down to:
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
from the base install. It appears to be related to UTF characters in the Haskell API, from searching it looks like a few other Haskell programs have developed this issue in recent versions of GHC.
— Reply to this email directly or [1]view it on GitHub. [xJAuenYDiIoVt3LF3y6848DAslDCyjnQ6q-QyN4VMN8jJk6OrmEZuMfqEGf4kNST.gif]
References
Try reinstalling the latest version of HStringTemplate (which fixes the bug), then reinstall yst. See if that fixes things.
I did that as part of uninstalling GHC Platform 2012.2 and installing GHC Platform 2012.4; I cleared out the GHC and Cabal package directories and did a full reinstall, the problem with template files not being found is gone but the commitBuffer problem remains.
Is your locale encoding UTF-8?
+++ Skrylar [Nov 14 12 21:59 ]:
After running a simple:
yst create wob
It creates the directory, places in test files, and then promptly complains that it cannot find the layout file that it placed in the directory (I checked, it's there.) If I remove the ".tex.st" portion, it then explodes with a different useless error message (layout.tex.st is now layout_tex.st, and the config file is properly adjusted):
yst
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
I'm a little baffled about this; it looks like there's some kind of internal library conflicts going on; I updated cabal, cabal-install, then reinstalled pandoc, hstringtemplate and yst. Now I'm down to:
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
from the base install. It appears to be related to UTF characters in the Haskell API, from searching it looks like a few other Haskell programs have developed this issue in recent versions of GHC.
-- Reply to this email directly or [1]view it on GitHub. [xJAuenYDiIoVt3LF3y6848DAslDCyjnQ6q-QyN4VMN8jJk6OrmEZuMfqEGf4kNST.gif]
References
C:\Users\Skrylar\Desktop\wob>set LANG=en_US.UTF-8
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
C:\Users\Skrylar\Desktop\wob>set LOCALE=en_US.UTF-8
yst: site\events.html: commitBuffer: invalid argument (invalid character)
After running a simple:
yst create wob
It creates the directory, places in test files, and then promptly complains that it cannot find the layout file that it placed in the directory (I checked, it's there.) If I remove the ".tex.st" portion, it then explodes with a different useless error message (layout.tex.st is now layout_tex.st, and the config file is properly adjusted):
yst
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
I'm a little baffled about this; it looks like there's some kind of internal library conflicts going on; I updated cabal, cabal-install, then reinstalled pandoc, hstringtemplate and yst. Now I'm down to:
yst: site\april_events.tex: commitBuffer: invalid argument (invalid character)
from the base install. It appears to be related to UTF characters in the Haskell API, from searching it looks like a few other Haskell programs have developed this issue in recent versions of GHC.