Original author: firstname.lastname@example.org (September 06, 2011 18:32:35)
<Clint> sm: when i do cabal install hledger-web i get [07:46]
<Clint> Exception when trying to run compile-time code:
<Clint> ./.hledger/web/static: getDirectoryContents: does not exist (No
such file or directory)
<Clint> Code: staticFiles staticdir
<Clint> cabal: Error: some packages failed to install:
Original issue: http://code.google.com/p/hledger/issues/detail?id=63
From email@example.com on September 11, 2011 22:01:07
This seems to happen every time when installing hledger-web from hackage. The only workaround is to get the source and cabal install from inside the hledger-web directory. With luck yesod 0.9 will make it possible to do away with the hard-coded path for web files.
From firstname.lastname@example.org on September 14, 2011 02:38:25
Strange, I remember posting this..
Fixed in darcs, though not tested with an actual hackage server install.
From email@example.com on September 16, 2011 17:06:13
For those who don't want to jump to yesod 0.9 yet, this should also work to get hledger-web-0.15.2 installed:
$ cabal update
$ cabal unpack hledger-web
$ cd hledger-web-0.15.2
$ cabal install
From firstname.lastname@example.org on September 21, 2011 01:27:06
Workaround update: apparently it's not quite that simple, however building the latest version from darcs certainly works.
From email@example.com on October 02, 2011 16:27:04
I told a lie, it totally doesn't work yet. I'm confused.
$ cabal install hledger-web
Preprocessing executable 'hledger-web' for hledger-web-0.16...
[1 of 8] Compiling Hledger.Web.Settings ( Hledger/Web/Settings.hs, dist/build/hledger-web/hledger-web-tmp/Hledger/Web/Settings.o )
[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 )
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:
From firstname.lastname@example.org on October 03, 2011 17:21:53
Seeing this as well, any ETA on a fix?
From email@example.com on October 03, 2011 18:14:20
ETA is today if I can manage it.
From firstname.lastname@example.org on October 03, 2011 20:07:54
New ETA: tomorrow. I believe I have the right fix.
From email@example.com on October 05, 2011 01:06:32
I declare this one fixed as of hledger-web 0.16.3.