Git Product home page Git Product logo

Comments (5)

Skrylar avatar Skrylar commented on September 26, 2024

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.

from yst.

jgm avatar jgm commented on September 26, 2024

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

  1. #30

from yst.

Skrylar avatar Skrylar commented on September 26, 2024

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.

from yst.

jgm avatar jgm commented on September 26, 2024

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

  1. #30

from yst.

Skrylar avatar Skrylar commented on September 26, 2024

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)

from yst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.