
I've just uploaded gitit 0.5.1 to HackageDb. Gitit is a wiki program that uses git or darcs as a filestore and HAppS as a server. Changes: * Major code reorganization, making gitit more modular. * Gitit can now optionally be built using Happstack instead of HAppS (just use -fhappstack when cabal installing). * Fixed bug with directories that had the same names as pages. * Added code from HAppS-Extra to fix cookie parsing problems. * New command-line options for --port, --debug. * New debug feature prints the date, the raw request, and the processed request data to standard output on each request. * Files with ".page" extension can no longer be uploaded. * Apostrophes and quotation marks now allowed in page names.

Hi all,
Under gitit 0.5.3 I always get "Prelude.read: no parse" when trying to
load a configuration file.
My previous file goes attached, but the sample config file from
http://github.com/jgm/gitit/tree/master does not work also.
Has anything changed that is not documented?
Thanks,
hugo
On Sun, Feb 1, 2009 at 5:07 PM, John MacFarlane
I've just uploaded gitit 0.5.1 to HackageDb. Gitit is a wiki program that uses git or darcs as a filestore and HAppS as a server.
Changes:
* Major code reorganization, making gitit more modular. * Gitit can now optionally be built using Happstack instead of HAppS (just use -fhappstack when cabal installing). * Fixed bug with directories that had the same names as pages. * Added code from HAppS-Extra to fix cookie parsing problems. * New command-line options for --port, --debug. * New debug feature prints the date, the raw request, and the processed request data to standard output on each request. * Files with ".page" extension can no longer be uploaded. * Apostrophes and quotation marks now allowed in page names.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- www.di.uminho.pt/~hpacheco

On Thu, 26 Feb 2009 14:30:17 +0000
Hugo Pacheco
Hi all,
Under gitit 0.5.3 I always get "Prelude.read: no parse" when trying to load a configuration file. My previous file goes attached, but the sample config file from http://github.com/jgm/gitit/tree/master does not work also.
I don't think you can actually do multiplication in the config file, as the sample config file tries to. Replace 2 * 1024 * 1024 with 2000000, and the sample config should work. -- Robin

Still nothing. No matter which config file I try (deleting almost
every fields, newlines, etc), I always get the no parse error.
On Thu, Feb 26, 2009 at 5:47 AM, Robin Green
On Thu, 26 Feb 2009 14:30:17 +0000 Hugo Pacheco
wrote: Hi all,
Under gitit 0.5.3 I always get "Prelude.read: no parse" when trying to load a configuration file. My previous file goes attached, but the sample config file from http://github.com/jgm/gitit/tree/master does not work also.
I don't think you can actually do multiplication in the config file, as the sample config file tries to. Replace 2 * 1024 * 1024 with 2000000, and the sample config should work. -- Robin _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- www.di.uminho.pt/~hpacheco

Are you by chance using OSX? The file you attached was not a plain text file -- it was an RTF file. If you made this file on OSX and forgot to invoke the Format > Make Plain Text command, it'll be an RTF file which I'm sure gitit will have no clue about. -Ross On Feb 26, 2009, at 10:21 AM, Hugo Pacheco wrote:
Still nothing. No matter which config file I try (deleting almost every fields, newlines, etc), I always get the no parse error.
On Thu, Feb 26, 2009 at 5:47 AM, Robin Green
wrote: On Thu, 26 Feb 2009 14:30:17 +0000 Hugo Pacheco
wrote: Hi all,
Under gitit 0.5.3 I always get "Prelude.read: no parse" when trying to load a configuration file. My previous file goes attached, but the sample config file from http://github.com/jgm/gitit/tree/master does not work also.
I don't think you can actually do multiplication in the config file, as the sample config file tries to. Replace 2 * 1024 * 1024 with 2000000, and the sample config should work. -- Robin _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- www.di.uminho.pt/~hpacheco _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Yes I am.
I just copy/pasted the text from the server where it is plain text, so
that shall not be the problem.
On Thu, Feb 26, 2009 at 3:23 PM, Ross Mellgren
Are you by chance using OSX? The file you attached was not a plain text file -- it was an RTF file.
If you made this file on OSX and forgot to invoke the Format > Make Plain Text command, it'll be an RTF file which I'm sure gitit will have no clue about.
-Ross
On Feb 26, 2009, at 10:21 AM, Hugo Pacheco wrote:
Still nothing. No matter which config file I try (deleting almost every fields, newlines, etc), I always get the no parse error.
On Thu, Feb 26, 2009 at 5:47 AM, Robin Green
wrote: On Thu, 26 Feb 2009 14:30:17 +0000 Hugo Pacheco
wrote: Hi all,
Under gitit 0.5.3 I always get "Prelude.read: no parse" when trying to load a configuration file. My previous file goes attached, but the sample config file from http://github.com/jgm/gitit/tree/master does not work also.
I don't think you can actually do multiplication in the config file, as the sample config file tries to. Replace 2 * 1024 * 1024 with 2000000, and the sample config should work. -- Robin _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- www.di.uminho.pt/~hpacheco _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- www.di.uminho.pt/~hpacheco
participants (4)
-
Hugo Pacheco
-
John MacFarlane
-
Robin Green
-
Ross Mellgren