Error message says it all. You either have a corrupted file, or it is
actually compressed but the filename does not end in .gz


On Wed, Jul 11, 2012 at 6:28 PM, David Gösenbauer <
[email protected]> wrote:

>
>  Hey Pablo!
>
> I figured out what you told me and it's up and running though I'm a bit
> confused how I'll get it to perform like your service. It's not spotting
> that much - so is there a guide to improve this? I guess I'm still running
> a reduced version of what you guys do so I'd like to know what I have to
> get.
>
> Additionally it seems that the LingPipeSpotter and spotter.large.dict
> don't work that well together - I get this when I start the server with
> that combination:
>
> INFO 2012-07-11 18:22:15,970 main [SpotlightFactory] - Initiating
> spotters...
> Exception in thread "main" java.io.StreamCorruptedException: invalid
> stream head
>
> er: 1F8B0808
>         at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
>         at java.io.ObjectInputStream.<init>(Unknown Source)
>         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)
>
> Regards,
> David
>
>


-- 
---
Pablo N. Mendes
http://pablomendes.com
Events: http://wole2012.eurecom.fr (*Deadline: July 31st 2012*)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to