ValueErrorunpack tuple of wrong size | Please include this information in your bug reports!: Python Python 2.3.3: /usr/bin/python Linux dl320 2.6.5-7.145-smp #1 SMP Thu Jan 27 09:19:29 UTC 2005 i686 MoinMoin Release 1.3.3 [Revision 1.3.3 release] Thu Feb 24 14:42:30 2005 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestStandAlone instance>) |
882 else: |
883 try: |
884 cgitb.Hook(file=self).handle(saved_exc) |
885 # was: cgitb.handler() |
886 except: |
cgitb = <module 'MoinMoin.support.cgitb' from '/usr/lib/python2.3/site-packages/MoinMoin/support/cgitb.pyc'>, cgitb.Hook = <class MoinMoin.support.cgitb.Hook>, file undefined, self = <MoinMoin.request.RequestStandAlone instance>, ).handle undefined, saved_exc = (<class exceptions.ValueError>, <exceptions.ValueError instance>, <traceback object>) |
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestStandAlone instance>, msg='', **keywords={'count_hit': 1}) |
1123 pagename=self.page_name, print_mode=print_mode, |
1124 media=media, pi_refresh=pi_refresh, |
1125 allow_doubleclick=1, trail=trail, |
1126 ) |
1127 |
allow_doubleclick undefined, trail = None |
/usr/lib/python2.3/site-packages/MoinMoin/wikiutil.py in send_title(request=<MoinMoin.request.RequestStandAlone instance>, text=u'index.html', **keywords={'allow_doubleclick': 1, 'link': '/index%2ehtml?action=fullsearch&value=index.html&literal=1&case=1&context=180', 'media': 'screen', 'msg': '', 'page': <MoinMoin.Page.Page instance>, 'pagename': u'index.html', 'pi_refresh': None, 'print_mode': False, 'trail': None}) |
1050 output = [] |
1051 # later: <html xmlns=\"http://www.w3.org/1999/xhtml\"> |
1052 output.append("""<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
1053 <html> |
1054 <head> |
output = [], output.append = <built-in method append of list object>, ''.join undefined, user_head = ['', '<meta http-equiv="Content-Type" content="text/html;charset=utf-8">\n', '<meta name="robots" content="index,nofollow">\n'], keywords = {'allow_doubleclick': 1, 'link': '/index%2ehtml?action=fullsearch&value=index.html&literal=1&case=1&context=180', 'media': 'screen', 'msg': '', 'page': <MoinMoin.Page.Page instance>, 'pagename': u'index.html', 'pi_refresh': None, 'print_mode': False, 'trail': None}, keywords.get = <built-in method get of dict object>, request = <MoinMoin.request.RequestStandAlone instance>, request.theme = <wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>, request.theme.html_head = <bound method Theme.html_head of <wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>>, global escape = <function escape>, text = u'index.html', request.cfg = <wikiconfig.Config instance>, request.cfg.html_pagetitle = None, request.cfg.sitename = u'Untitled Wiki', False undefined |
/usr/lib/python2.3/site-packages/MoinMoin/theme/__init__.py in html_head(self=<wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>, d={'media': 'screen', 'print_mode': False, 'sitename': u'Untitled Wiki', 'title': u'index.html'}) |
746 @return: html head |
747 """ |
748 html = [ |
749 u'<title>%(title)s - %(sitename)s</title>' % d, |
750 self.headscript(d), # Should move to separate .js file |
html undefined, d = {'media': 'screen', 'print_mode': False, 'sitename': u'Untitled Wiki', 'title': u'index.html'}, self = <wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>, self.headscript = <bound method Theme.headscript of <wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>>, self.html_stylesheets = <bound method Theme.html_stylesheets of <wikicon...plugin.theme.rightsidebarsmaller.Theme instance>>, self.rsslink = <bound method Theme.rsslink of <wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>> |
/usr/lib/python2.3/site-packages/MoinMoin/theme/__init__.py in html_stylesheets(self=<wikiconfig.plugin.theme.rightsidebarsmaller.Theme instance>, d={'media': 'screen', 'print_mode': False, 'sitename': u'Untitled Wiki', 'title': u'index.html'}) |
484 html = [] |
485 prefix = self.cfg.url_prefix |
486 for media, basename in stylesheets: |
487 href = '%s/%s/css/%s.css' % (prefix, self.name, basename) |
488 html.append(link % (self.stylesheetsCharset, media, href)) |
media undefined, basename undefined, stylesheets = (('rightsidebarsmaller', 'utf-8', 'all', 'common'), ('rightsidebarsmaller', 'utf-8', 'screen', 'screen'), ('rightsidebarsmaller', 'utf-8', 'print', 'print'), ('rightsidebarsmaller', 'utf-8', 'projection', 'projection')) |
ValueError: unpack tuple of wrong size
__doc__ =
'Inappropriate argument value (of correct type).'
__getitem__ =
<bound method ValueError.__getitem__ of <exceptions.ValueError instance>>
__init__ =
<bound method ValueError.__init__ of <exceptions.ValueError instance>>
__module__ =
'exceptions'
__str__ =
<bound method ValueError.__str__ of <exceptions.ValueError instance>>
args =
('unpack tuple of wrong size',)