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>