Experimental IRC log happs-2007-11-11

Available formats: content-negotiated html turtle (see SIOC for the vocabulary)

Back to channel and daily index: content-negotiated html turtle

These logs are provided as an experiment in indexing discussions using IRCHub.py, Irc2RDF.hs, and SIOC.

17:00:04<pidou>Hi!
17:45:15<davidL>is there supposed to be a blog in HAppS-Begin? I just see a hello world page when I go to localhost:8000
17:49:20<pidou>davidL: Same problem with me ...
17:50:19<pidou>And when I look inside Main.hs, I see: main = helloWorld
17:51:14<pidou>and the helloWorld function responds "Hello World" to any request ...
17:51:22<davidL>hmm yeah and helloWorld = start serverConfig { http=[anyRequest $ ok $ TXH.h1 $ TXH.toHtml "hello world"] }
17:51:39<davidL>odd
17:52:30<pidou>There are also an helloWord2 and a stateMain
17:53:05<pidou>rewritting: main = helloWord2 works as expected
17:53:15<davidL>did you try main = stateMain?
17:53:27<pidou>but rewritting: main = stateMain doesn't work
17:53:36<davidL>:-[
17:55:54<pidou>In it 'works' if the program is executed inside the haskell directory and if the reference to: "public" in the implementation (impl = ...) is changed to "../public" then the static files are served.
17:56:11<pidou>But I don't see any blog working ... ?!
17:57:53<davidL>Main: Prelude.read: no parse
17:59:00<pidou>You will not got this error if you execute the program inside the haskell directory. (I don't know why)
18:00:18<davidL>hmm, and then it says file not found public, so if I change it to ../public
18:01:24<davidL>then I get the docs
18:02:12<pidou>But when I go to localhost:8000/blog I get this error: http://hpaste.org/3810
18:02:18<davidL>Server error: src/HAppS/Data/IxSet.hs:(394,0)-(409,39): Non-exhaustive patterns in function getOrd
18:05:43<davidL>login seems to work
18:09:30<davidL>I wonder if hpaste works with happs-0.9.1
18:12:06<pidou>I asked this same question in #haskell.
18:12:18<pidou>They answered me that it doesn't.
18:12:53<pidou>It doesn't work either with happs-0.8.4
18:13:13<pidou>But It should work with happs-0.8.8
18:13:44<pidou>But I don't know where to find happs-0.8.8 ...
18:14:13<pidou>And on #haskell they didn't seem to konw either.
18:23:23<davidL>http://ftp.de.debian.org/debian/pool/main/h/happs/happs_0.8.8+darcs20070523.orig.tar.gz
18:25:20<Saizan_>when you change your state you're supposed to delete _local
18:25:30<Saizan_>that's the Main: Prelude.read: no parse
18:25:31<davidL>oh
18:25:32<Saizan_>error
18:26:32<Saizan_>Main: Prelude.read: no parse
18:26:34<Saizan_>ops
18:26:38<Saizan_>Main: Prelude.read: no parse
18:26:44<Saizan_>..
18:26:54<davidL>0.8.8 compiled for me
18:28:54<davidL>that does fix the no parse error, unfortunately the blog error is still there
18:36:11<pidou>Saizan_: thank you for this precision on the necessity to delete _local when we change our state ...
18:38:05<sclv>it seems it would be pretty easy to fix up the offending line in Serialize.hs
18:38:17<sclv>46, I think it is, which reads: n = read (L.unpack ln)
18:48:06<Saizan_>sclv: that still won't make the serialization succeed, but it could give a more informative error
18:49:09<sclv>Saizan: yeah, that's all I meant -- it seems like there are more informative errors in other cases, but for some reason this just gives a messy fastfail that confuses new users to no end.
18:52:09<Saizan_>yup, patches welcomed as usual, i think :)
20:01:35<shapr>Should Atom.hs in HAppS-Begin be able to parse a google calendar basic feed?
20:12:16<davidL>hpaste works!
20:12:20<shapr>yay!
20:15:12<sorear>it didn't?
20:15:28<sorear>will people PLEASE notify the maintainer when hpaste breaks?
20:15:35<sorear>ACTION /hilight hpaste
20:15:54<davidL>hpaste-devel works with 0.8.8 happs and darcs hscolor
20:16:18<sorear>oh, I thought you meant that the live instance broke
20:16:40<davidL>oh, no
20:23:35<chessguy>sorear, you're maintaining hpaste? i thought glguy was
20:24:08<sorear>chessguy: both of us
20:24:19<chessguy>aha
20:25:17<shapr>Has anyone used HAppS.Data.Xml.Base for parsing?
20:29:57<shapr>ACTION tries to figure out what's up with Rigidity
20:42:22<davidL>does there need to be a seperate webserver for hpaste to serve static files like hpaste.css and hi.js?
20:42:35<shapr>Why, is it having problems?
20:43:05<davidL>/static/hpaste.css doesn't exist and that's where it looks for the stylesheet
20:43:26<shapr>Are you talking about the running instance of hpaste?
20:43:49<davidL>no, I'm talking about my own
20:43:51<Saizan_>davidL: create a static/ directory and put the files there
20:44:10<shapr>oh, I was just logging into ScannedInAvian.com to fix hpaste :-)
20:44:30<davidL>the static/ directory should be in the same place with the bin file?
20:44:53<Saizan_>it should be in the directory where you run it
20:45:25<davidL>that works, thanks Saizan_
23:16:47<shapr>@yow !

Back to channel and daily index: content-negotiated html turtle