The following 77 words could not be found in the dictionary of 1 words (including 1 LocalSpellingWords) and are highlighted below:

85em   after   an   An   and   at   author   background   backup   bookmark   both   by   Changes   changes   click   conflict   contains   created   creation   deleted   deletions   diff   diffrc   E6   edited   editing   F0   font   for   happened   have   Icon   in   Info   information   it   least   list   marks   merging   More   new   not   of   older   on   one   page   pages   paragraphs   please   problematic   Quote   Random   recent   Recent   resolve   set   since   size   stored   system   System   tablestyle   that   the   This   this   together   updated   version   versions   were   width   wiki   you   your  

Clear message

Hint: you can search for multiple words, just like Google. See also HelpOnSearching.

--> -->
2012-03-26

TypeError

not all arguments converted during string formatting

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/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function execute>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'RecentChanges'
  2. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/action/SpellCheck.py in execute (pagename=u'RecentChanges', request=<MoinMoin.request.RequestCGI object>)

    1. 221
    2. 222 if badwords:
    3. 223 page.send_page(request, msg=msg, hilite_re=badwords_re)
    4. 224 else:
    5. 225 page.send_page(request, msg=msg)
    • page = <MoinMoin.Page.Page instance>
    • page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • msg = u'The following 77 words could not be found in the...lue="Add checked words to dictionary"></p></form>'
    • hilite_re undefined
    • badwords_re = <_sre.SRE_Pattern object>
  3. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg=u'The following 77 words could not be found in the...lue="Add checked words to dictionary"></p></form>', **keywords={'hilite_re': <_sre.SRE_Pattern object>})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  4. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n||<tablestyle="width: 100%; background: #E6EAF0...his wiki.\nMore system information on SystemInfo.\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1341
    2. 1342 if not (do_cache and self.canUseCache(Parser)):
    3. 1343 self.format(parser)
    4. 1344 else:
    5. 1345 try:
    • self = <MoinMoin.Page.Page instance>
    • self.format = <bound method Page.format of <MoinMoin.Page.Page instance>>
    • parser = <MoinMoin.parser.wiki.Parser instance>
  5. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page instance>, parser=<MoinMoin.parser.wiki.Parser instance>)

    1. 1362 def format(self, parser):
    2. 1363 """ Format and write page content without caching """
    3. 1364 parser.format(self.formatter)
    4. 1365
    5. 1366 def execute(self, request, parser, code):
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance>>
    • self = <MoinMoin.Page.Page instance>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
  6. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in format (self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)

    1. 1098
    2. 1099 # Scan line, format and write
    3. 1100 formatted_line = self.scan(scan_re, line)
    4. 1101 self.request.write(formatted_line)
    5. 1102
    • formatted_line = u'<tr> <td><p class="line862"> <div dir="ltr" id=...omQuote_FortuneCookies"></span></div></td>\n</tr>\n'
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.scan = <bound method Parser.scan of <MoinMoin.parser.wiki.Parser instance>>
    • scan_re = <_sre.SRE_Pattern object>
    • line = u'[[RecentChanges]] '
  7. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in scan (self=<MoinMoin.parser.wiki.Parser instance>, scan_re=<_sre.SRE_Pattern object>, line=u'[[RecentChanges]] ')

    1. 874 self.in_table or self.in_list):
    2. 875 result.append(self.formatter.paragraph(1, css_class="line867"))
    3. 876 result.append(self.replace(match))
    4. 877 lastpos = match.end()
    5. 878
    • result = ['<p class="line867">']
    • result.append = <built-in method append of list object>
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.replace = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance>>
    • match = <_sre.SRE_Match object>
  8. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in replace (self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>)

    1. 903 # Get replace method and replece hit
    2. 904 replace = getattr(self, '_' + type + '_repl')
    3. 905 result.append(replace(hit))
    4. 906 return ''.join(result)
    5. 907 else:
    • result = []
    • result.append = <built-in method append of list object>
    • replace = <bound method Parser._macro_repl of <MoinMoin.parser.wiki.Parser instance>>
    • hit = u'[[RecentChanges]]'
  9. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/parser/wiki.py in _macro_repl (self=<MoinMoin.parser.wiki.Parser instance>, word=u'[[RecentChanges]]')

    1. 848 if self.macro is None:
    2. 849 self.macro = wikimacro.Macro(self)
    3. 850 return self.formatter.macro(self.macro, macro_name, args)
    4. 851
    5. 852 def scan(self, scan_re, line):
    • self = <MoinMoin.parser.wiki.Parser instance>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance>>
    • self.macro = <MoinMoin.wikimacro.Macro instance>
    • macro_name = u'RecentChanges'
    • args = None
  10. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'RecentChanges', args=None)

    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'RecentChanges'
    • args = None
  11. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'RecentChanges', args=None)

    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 = None
  12. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, args=None, **kw={})

    1. 319
    2. 320 for page in pages:
    3. 321 request.write(format_page_edits(macro, page, bookmark_usecs))
    4. 322 pages = {}
    5. 323 day_count += 1
    • request = <MoinMoin.request.RequestCGI object>
    • request.write = <bound method RequestCGI.write of <MoinMoin.request.RequestCGI object>>
    • global format_page_edits = <function format_page_edits>
    • macro = <MoinMoin.wikimacro.Macro instance>
    • page = [<MoinMoin.logfile.editlog.EditLogLine instance>]
    • bookmark_usecs = 0
  13. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/macro/RecentChanges.py in format_page_edits (macro=<MoinMoin.wikimacro.Macro instance>, lines=[<MoinMoin.logfile.editlog.EditLogLine instance>], bookmark_usecs=0)

    1. 114 name, util.rangelist(positions)))
    2. 115 else:
    3. 116 d['editors'] = [line.getEditor(request)]
    4. 117
    5. 118 comments = []
    • d = {'editors': None, 'icon_html': u'<a href="/cgi-bin/moin.cgi/JasonMastaler?action=...g/moin-diff.png" title="[DIFF]" width="15" /></a>', 'pagelink_html': u'<a href="/cgi-bin/moin.cgi/JasonMastaler">JasonMastaler</a>', 'time_html': '00:38'}
    • line = <MoinMoin.logfile.editlog.EditLogLine instance>
    • line.getEditor = <bound method EditLogLine.getEditor of <MoinMoin.logfile.editlog.EditLogLine instance>>
    • request = <MoinMoin.request.RequestCGI object>
  14. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/logfile/editlog.py in getEditor (self=<MoinMoin.logfile.editlog.EditLogLine instance>, request=<MoinMoin.request.RequestCGI object>)

    1. 91 else:
    2. 92 title = ""
    3. 93 kind, info = self.getInterwikiEditorData(request)
    4. 94 if kind == 'interwiki':
    5. 95 name = self._usercache[self.userid].name
    • kind undefined
    • info undefined
    • self = <MoinMoin.logfile.editlog.EditLogLine instance>
    • self.getInterwikiEditorData = <bound method EditLogLine.getInterwikiEditorData of <MoinMoin.logfile.editlog.EditLogLine instance>>
    • request = <MoinMoin.request.RequestCGI object>
  15. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/logfile/editlog.py in getInterwikiEditorData (self=<MoinMoin.logfile.editlog.EditLogLine instance>, request=<MoinMoin.request.RequestCGI object>)

    1. 73 if self.userid:
    2. 74 if not self._usercache.has_key(self.userid):
    3. 75 self._usercache[self.userid] = user.User(request, self.userid, auth_method="editlog:75")
    4. 76 userdata = self._usercache[self.userid]
    5. 77 if userdata.mailto_author and userdata.email:
    • self = <MoinMoin.logfile.editlog.EditLogLine instance>
    • self._usercache = {}
    • self.userid = u'1074635546.92.26683'
    • global user = <module 'MoinMoin.user' from '../moin/lib/python2.4/site-packages/MoinMoin/user.pyc'>
    • user.User = <class MoinMoin.user.User>
    • request = <MoinMoin.request.RequestCGI object>
    • auth_method undefined
  16. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/user.py in __init__ (self=<MoinMoin.user.User at 0x7f73bb310e60 name:'' id:1074635546.92.26683 valid:0>, request=<MoinMoin.request.RequestCGI object>, id=u'1074635546.92.26683', name='', password=None, auth_username='', **kw={'auth_method': 'editlog:75'})

    1. 260 check_pass = 1
    2. 261 if self.id:
    3. 262 self.load_from_id(check_pass)
    4. 263 if self.name == self.auth_username:
    5. 264 self.trusted = 1
    • self = <MoinMoin.user.User at 0x7f73bb310e60 name:'' id:1074635546.92.26683 valid:0>
    • self.load_from_id = <bound method User.load_from_id of <MoinMoin.use...bb310e60 name:'' id:1074635546.92.26683 valid:0>>
    • check_pass = 0
  17. /home/project-web/tmda/moin/lib/python2.4/site-packages/MoinMoin/user.py in load_from_id (self=<MoinMoin.user.User at 0x7f73bb310e60 name:'' id:1074635546.92.26683 valid:0>, check_pass=0)

    1. 333 dbh = dbConnect(self._request)
    2. 334 cur = dbh.cursor()
    3. 335 cur.execute('SELECT data FROM users WHERE user_id = %s', (self.id))
    4. 336 data = cur.fetchone()
    5. 337 if not data:
    • cur = <MySQLdb.cursors.Cursor object>
    • cur.execute = <bound method Cursor.execute of <MySQLdb.cursors.Cursor object>>
    • self = <MoinMoin.user.User at 0x7f73bb310e60 name:'' id:1074635546.92.26683 valid:0>
    • self.id = u'1074635546.92.26683'
  18. /usr/lib64/python2.7/site-packages/MySQLdb/cursors.py in execute (self=<MySQLdb.cursors.Cursor object>, query='SELECT data FROM users WHERE user_id = %s', args=u'1074635546.92.26683')

    1. 185 for key, item in args.iteritems())
    2. 186 else:
    3. 187 query = query % tuple([db.literal(item) for item in args])
    4. 188 try:
    5. 189 r = None
    • query = 'SELECT data FROM users WHERE user_id = %s'
    • builtin tuple = <type 'tuple'>
    • db = <weakproxy at 0x7f73b91bd100 to Connection>
    • db.literal = <bound method Connection.literal of <_mysql.connection open to 'mysql-t' at 2179c10>>
    • item = u'3'
    • args = u'1074635546.92.26683'

TypeError

not all arguments converted during string formatting

  • args = ('not all arguments converted during string formatting',)
  • message = 'not all arguments converted during string formatting'

System Details

  • Date: Sat, 20 Apr 2024 05:52:33 +0000
  • Platform: Linux sfp-ioweb82-2.v30.lw.sourceforge.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
  • Python: Python 2.7.5 (/bin/python)
  • MoinMoin: Release 1.5.8 (release)