No system metadata

251 views
Skip to first unread message

Luke

unread,
Aug 13, 2011, 5:31:46 PM8/13/11
to leksah
On only one of my machines (Mac) Leksah has never displayed any system
metadata. No matter what buttons and menus I use to try to rebuild
the metadata, nothing seems to happen. In particular, I've tried
"Update System Metadata" and "Refresh System Metadata".

I've tried reinstalling the Haskell Platform and Leksah.
I've also tried deleting the 'dot' files (an old .leksah-0.8 and the
newer .leksah-0.10) and rerunning Leksah. On restarting I just accept
the default settings, leaving the search paths blank and it seems to
put up the "Please wait while Leksah collects information about
Haskell packages on your system" progress bar for a while, but there's
no sign of any system metadata in the browser afterward.

I have everything working fine on my Macbook and my work Mac Pro, but
not on my home Mac Pro. I don't remember doing anything special on
these other machines - just installed Leksah after installing the
Haskell Platform and everything worked.

Any ideas?
I haven't blown away my .cabal user directory yet. Would prefer not
to, but could something in that cause a problem?

-- Luke

P.S. Here's what's logged in the console when starting Leksah:


11-08-13 2:25:25.654 PM [0x0-0x707707].org.leksah: Aug 13 14:25:25
octane.local leksah[78090] <Error>: clip: empty path.
11-08-13 2:25:33.770 PM [0x0-0x707707].org.leksah: (leksah:78090): Gtk-
WARNING **: Unable to rename '/Users/luke/.recently-used.xbel': No
such file or directory
11-08-13 2:25:33.891 PM leksah: clip: empty path.
11-08-13 2:25:33.892 PM [0x0-0x707707].org.leksah: Aug 13 14:25:33
octane.local leksah[78090] <Error>: clip: empty path.
11-08-13 2:25:56.203 PM leksah: clip: empty path.
11-08-13 2:25:56.204 PM [0x0-0x707707].org.leksah: Aug 13 14:25:56
octane.local leksah[78090] <Error>: clip: empty path.
11-08-13 2:28:59.261 PM leksah: clip: empty path.
11-08-13 2:28:59.261 PM [0x0-0x707707].org.leksah: Aug 13 14:28:59
octane.local leksah[78090] <Error>: clip: empty path.
11-08-13 2:28:59.315 PM [0x0-0x707707].org.leksah: Using default Yi
configuration
11-08-13 2:28:59.315 PM [0x0-0x707707].org.leksah: Yi Control Do
Layout
11-08-13 2:28:59.315 PM [0x0-0x707707].org.leksah: Now updating system
metadata ...
11-08-13 2:28:59.346 PM [0x0-0x707707].org.leksah: ***ser
11-08-13 2:28:59.346 PM [0x0-0x707707].org.leksah: ver start
11-08-13 2:28:59.347 PM [0x0-0x707707].org.leksah: Bind
11-08-13 2:28:59.347 PM [0x0-0x707707].org.leksah: 127.0.0.1:2641
11-08-13 2:28:59.347 PM [0x0-0x707707].org.leksah: 1
11-08-13 2:28:59.476 PM [0x0-0x707707].org.leksah: Metadata c
11-08-13 2:28:59.476 PM [0x0-0x707707].org.leksah: ollector has
nothing to do
11-08-13 2:28:59.476 PM [0x0-0x707707].org.leksah: Metadata coll
11-08-13 2:28:59.476 PM [0x0-0x707707].org.leksah: ection has finished
11-08-13 2:28:59.629 PM [0x0-0x707707].org.leksah: Now loading
metadata ...
11-08-13 2:28:59.696 PM [0x0-0x707707].org.leksah: packageInfo not
found for cache
11-08-13 2:28:59.696 PM [0x0-0x707707].org.leksah: packageInfo not
found for is
11-08-13 2:28:59.697 PM [0x0-0x707707].org.leksah: packageInfo not
found for out
11-08-13 2:28:59.697 PM [0x0-0x707707].org.leksah: packageInfo not
found for of
11-08-13 2:28:59.697 PM [0x0-0x707707].org.leksah: Now updating
workspace metadata ...
11-08-13 2:28:59.697 PM [0x0-0x707707].org.leksah: Finished
11-08-13 2:28:59.697 PM [0x0-0x707707].org.leksah: >>>Info Chang
11-08-13 2:28:59.697 PM [0x0-0x707707].org.leksah: ed!!! True

jutaro

unread,
Aug 17, 2011, 5:22:53 PM8/17/11
to leksah
Hi Luke,
mh, that kind of problems is strange. First you have to verify that
the
ghc version fits the ghc version leksah was compiled with. Second you
have
to look that the ghc package database is working correctly.

I read something like "cache is out of ..." in your trace, which is
not a
leksah message. So probably it has to do something with the package
database.
Please try a "sudo ghc-pkg recache". If this doesn't solve your
problem you
can try to reach me in the leksah irc channel as jutaro, and we can
try to solve.

Jürgen

IngisKahn

unread,
May 2, 2012, 11:21:36 AM5/2/12
to lek...@googlegroups.com
I'm having a similar problem, but this is after having run "ghc-pkg recache".
I see the following in the console output for Leksah:

Now loading metadata ...
packageInfo not found for bin-package-db-0.0.0.0
... (all system packages listed)
packageInfo not found for HTTP-4000.1.2
Now updating workspace metadata ...
Can't extract module C:\Users\abc\.leksah-0.12\metadata\leksah-welcome-0.12
.0.3\Main.lkshe C:\Program Files (x86)\Haskell Platform\2011.4.0.0\lib\settings:
 openFile: does not exist (No such file or directory)
Finished

Those two files listed are indeed missing from my install.

Brian Delaware

unread,
Apr 4, 2013, 1:13:20 AM4/4/13
to lek...@googlegroups.com
I'm having a similar problem. The only system module I see is Control.Exception.
When I run the "Rebuild Metadata" application (from the "Leksah" folder of my Windows Start menu),
I see a lot of these:

Creating interfaces...
Haddock coverage:
Checking module Control.Concurrent.Async...
Ghc failed to process: Bad interface file: C:\Program Files (x86)\Haskell Platfo
rm\2012.4.0.0\lib\extralibs\stm-2.4\ghc-7.4.2\Control\Concurrent\STM.hi
    mismatched interface file versions (wanted "7041", got "7042")

Is that a clue?
Reply all
Reply to author
Forward
0 new messages