mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Tanner <i...@hotmail.com>
Subject RE: taste-web example booboo
Date Mon, 01 Jun 2009 15:31:29 GMT

This still doesn't work for me off trunk. :( The new error is "dataModel has no items". When
is the data model supposed to be generated? How can I check whether it has items or not?

This is on Fedora 10, maven 2.1.0.
HTTP ERROR: 500dataModel has no items
RequestURI=/mahout-taste-webapp/RecommenderServletCaused by:java.lang.IllegalArgumentException:
dataModel has no items
	at org.apache.mahout.cf.taste.impl.recommender.slopeone.MemoryDiffStorage.(MemoryDiffStorage.java:101)
	at org.apache.mahout.cf.taste.impl.recommender.slopeone.SlopeOneRecommender.(SlopeOneRecommender.java:65)
	at org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender.(GroupLensRecommender.java:57)
	at org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommender.(GroupLensRecommender.java:46)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at org.apache.mahout.cf.taste.web.RecommenderSingleton.(RecommenderSingleton.java:51)
	at org.apache.mahout.cf.taste.web.RecommenderSingleton.initializeIfNeeded(RecommenderSingleton.java:42)
	at org.apache.mahout.cf.taste.web.RecommenderServlet.init(RecommenderServlet.java:76)
	at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
	at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:478)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:876)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:535)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:421)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

Powered by Jetty://
                                                
----------------------------------------
> Date: Fri, 29 May 2009 23:03:06 +0100
> Subject: Re: taste-web example booboo
> From: srowen@gmail.com
> To: mahout-user@lucene.apache.org
>
> Oh sorry, missed that bit. Well... whatever it is, seems to be fixed.
> I do know there were some changes to the file reading bits in recent
> memory, perhaps after 0.1, so at this point the most likely conclusion
> is that this is fixed as of the code in Subversion right now at least.
>
> On Fri, May 29, 2009 at 10:41 PM, Jack Tanner  wrote:
>>
>> Sean,
>>
>> I did not use the latest code. As I said in my message, I used mahout 0.1.
>>
>> Should I try with the latest, or do you want to try with 0.1?
>>

_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009
Mime
View raw message