Attachment 'traceback.html'
Download--> -->
ClassifierException
Invalid input size
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object>)
- 1256 self.page.send_page(msg=msg)
- 1257 else:
- 1258 handler(self.page.page_name, self)
- 1259
- 1260 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function execute>
- self = <MoinMoin.request.request_standalone.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'sdasdasd'
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/action/edit.py in execute (pagename=u'sdasdasd', request=<MoinMoin.request.request_standalone.Request object>)
- 160 else:
- 161 try:
- 162 savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
- 163 except pg.EditConflict, e:
- 164 msg = e.message
- savemsg undefined
- pg = <MoinMoin.PageEditor.PageEditor object>
- pg.saveText = <bound method PageEditor.saveText of <MoinMoin.PageEditor.PageEditor object>>
- savetext = u'Describe sdasdasd here.\n'
- rev = 0
- trivial = 0
- comment = u''
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/PageEditor.py in saveText (self=<MoinMoin.PageEditor.PageEditor object>, newtext=u'Describe sdasdasd here.\n', rev=1, **kw={'comment': u'', 'extra': u'HamPages', 'trivial': 0})
- 1103 else:
- 1104 e = events.PageChangedEvent(self.request, self, comment)
- 1105 results = events.send_event(e)
- 1106
- 1107 recipients = set()
- results = [<MoinMoin.events.ChangeInfo instance>]
- events = <module 'MoinMoin.events' from '/home/user/worksp...7-classify-mneagul/MoinMoin/events/__init__.pyc'>
- events.send_event = <function send_event>
- e = <MoinMoin.events.PageChangedEvent object>
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/events/__init__.py in send_event (event=<MoinMoin.events.PageChangedEvent object>)
- 255 # Try to handle the event with each available handler (for now)
- 256 for handle in cfg.event_handlers:
- 257 retval = handle(event)
- 258
- 259 assert retval is None or isinstance(retval, EventResult)
- retval = None
- handle = <function handle>
- event = <MoinMoin.events.PageChangedEvent object>
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/events/recommender.py in handle (event=<MoinMoin.events.PageChangedEvent object>)
- 18 if recommender:
- 19 recommender = recommender.get_user_recommender(request)
- 20 if recommender:
- 21 if isinstance(event, PageChangedEvent):
- 22 recommender.train(request, event.page)
- recommender = <MoinMoin.classifier.recommendation_system.Recommender object>
- recommender.train = <bound method Recommender.train of <MoinMoin.classifier.recommendation_system.Recommender object>>
- request = <MoinMoin.request.request_standalone.Request object>
- event = <MoinMoin.events.PageChangedEvent object>
- event.page = <MoinMoin.PageEditor.PageEditor object>
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py in train (self=<MoinMoin.classifier.recommendation_system.Recommender object>, request=<MoinMoin.request.request_standalone.Request object>, page=<MoinMoin.PageEditor.PageEditor object>)
- 408 input = self.fdb.extract_features(request, page)
- 409 if len(input) != self.num_features:
- 410 raise ClassifierException("Invalid input size")
- 411 self.lock.acquire()
- 412 try:
- global ClassifierException = <class MoinMoin.classifier.ClassifierException>
ClassifierException
Invalid input size
- args = ('Invalid input size',)
System Details
- Date: Mon, 20 Aug 2007 11:28:28 +0000
- Platform: Linux noname 2.6.18-2-k7 #1 SMP Wed Nov 8 20:38:36 UTC 2006 i686
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.7.0alpha (release)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.