Attachment 'shelve_traceback.html'
Download
Creating a new page
You create a new page by visiting the page. If the page does not exists, MoinMoin will suggest to create it. There are several ways to create a new page:
By Adding a link on another page
- Edit another page
Add a link to the new page, either as a WikiName or as ["Name With Spaces"]
- Save the page and click the new link
- Click one of the template names
- Edit your new page and save it
For more information on linking to other pages, see HelpOnLinking.
By visiting the page
Enter the address of the new page, e.g http://example.com/wiki/MyNewPage in the browser location box and press Enter
- Click one of the template names
- Edit your new page and save it
Might not work on all browsers if the page name contains non ASCII characters.
By using the NewPage macro
If the current page uses the NewPage macro:
Enter the page name in the text box and click "Create New Page"
- Edit your page and save it
Example:
The NewPage macro make it easy to create new pages in one step, using certain template or automatically creating a sub page. For more help on NewPage macro, see HelpOnMacros.
By using the GoTo macro
If the current page uses the GoTo macro:
Enter the page name in the text box and click "Go To Page"
- Click "Create new page"
- Edit your page and save it
Example:
Creating and using template pages
See HelpOnTemplates.
Setting Variables
See HelpOnVariables
Editor backup
If you have a homepage (a page with the same name as your user name), each time you save or preview a page, a backup of the text is saved as UserName/MoinEditorBackup. If your browser crashed when editing a page and you did a preview, you can get the text from the backup. Use preview often!
If sub pages are disabled, the backup is saved as UserNameMoinEditorBackup
UnpicklingError
could not find MARK
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 do_show>
- self = <MoinMoin.request.request_standalone.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'HelpOnPageCreation'
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/action/__init__.py in do_show (pagename=u'HelpOnPageCreation', request=<MoinMoin.request.request_standalone.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 258 container.append(url)
- 259 msg = Dialog(request, content=unicode(container))
- 260 pg.send_page(count_hit=count_hit, print_mode=print_mode, content_only=content_only, msg=msg)
- 261
- 262 def do_format(pagename, request):
- pg = <MoinMoin.Page.Page object>
- pg.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>
- count_hit = 1
- print_mode = 0
- content_only = 0
- msg = None
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1172 # send the page footer
- 1173 if self.default_formatter:
- 1174 request.theme.send_footer(self.page_name, print_mode=print_mode)
- 1175
- 1176 request.write(self.formatter.endDocument())
- request = <MoinMoin.request.request_standalone.Request object>
- request.theme = <MoinMoin.theme.modern.Theme instance>
- request.theme.send_footer = <bound method Theme.send_footer of <MoinMoin.theme.modern.Theme instance>>
- self = <MoinMoin.Page.Page object>
- self.page_name = u'HelpOnPageCreation'
- print_mode = 0
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/theme/__init__.py in send_footer (self=<MoinMoin.theme.modern.Theme instance>, pagename=u'HelpOnPageCreation', **keywords={'print_mode': 0})
- 1743 request.write(self.endPage())
- 1744 else:
- 1745 request.write(self.footer(d, **keywords))
- 1746
- 1747 # stuff moved from request.py
- request = <MoinMoin.request.request_standalone.Request object>
- request.write = <bound method Request.write of <MoinMoin.request.request_standalone.Request object>>
- self = <MoinMoin.theme.modern.Theme instance>
- self.footer = <bound method Theme.footer of <MoinMoin.theme.modern.Theme instance>>
- d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('Self', u'ReimarBauer'), 'last_edit_info': {'editor': u'<span title="ReimarBauer @ localhost.localdomain...st.localdomain[127.0.0.1]">ReimarBauer</a></span>', 'time': '2007-08-20 14:23:51'}, 'logo_string': u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', 'page_help_contents': 'HelpContents', ...}
- keywords = {'print_mode': 0}
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/theme/modern.py in footer (self=<MoinMoin.theme.modern.Theme instance>, d={'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('Self', u'ReimarBauer'), 'last_edit_info': {'editor': u'<span title="ReimarBauer @ localhost.localdomain...st.localdomain[127.0.0.1]">ReimarBauer</a></span>', 'time': '2007-08-20 14:23:51'}, 'logo_string': u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', 'page_help_contents': 'HelpContents', ...}, **keywords={'print_mode': 0})
- 83 """
- 84 page = d['page']
- 85 html = [
- 86 # End of page
- 87 self.pageinfo(page),
- html undefined
- self = <MoinMoin.theme.modern.Theme instance>
- self.pageinfo = <bound method Theme.pageinfo of <MoinMoin.theme.modern.Theme instance>>
- page = <MoinMoin.Page.Page object>
- self.similarpages = <bound method Theme.similarpages of <MoinMoin.theme.modern.Theme instance>>
- self.endPage = <bound method Theme.endPage of <MoinMoin.theme.modern.Theme instance>>
- self.emit_custom_html = <bound method Theme.emit_custom_html of <MoinMoin.theme.modern.Theme instance>>
- self.cfg = <wikiconfig.Config instance>
- self.cfg.page_footer1 = ''
- self.editbar = <bound method Theme.editbar of <MoinMoin.theme.modern.Theme instance>>
- d = {'available_actions': ['use self.request.availableActions(page)'], 'home_page': ('Self', u'ReimarBauer'), 'last_edit_info': {'editor': u'<span title="ReimarBauer @ localhost.localdomain...st.localdomain[127.0.0.1]">ReimarBauer</a></span>', 'time': '2007-08-20 14:23:51'}, 'logo_string': u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': '', 'navibar': ['use self.navibar(d)'], 'page': <MoinMoin.Page.Page object>, 'page_find_page': 'FindPage', 'page_front_page': u'FrontPage', 'page_help_contents': 'HelpContents', ...}
- self.credits = <bound method Theme.credits of <MoinMoin.theme.modern.Theme instance>>
- self.showversion = <bound method Theme.showversion of <MoinMoin.theme.modern.Theme instance>>
- keywords = {'print_mode': 0}
- self.cfg.page_footer2 = ''
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/theme/__init__.py in pageinfo (self=<MoinMoin.theme.modern.Theme instance>, page=<MoinMoin.Page.Page object>)
- 708 text = "Recommender not configured"
- 709 if recommender is not None:
- 710 text = recommender.classify(self.request, page)
- 711 info = "%s (%s) - Category: %s" % (wikiutil.escape(pagename), info, text)
- 712 html = '<p id="pageinfo" class="info"%(lang)s>%(info)s</p>\n' % {
- text = 'Recommender not configured'
- recommender = <MoinMoin.classifier.recommendation_system.Recommender object>
- recommender.classify = <bound method Recommender.classify of <MoinMoin....sifier.recommendation_system.Recommender object>>
- self = <MoinMoin.theme.modern.Theme instance>
- self.request = <MoinMoin.request.request_standalone.Request object>
- page = <MoinMoin.Page.Page object>
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py in classify (self=<MoinMoin.classifier.recommendation_system.Recommender object>, request=<MoinMoin.request.request_standalone.Request object>, page=<MoinMoin.Page.Page object>)
- 441 self.lock.acquire()
- 442 try:
- 443 input = self.fdb.extract_features(request, page, self.num_features)
- 444 if len(input) != self.num_features:
- 445 raise ClassifierException("Invalid input size")
- builtin input = <built-in function input>
- self = <MoinMoin.classifier.recommendation_system.Recommender object>
- self.fdb = <MoinMoin.classifier.recommendation_system.FeatureDB instance>
- self.fdb.extract_features = <bound method FeatureDB.extract_features of <Moi...sifier.recommendation_system.FeatureDB instance>>
- request = <MoinMoin.request.request_standalone.Request object>
- page = <MoinMoin.Page.Page object>
- self.num_features = 1000
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py in extract_features (self=<MoinMoin.classifier.recommendation_system.FeatureDB instance>, request=<MoinMoin.request.request_standalone.Request object>, page=<MoinMoin.Page.Page object>, num_features=1000)
- 328 for token in self.features:
- 329 w = 0.0 # The weight
- 330 n = self._get_document_frequency(token)
- 331 w = (tokens.count(token) / self.data['tmax'][token]) * math.log(self.data['count'] / n)
- 332 #assert(0.0<=w<=1.0)
- n undefined
- self = <MoinMoin.classifier.recommendation_system.FeatureDB instance>
- self._get_document_frequency = <bound method FeatureDB._get_document_frequency ...sifier.recommendation_system.FeatureDB instance>>
- token = u'ff8080'
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/classifier/recommendation_system.py in _get_document_frequency (self=<MoinMoin.classifier.recommendation_system.FeatureDB instance>, term=u'ff8080')
- 290 @param term: The term that should be scored
- 291 """
- 292 return self.data['available'][term]
- 293
- 294 def save(self):
- self = <MoinMoin.classifier.recommendation_system.FeatureDB instance>
- self.data = <DbfilenameShelf instance>
- term = u'ff8080'
/home/user/workspace/moin-1.7-classify-mneagul/shelve.py in __getitem__ (self=<DbfilenameShelf instance>, key='available')
- 117 except KeyError:
- 118 f = StringIO(self.dict[key])
- 119 value = Unpickler(f).load()
- 120 if self.writeback:
- 121 self.cache[key] = value
- value undefined
- global Unpickler = <built-in function Unpickler>
- f = <cStringIO.StringI object>
- ).load undefined
UnpicklingError
could not find MARK
- args = ('could not find MARK',)
System Details
- Date: Mon, 20 Aug 2007 14:29:02 +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.