Attachment 'rawunicodeescape.html'
DownloadThank you for your contribution!
1. Section Headings
You can create headings by starting and ending a line with up to five equal signs. The heading text is between those markers, separated by a single space.
Headings can be automatically numbered, you can enable or disable this for each page (see #pragma section-numbers on HelpOnProcessingInstructions) and for the whole site (see show_section_numbers on HelpOnConfiguration).
For more information on the possible markup, see HelpOnEditing.
Headings may not contain wiki markup.
You cannot indent headings.
1.1. Example
= Heading = == Subheading == === Level 3 === ==== Level 4 ==== ===== Level 5 =====
1.2. Display
2. Heading
3. Subheading
3.1. Level 3
3.1.1. Level 4
3.1.1.1. Level 5
Note that proper section numbering requires you to order sections according to a valid structure, i.e. correctly nested. Our sample doesn't do this, so you get a different numbering scheme than you might expect.
UnicodeDecodeError
'rawunicodeescape' codec can't decode bytes in position 18-21: truncated \uXXXX
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'HelpOnHeadlines'
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/action/trainrecommender.py in execute (pagename=u'HelpOnHeadlines', request=<MoinMoin.request.request_standalone.Request object>)
- 25 try:
- 26 recommender.train(request, thispage)
- 27 except ClassifierException, e:
- 28 return thispage.send_page(msg=_("Recommender is not setup correctly: %s" % e))
- 29 return thispage.send_page(msg=_("Thank you for your contribution!"))
- thispage = <MoinMoin.Page.Page object>
- thispage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object>>
- msg undefined
- _ = <function <lambda>>
/home/user/workspace/moin-1.7-classify-mneagul/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, msg=u'Thank you for your contribution!', **keywords={})
- 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'HelpOnHeadlines'
- 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'HelpOnHeadlines', **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 15:35:15'}, 'logo_string': u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': u'Thank you for your contribution!', '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 15:35:15'}, 'logo_string': u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': u'Thank you for your contribution!', '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 15:35:15'}, 'logo_string': u'<img src="/moin_static170/common/moinmoin.png" alt="MoinMoin Logo">', 'msg': u'Thank you for your contribution!', '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 similarpages (self=<MoinMoin.theme.modern.Theme instance>, page=<MoinMoin.Page.Page object>)
- 723 if recommender is None:
- 724 return ''
- 725 similar = recommender.get_similar_html(self.request, page)
- 726 return u"".join(similar)
- 727
- similar undefined
- recommender = <MoinMoin.classifier.recommendation_system.Recommender object>
- recommender.get_similar_html = <bound method Recommender.get_similar_html of <M...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 get_similar_html (self=<MoinMoin.classifier.recommendation_system.Recommender object>, request=<MoinMoin.request.request_standalone.Request object>, page=<MoinMoin.Page.Page object>)
- 537 ]
- 538 result.append(formatter.number_list(1))
- 539 sim = self.get_similar(request, page)
- 540 for pg in sim:
- 541 if pg == page.page_name:
- sim undefined
- self = <MoinMoin.classifier.recommendation_system.Recommender object>
- self.get_similar = <bound method Recommender.get_similar of <MoinMo...sifier.recommendation_system.Recommender object>>
- 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 get_similar (self=<MoinMoin.classifier.recommendation_system.Recommender object>, request=<MoinMoin.request.request_standalone.Request object>, page=<MoinMoin.Page.Page object>)
- 517 """
- 518 cache = ClassificationCache(request, self.basepath)
- 519 cat = self.classify(request, page)
- 520 return cache.get(cat)
- 521
- cat undefined
- self = <MoinMoin.classifier.recommendation_system.Recommender object>
- self.classify = <bound method Recommender.classify of <MoinMoin....sifier.recommendation_system.Recommender object>>
- 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)
- 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)
- 333 vector.append(w)
- w = 0.0
- tokens = [u'meta : please', u'meta : edit', u'meta : system', u'meta : help', u'meta : pages', u'meta : only', u'meta : moinmaster', u'meta : wiki', u'meta : more', u'meta : information', u'meta : please', u'meta : moinmaster', u'meta : moinpageseditorgroup', u'meta : master', u'meta : page', u'meta : unknown', u'meta : page', u'meta : master', u'meta : date', u'meta : unknown', ...]
- tokens.count = <built-in method count of list object>
- token = u'instructions'
- self = <MoinMoin.classifier.recommendation_system.FeatureDB instance>
- self.data = <DbfilenameShelf instance>
- global math = <module 'math' from '/usr/lib/python2.4/lib-dynload/math.so'>
- math.log = <built-in function log>
- n = 23
/home/user/workspace/moin-1.7-classify-mneagul/shelve.py in __getitem__ (self=<DbfilenameShelf instance>, key='tmax')
- 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
UnicodeDecodeError
'rawunicodeescape' codec can't decode bytes in position 18-21: truncated \uXXXX
- args = ('rawunicodeescape', 'sekojo\\u0BC4\\u4F8B\\u59\x10\x00\x00.\x10\x00\x00\x01\x00\x00\x00b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 18, 22, r'truncated \uXXXX')
- encoding = 'rawunicodeescape'
- end = 22
- object = 'sekojo\\u0BC4\\u4F8B\\u59\x10\x00\x00.\x10\x00\x00\x01\x00\x00\x00b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
- reason = r'truncated \uXXXX'
- start = 18
System Details
- Date: Mon, 20 Aug 2007 16:01:43 +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.