"Kevin Horn" <[EMAIL PROTECTED]> writes:
> I don't see this problem...what are you doing with the page? Just viewing
> it? Editing
> it?
> Also, it looks like the problem might be in the i18n translation of the site
> contents...
> Can anyone else replicate this problem?
It happens here as well. From the Traceback I suspect this is related to some
comment.
================================================================================
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/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/request.py
in run (self=<MoinMoin.request.RequestStandAlone object>)
1. 1110 from MoinMoin.wikiaction import getHandler
2. 1111 handler = getHandler(self, action)
3. 1112 handler(self.page.page_name, self)
4. 1113
5. 1114 # generate page footer (actions that do not want this footer
use
* handler = <function do_show>
* self = <MoinMoin.request.RequestStandAlone object>
* self.page = <MoinMoin.Page.Page instance>
* self.page.page_name = u'1.0/IdentityManagment'
2.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/wikiaction.py in
do_show (pagename=u'1.0/IdentityManagment',
request=<MoinMoin.request.RequestStandAlone object>)
1. 466 else:
2. 467 request.cacheable = 1
3. 468 Page(request, pagename).send_page(request, count_hit=1)
4. 469
5. 470
* global Page = <class MoinMoin.Page.Page>
* request = <MoinMoin.request.RequestStandAlone object>
* pagename = u'1.0/IdentityManagment'
* ).send_page undefined
* count_hit undefined
3.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/Page.py in
send_page (self=<MoinMoin.Page.Page instance>,
request=<MoinMoin.request.RequestStandAlone object>, msg='',
**keywords={'count_hit': 1})
1. 1234 format_args=pi_formatargs,
2. 1235 do_cache=do_cache,
3. 1236 start_line=pi_lines)
4. 1237
5. 1238 # check for pending footnotes
* start_line undefined
* pi_lines = 2
4.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/Page.py in
send_page_content (self=<MoinMoin.Page.Page instance>,
request=<MoinMoin.request.RequestStandAlone object>, Parser=<class
MoinMoin.parser.rst.Parser>, body=u'\n\nIdentity
Management\n===================\n\n:stat.... macro:: [[PageComment2(nosmiley=1,
notify=1)]]\n', format_args=u'', do_cache=1, **kw={'start_line': 2})
1. 1317 try:
2. 1318 code = self.loadCache(request)
3. 1319 self.execute(request, parser, code)
4. 1320 except 'CacheNeedsUpdate':
5. 1321 try:
* self = <MoinMoin.Page.Page instance>
* self.execute = <bound method Page.execute of <MoinMoin.Page.Page
instance>>
* request = <MoinMoin.request.RequestStandAlone object>
* parser = <MoinMoin.parser.rst.Parser instance>
* code = <code object ? at 0x46252ca0, file "1.0/IdentityManagment",
line 2>
5.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/Page.py in
execute (self=<MoinMoin.Page.Page instance>,
request=<MoinMoin.request.RequestStandAlone object>,
parser=<MoinMoin.parser.rst.Parser instance>, code=<code object ? at
0x46252ca0, file "1.0/IdentityManagment", line 2>)
1. 1341 if hasattr(MoinMoin, '__loader__'):
2. 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
3. 1343 exec code
4. 1344
5. 1345 def loadCache(self, request):
* code = <code object ? at 0x46252ca0, file "1.0/IdentityManagment",
line 2>
6.
/home/turbogears/docs/1.0/IdentityManagment in ?
7.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/formatter/base.py
in macro (self=<MoinMoin.formatter.text_html.Formatter instance>,
macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'PageComment2',
args=u'nosmiley=1, notify=1')
1. 288 def macro(self, macro_obj, name, args):
2. 289 # call the macro
3. 290 return macro_obj.execute(name, args)
4. 291
5. 292 def _get_bang_args(self, line):
* macro_obj = <MoinMoin.wikimacro.Macro instance>
* macro_obj.execute = <bound method Macro.execute of
<MoinMoin.wikimacro.Macro instance>>
* name = u'PageComment2'
* args = u'nosmiley=1, notify=1'
8.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/wikimacro.py
in execute (self=<MoinMoin.wikimacro.Macro instance>,
macro_name=u'PageComment2', args=u'nosmiley=1, notify=1')
1. 118 else:
2. 119 raise ImportError("Cannot load macro %s" % macro_name)
3. 120 return execute(self, args)
4. 121
5. 122 def _m_lang(self, text):
* execute = <function execute>
* self = <MoinMoin.wikimacro.Macro instance>
* args = u'nosmiley=1, notify=1'
9.
/Users/tazzzzz/projects/moin/docs/data/plugin/macro/PageComment2.py in
execute (macro=<MoinMoin.wikimacro.Macro instance>, args=u'nosmiley=1,
notify=1')
10.
/Users/tazzzzz/projects/moin/docs/data/plugin/macro/PageComment2.py in
showcommentsection ()
11.
/Users/tazzzzz/projects/moin/docs/data/plugin/macro/PageComment2.py in
deleteform ()
12.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/request.py
in (text='Really delete this comment?', i18n=<module 'MoinMoin.i18n' from
'/home/turbogears/l...moin-1.5.4-py2.4.egg/MoinMoin/i18n/__init__.pyc'>,
request=<MoinMoin.request.RequestStandAlone object>, lang='pt-br', **kv={})
1. 164 # but generated content like search results should use the user
language.
2. 165 self.content_lang = self.cfg.language_default
3. 166 self.getText = lambda text, i18n=self.i18n, request=self,
lang=self.lang, **kv: i18n.getText(text, request, lang, kv.get('formatted',
True))
4. 167
5. 168 self.opened_logs = 0
* self undefined
* text = 'Really delete this comment?'
* i18n = <module 'MoinMoin.i18n' from
'/home/turbogears/l...moin-1.5.4-py2.4.egg/MoinMoin/i18n/__init__.pyc'>
* request = <MoinMoin.request.RequestStandAlone object>
* lang = 'pt-br'
* kv = {}
* i18n.getText = <function getText>
* kv.get = <built-in method get of dict object>
* builtin True = True
13.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/i18n/__init__.py
in getText (str='Really delete this comment?',
request=<MoinMoin.request.RequestStandAlone object>, lang='pt-br',
formatted=True)
1. 286 # on the fly (this is needed for cfg.editor_quickhelp).
2. 287 if lang != 'en':
3. 288 trans = getText(str, request, 'en', formatted)
4. 289 elif formatted:
5. 290 trans = formatMarkup(request, str)
* trans = 'Really delete this comment?'
* global getText = <function getText>
* str = 'Really delete this comment?'
* request = <MoinMoin.request.RequestStandAlone object>
* formatted = True
14.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/i18n/__init__.py
in getText (str='Really delete this comment?',
request=<MoinMoin.request.RequestStandAlone object>, lang='en', formatted=True)
1. 288 trans = getText(str, request, 'en', formatted)
2. 289 elif formatted:
3. 290 trans = formatMarkup(request, str)
4. 291
5. 292 return trans
* trans = 'Really delete this comment?'
* global formatMarkup = <function formatMarkup>
* request = <MoinMoin.request.RequestStandAlone object>
* str = 'Really delete this comment?'
15.
/home/turbogears/lib/python2.4/moin-1.5.4-py2.4.egg/MoinMoin/i18n/__init__.py
in formatMarkup(request=<MoinMoin.request.RequestStandAlone object>,
text='Really delete this comment?', currentStack=['Really delete this
comment?'])
1. 70 try:
2. 71 currentStack.index(text)
3. 72 raise Exception("Formatting a text that is being formatted?!")
4. 73 except ValueError:
5. 74 pass
* builtin Exception = <class exceptions.Exception>
Exception
Formatting a text that is being formatted?!
* args = ('Formatting a text that is being formatted?!',)
System Details
* Date: Mon, 09 Oct 2006 22:42:13 +0000
* Platform: Linux ded828-deb-169-28 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC
2005 i686
* Python: Python 2.4.1 (/usr/local/bin/python)
* MoinMoin: Release 1.5.4 (release)
================================================================================
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---