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.

  1. /home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object>)

    1. 1256 self.page.send_page(msg=msg)
    2. 1257 else:
    3. 1258 handler(self.page.page_name, self)
    4. 1259
    5. 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'
  2. /home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/action/edit.py in execute (pagename=u'sdasdasd', request=<MoinMoin.request.request_standalone.Request object>)

    1. 160 else:
    2. 161 try:
    3. 162 savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
    4. 163 except pg.EditConflict, e:
    5. 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''
  3. /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})

    1. 1103 else:
    2. 1104 e = events.PageChangedEvent(self.request, self, comment)
    3. 1105 results = events.send_event(e)
    4. 1106
    5. 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>
  4. /home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/events/__init__.py in send_event (event=<MoinMoin.events.PageChangedEvent object>)

    1. 255 # Try to handle the event with each available handler (for now)
    2. 256 for handle in cfg.event_handlers:
    3. 257 retval = handle(event)
    4. 258
    5. 259 assert retval is None or isinstance(retval, EventResult)
    • retval = None
    • handle = <function handle>
    • event = <MoinMoin.events.PageChangedEvent object>
  5. /home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/events/recommender.py in handle (event=<MoinMoin.events.PageChangedEvent object>)

    1. 18 if recommender:
    2. 19 recommender = recommender.get_user_recommender(request)
    3. 20 if recommender:
    4. 21 if isinstance(event, PageChangedEvent):
    5. 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>
  6. /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>)

    1. 408 input = self.fdb.extract_features(request, page)
    2. 409 if len(input) != self.num_features:
    3. 410 raise ClassifierException("Invalid input size")
    4. 411 self.lock.acquire()
    5. 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.
  • [get | view] (2007-08-20 14:31:16, 25.5 KB) [[attachment:WikiClusters_traceback.html]]
  • [get | view] (2007-08-20 16:02:30, 32.2 KB) [[attachment:rawunicodeescape.html]]
  • [get | view] (2007-08-20 15:15:13, 2.4 KB) [[attachment:rawunicodeescape.txt]]
  • [get | view] (2007-08-20 14:31:27, 31.9 KB) [[attachment:shelve_traceback.html]]
  • [get | view] (2007-08-20 11:30:10, 10.0 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.