Installing hledger-web

Hello, I installed hledger and tried installing hledger-web but got the following error: [2 of 8] Compiling Hledger.Web.Settings.StaticFiles ( Hledger/Web/Settings/StaticFiles.hs, dist/build/hledger-web/hledger-web-tmp/Hledger/Web/Settings/StaticFiles.o ) Hledger/Web/Settings/StaticFiles.hs:1:1: Exception when trying to run compile-time code: ./static: getDirectoryContents: does not exist (No such file or directory) Code: staticFiles staticDir cabal: Error: some packages failed to install: hledger-web-0.16 failed during the building phase. The exception was: ExitFailure 1 I install on xubuntu 11.04 with ghc 7.0.3 and latest haskell platform. The installation is quite new without much other libs. Thanks for helping, Arnaud

Thanks for the report Arnaud. Can you try again with cabal install hledger-web -fproduction ? That flag is supposed to be default but it sounds like I messed up. -Simon On 10/1/11 1:42 PM, Arnaud Bailly wrote:
Hello, I installed hledger and tried installing hledger-web but got the following error: [2 of 8] Compiling Hledger.Web.Settings.StaticFiles ( Hledger/Web/Settings/StaticFiles.hs, dist/build/hledger-web/hledger-web-tmp/Hledger/Web/Settings/StaticFiles.o )
Hledger/Web/Settings/StaticFiles.hs:1:1: Exception when trying to run compile-time code: ./static: getDirectoryContents: does not exist (No such file or directory) Code: staticFiles staticDir cabal: Error: some packages failed to install: hledger-web-0.16 failed during the building phase. The exception was: ExitFailure 1
I install on xubuntu 11.04 with ghc 7.0.3 and latest haskell platform. The installation is quite new without much other libs.
Thanks for helping, Arnaud
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Thanks Simon. Unfortunately, I got the same error.
On Sun, Oct 2, 2011 at 2:50 AM, Simon Michael
Thanks for the report Arnaud. Can you try again with cabal install hledger-web -fproduction ? That flag is supposed to be default but it sounds like I messed up.
-Simon
On 10/1/11 1:42 PM, Arnaud Bailly wrote:
Hello, I installed hledger and tried installing hledger-web but got the following error: [2 of 8] Compiling Hledger.Web.Settings.**StaticFiles ( Hledger/Web/Settings/**StaticFiles.hs, dist/build/hledger-web/**hledger-web-tmp/Hledger/Web/**Settings/StaticFiles.o )
Hledger/Web/Settings/**StaticFiles.hs:1:1: Exception when trying to run compile-time code: ./static: getDirectoryContents: does not exist (No such file or directory) Code: staticFiles staticDir cabal: Error: some packages failed to install: hledger-web-0.16 failed during the building phase. The exception was: ExitFailure 1
I install on xubuntu 11.04 with ghc 7.0.3 and latest haskell platform. The installation is quite new without much other libs.
Thanks for helping, Arnaud
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe

I have reopened http://code.google.com/p/hledger/issues/detail?id=63 . Sorry for the breakage. I thought I had this working once but I'm not sure how! -Simon On 10/1/11 10:36 PM, Arnaud Bailly wrote:
Thanks Simon. Unfortunately, I got the same error.
On Sun, Oct 2, 2011 at 2:50 AM, Simon Michael
mailto:simon@joyful.com> wrote: Thanks for the report Arnaud. Can you try again with cabal install hledger-web -fproduction ? That flag is supposed to be default but it sounds like I messed up.
-Simon
On 10/1/11 1:42 PM, Arnaud Bailly wrote:
Hello, I installed hledger and tried installing hledger-web but got the following error: [2 of 8] Compiling Hledger.Web.Settings.__StaticFiles ( Hledger/Web/Settings/__StaticFiles.hs, dist/build/hledger-web/__hledger-web-tmp/Hledger/Web/__Settings/StaticFiles.o )
Hledger/Web/Settings/__StaticFiles.hs:1:1: Exception when trying to run compile-time code: ./static: getDirectoryContents: does not exist (No such file or directory) Code: staticFiles staticDir cabal: Error: some packages failed to install: hledger-web-0.16 failed during the building phase. The exception was: ExitFailure 1
I install on xubuntu 11.04 with ghc 7.0.3 and latest haskell platform. The installation is quite new without much other libs.
Thanks for helping, Arnaud
_________________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org mailto:Haskell-Cafe@haskell.org http://www.haskell.org/__mailman/listinfo/haskell-cafe http://www.haskell.org/mailman/listinfo/haskell-cafe
_________________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org mailto:Haskell-Cafe@haskell.org http://www.haskell.org/__mailman/listinfo/haskell-cafe http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

No problem ! BTW, have you ever thought of coupling hledger with git for
saving a ledger ? There is ongoing work to provide a "native" git interface.
Regards
Arnaud
On Sun, Oct 2, 2011 at 6:32 PM, Simon Michael
I have reopened http://code.google.com/p/**hledger/issues/detail?id=63http://code.google.com/p/hledger/issues/detail?id=63. Sorry for the breakage. I thought I had this working once but I'm not sure how!
-Simon
On 10/1/11 10:36 PM, Arnaud Bailly wrote:
Thanks Simon. Unfortunately, I got the same error.
On Sun, Oct 2, 2011 at 2:50 AM, Simon Michael
> wrote: Thanks for the report Arnaud. Can you try again with cabal install hledger-web -fproduction ? That flag is supposed to be default but it sounds like I messed up.
-Simon
On 10/1/11 1:42 PM, Arnaud Bailly wrote:
Hello, I installed hledger and tried installing hledger-web but got the following error: [2 of 8] Compiling Hledger.Web.Settings.__**StaticFiles ( Hledger/Web/Settings/__**StaticFiles.hs, dist/build/hledger-web/__**hledger-web-tmp/Hledger/Web/__**Settings/StaticFiles.o )
Hledger/Web/Settings/__**StaticFiles.hs:1:1:
Exception when trying to run compile-time code: ./static: getDirectoryContents: does not exist (No such file or directory) Code: staticFiles staticDir cabal: Error: some packages failed to install: hledger-web-0.16 failed during the building phase. The exception was: ExitFailure 1
I install on xubuntu 11.04 with ghc 7.0.3 and latest haskell platform. The installation is quite new without much other libs.
Thanks for helping, Arnaud
______________________________**___________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org
http://www.haskell.org/__**mailman/listinfo/haskell-cafehttp://www.haskell.org/__mailman/listinfo/haskell-cafe< http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
______________________________**___________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org
http://www.haskell.org/__**mailman/listinfo/haskell-cafehttp://www.haskell.org/__mailman/listinfo/haskell-cafe< http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe

On 10/2/11 10:12 AM, Arnaud Bailly wrote:
No problem ! BTW, have you ever thought of coupling hledger with git for saving a ledger ? There is ongoing work to provide a "native" git interface.
Yes, Clint Adams has begun adapting it to use the filestore (rcs abstraction layer) lib, and this is a goal of the 0.17 release. Additional help welcome!

Being a long time user of ledger though and a long time haskell fan, I would
be more than happy to lend a hand but my free time is short.
I will try to have a look to the sources and see if I can find opportunities
to help.
Regards,
Arnaud
On Mon, Oct 3, 2011 at 8:27 PM, Simon Michael
On 10/2/11 10:12 AM, Arnaud Bailly wrote:
No problem ! BTW, have you ever thought of coupling hledger with git for saving a ledger ? There is ongoing work to provide a "native" git interface.
Yes, Clint Adams has begun adapting it to use the filestore (rcs abstraction layer) lib, and this is a goal of the 0.17 release. Additional help welcome!
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Arnaud Bailly
-
Simon Michael