Re: [Haskell-cafe] Re: ANN: Yi 0.4.1
I had the same problem on x86_64 linux using the Gtk front and no custom config with the current Yi on Hackage (0.4.3). Using catchGError revealed: user error (Failed to open file '/home/bernardy/.cabal/share/yi-0.4.3/art/yi+lambda-fat.32.png': No such file or directory) Tracked down to Paths_yi.hs : bindir = /home/bernardy/.cabal/bin libdir = /home/bernardy/.cabal/lib/yi-0.4.3/ghc-6.8.3 datadir= /home/bernardy/.cabal/share/yi-0.4.3 libexecdir = /home/bernardy/.cabal/libexec I just built the latest Yi from Darcs and this seems to have been fixed. - Jon Duncan Coutts wrote: On Sun, 2008-07-27 at 20:58 +, Jean-Philippe Bernardy wrote: Don Stewart dons at galois.com writes: $ yi -f pango Launching custom yi: /home/dons/.yi/yi-x86_64-linux yi: exception :: System.Glib.GError.GError Anyone seen this? Consistently on x64. The pango stuff is generally unstable anyway. I'm not sure what's to blame. That's interesting. That's a Haskell exception (dynamic type). I doubt it's being thrown by the Pango code, there's only one use of it there, in parseMarkup and that should throw parsing errors pretty much independent of platform. You can catch those GError exceptions and print more interesting info. Use: catchGError (do ... ...) (\(GError dom code msg) - fail msg) Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: ANN: Yi 0.4.1
Niklas Broberg niklas.broberg at gmail.com writes: The gtk frontend should not suffer from this: yi -fgtk C:\Documents and Settings\Niklas Brobergyi -fgtk yi: exception :: System.Glib.GError.GError I'm out of ideas. Maybe you could ask Krasimir Angelov, which did the win32 port. ps. If I installed it with -f-vty -fgtk, shouldn't gtk be the default when running? It is; I was just making sure. Cheers, JP. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: ANN: Yi 0.4.1
stefan kersten sk at k-hornz.de writes: any ideas what's going wrong? is it finally time to upgrade my ghc installation? Yep; I think this is fixed in later GHCs. -- JP ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: ANN: Yi 0.4.1
On Mon, 2008-07-28 at 07:39 +, Jean-Philippe Bernardy wrote: Niklas Broberg niklas.broberg at gmail.com writes: The gtk frontend should not suffer from this: yi -fgtk C:\Documents and Settings\Niklas Brobergyi -fgtk yi: exception :: System.Glib.GError.GError I'm out of ideas. Maybe you could ask Krasimir Angelov, which did the win32 port. Try catching the exception and see what message it contains. Use catchGError. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: ANN: Yi 0.4.1
Niklas Broberg niklas.broberg at gmail.com writes: Hi Jean-Philippe, Using cabal install: cabal install yi-0.4.1 when I do this on my Windows machine, cabal-install tries to download the unix-2.3.0.0 package, which clearly won't work. How do I get yi to install on Windows? Vty frontend does not work on win32, so you must install gtk2hs (latest) beforehand. Additionally, I recommend to use cabal install yi-0.4.1 -f-vty -fgtk to force choosing the right options. Cheers, JP. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: ANN: Yi 0.4.1
Don Stewart dons at galois.com writes: $ yi -f pango Launching custom yi: /home/dons/.yi/yi-x86_64-linux yi: exception :: System.Glib.GError.GError Anyone seen this? Consistently on x64. The pango stuff is generally unstable anyway. I'm not sure what's to blame. -- JP ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: ANN: Yi 0.4.1
Thanks, after installing gtk2hs and using the flags you told me I managed to install it just fine. However... $ yi -f pango Launching custom yi: /home/dons/.yi/yi-x86_64-linux yi: exception :: System.Glib.GError.GError Anyone seen this? Consistently on x64. The pango stuff is generally unstable anyway. I'm not sure what's to blame. ... I got this error too, and I'm on Win32. :-( Cheers, /Niklas ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: ANN: Yi 0.4.1
Niklas Broberg niklas.broberg at gmail.com writes: Thanks, after installing gtk2hs and using the flags you told me I managed to install it just fine. However... Good :) The pango stuff is generally unstable anyway. I'm not sure what's to blame. ... I got this error too, and I'm on Win32. The gtk frontend should not suffer from this: yi -fgtk -- JP. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Re: ANN: Yi 0.4.1
The gtk frontend should not suffer from this: yi -fgtk C:\Documents and Settings\Niklas Brobergyi -fgtk yi: exception :: System.Glib.GError.GError :-( Cheers, /Niklas ps. If I installed it with -f-vty -fgtk, shouldn't gtk be the default when running? :-) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe