Luis,
It does sound like a corrupt file. But not on the index, rather the spotter.

Please make sure that you've downloaded and unzipped the spotter dictionary
of your choice (e.g.
http://spotlight.dbpedia.org/download/release-0.4/surface_forms-Wikipedia-TitRedDis.uriThresh75.tsv.spotterDictionary.gz
)

Also make sure that your config file server.properties points to that
uncompressed file via:
org.dbpedia.spotlight.spot.dictionary

For v0.6 we should include an option to read compressed objects, so that
you don't have to uncompress them to your disk.

Cheers,
Pablo

---------- Forwarded message ----------
From: Luis Nell <[email protected]>
To: [email protected]
Cc:
Date: Tue, 13 Mar 2012 14:38:24 +0100
Subject: Invalid stream header: 1F8B0808
Hey,
I wanted to let spotlight run on one of my servers, however I'm always
receiving the following traceback when wanting to start spotlight:

> INFO 2012-03-13 14:24:23,487 main [SpotlightFactory] - Initiating
spotters...
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org_scala_tools_maven_executions.MainHelper.runMain(
MainHelper.java:161)
>         at org_scala_tools_maven_executions.MainWithArgsInFile.
main(MainWithArgsInFile.java:26)
> Caused by: java.io.StreamCorruptedException: invalid stream header:
1F8B0808
>         at java.io.ObjectInputStream.readStreamHeader(
ObjectInputStream.java:782)
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
>         at com.aliasi.util.AbstractExternalizable.readObject(
AbstractExternalizable.java:309)
>         at org.dbpedia.spotlight.spot.lingpipe.LingPipeSpotter.<
init>(LingPipeSpotter.scala:55)
>         at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$
spotter$2.apply(SpotlightFactory.scala:87)
>         at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$
spotter$2.apply(SpotlightFactory.scala:87)
>         at scala.collection.MapLike$class.getOrElse(MapLike.scala:122)
>         at scala.collection.JavaConversions$JMapWrapper.
getOrElse(JavaConversions.scala:792)
>         at org.dbpedia.spotlight.model.SpotlightFactory.spotter(
SpotlightFactory.scala:87)
>         at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$
spotter$6.apply(SpotlightFactory.scala:104)
>         at org.dbpedia.spotlight.model.SpotlightFactory$$anonfun$
spotter$6.apply(SpotlightFactory.scala:103)
>         at scala.collection.Iterator$class.foreach(Iterator.scala:660)
>         at scala.collection.JavaConversions$JIteratorWrapper.foreach(
JavaConversions.scala:573)
>         at scala.collection.IterableLike$class.foreach(IterableLike.
scala:73)
>         at scala.collection.JavaConversions$JListWrapper.
foreach(JavaConversions.scala:615)
>         at org.dbpedia.spotlight.model.SpotlightFactory.spotter(
SpotlightFactory.scala:103)
>         at org.dbpedia.spotlight.model.SpotlightFactory.<init>(
SpotlightFactory.scala:78)
>         at org.dbpedia.spotlight.web.rest.Server.main(Server.java:86)
>         ... 6 more

I tried this on the latest trunk and on the 0.5 release. Both throw the
same errors.

I can only guess, but since this occurs right after "[
MergedOccurrencesContextSearcher] - Using index at:…" I assumed it might
have something to do with my index. Previously, I generated an index on my
own in the course of the weekend, according to the datageneration wiki
page. So I went on to download the context-index-full.tgz and tried to use
that one. However the same error occurs. Sooo I guess I'm off track?

Any help or wild guesses appreciated :)

Best,
Luis
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to