Some comments about this bug report:

  • you use a really old MoinMoin Version... see /MoinMoinDownload for a newer release (but this no grantee that it works with Monobook either)

  • second the theme is a custom development of JimClark, you may have to ask him or write the bug report on the ThemeMarket/MonoBook page, because under MoinMoinBugs are only bugs related to the standart / core moinmoin software "allowed".

bye -- MarcelHäfner 2009-02-20 21:33:22

An error appear when trying to switch the theme to monobook.


TypeError

rsslink() takes exactly 1 argument (2 given)


Debug Info:

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. . /var/lib/python-support/python2.4/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1135 from MoinMoin.wikiaction import getHandler

    2. 1136 handler = getHandler(self, action)
    3. 1137 handler(self.page.page_name, self)
    4. 1138
    5. 1139 # 5. Or redirect to another page
      • handler = <function do_userform>

      • self = <MoinMoin.request.RequestCGI object>

      • self.page = <MoinMoin.Page.Page instance>

      • self.page.page_name = u'FrontPage'

  2. . /var/lib/python-support/python2.4/MoinMoin/wikiaction.py in do_userform (pagename=u'FrontPage', request=<MoinMoin.request.RequestCGI object>)

    1. 734 from MoinMoin import userform

    2. 735 savemsg = userform.savedata(request)
    3. 736 Page(request, pagename).send_page(request, msg=savemsg)
    4. 737
    5. 738 def do_bookmark(pagename, request):
      • global Page = <class MoinMoin.Page.Page>

      • request = <MoinMoin.request.RequestCGI object>

      • pagename = u'FrontPage'

      • ).send_page undefined
      • msg undefined
      • savemsg = u'\xa1Opciones de Usuario guardadas!'
  3. . /var/lib/python-support/python2.4/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg=u'\xa1Opciones de Usuario guardadas!', **keywords={})

    1. 1185 pagename=self.page_name, print_mode=print_mode,
    2. 1186 media=media, pi_refresh=pi_refresh,
    3. 1187 allow_doubleclick=1, trail=trail,
    4. 1188 )
    5. 1189
      • allow_doubleclick undefined
      • trail = [u'Prueba:Activar_mail_para_que_reciba_mail_externos', u'Prueba:RecentChanges', u'Prueba:WikiCourse(2f)BasicIntroduction(2f)191_Creating_new_Pages', u'Prueba:UserPreferences', u'Prueba:FrontPage']

  4. . /var/lib/python-support/python2.4/MoinMoin/wikiutil.py in send_title (request=<MoinMoin.request.RequestCGI object>, text=u'FrontPage', **keywords={'allow_doubleclick': 1, 'link': '/prueba/FrontPage?action=fullsearch&value=linkto%3A%22FrontPage%22&context=180', 'media': 'screen', 'msg': u'\xa1Opciones de Usuario guardadas!', 'page': <MoinMoin.Page.Page instance>, 'pagename': u'FrontPage', 'pi_refresh': None, 'print_mode': False, 'trail': [u'Prueba:Activar_mail_para_que_reciba_mail_externos', u'Prueba:RecentChanges', u'Prueba:WikiCourse(2f)BasicIntroduction(2f)191_Creating_new_Pages', u'Prueba:UserPreferences', u'Prueba:FrontPage']})

    1. 1306 output = []
    2. 1307 # later: <html xmlns=\"http://www.w3.org/1999/xhtml\">

    3. 1308 output.append("""<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    4. 1309 <html>

    5. 1310 <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="noindex,nofollow">\n']

      • request = <MoinMoin.request.RequestCGI object>

      • request.theme = <prueba.plugin.theme.monobook.Theme instance>

      • request.theme.html_head = <bound method Theme.html_head of <prueba.plugin.theme.monobook.Theme instance>>

      • page = <MoinMoin.Page.Page instance>

      • global escape = <function escape>

      • text = u'FrontPage'

      • request.cfg = <prueba.Config instance>

      • request.cfg.html_pagetitle = None
      • request.cfg.sitename = u'Prueba'
      • keywords = {'allow_doubleclick': 1, 'link': '/prueba/FrontPage?action=fullsearch&value=linkto%3A%22FrontPage%22&context=180', 'media': 'screen', 'msg': u'\xa1Opciones de Usuario guardadas!', 'page': <MoinMoin.Page.Page instance>, 'pagename': u'FrontPage', 'pi_refresh': None, 'print_mode': False, 'trail': [u'Prueba:Activar_mail_para_que_reciba_mail_externos', u'Prueba:RecentChanges', u'Prueba:WikiCourse(2f)BasicIntroduction(2f)191_Creating_new_Pages', u'Prueba:UserPreferences', u'Prueba:FrontPage']}

      • keywords.get = <built-in method get of dict object>

      • builtin False = False
  5. . /var/www/prueba/data/plugin/theme/monobook.py in html_head (self=<prueba.plugin.theme.monobook.Theme instance>, d={'media': 'screen', 'page': <MoinMoin.Page.Page instance>, 'print_mode': False, 'sitename': u'Prueba', 'title': u'FrontPage'})

    1. 470 alterations if necessary
    2. 471 """
    3. 472 html = [
    4. 473 u'<title>%(title)s - %(sitename)s</title>' % d,

    5. 474 self.externalScript('common'),
      • html undefined
      • d = {'media': 'screen', 'page': <MoinMoin.Page.Page instance>, 'print_mode': False, 'sitename': u'Prueba', 'title': u'FrontPage'}

      • self = <prueba.plugin.theme.monobook.Theme instance>

      • self.externalScript = <bound method Theme.externalScript of <prueba.plugin.theme.monobook.Theme instance>>

      • self.headscript = <bound method Theme.headscript of <prueba.plugin.theme.monobook.Theme instance>>

      • self.guiEditorScript = <bound method Theme.guiEditorScript of <prueba.plugin.theme.monobook.Theme instance>>

      • self.html_stylesheets = <bound method Theme.html_stylesheets of <prueba.plugin.theme.monobook.Theme instance>>

      • self.rtl_stylesheet = <bound method Theme.rtl_stylesheet of <prueba.plugin.theme.monobook.Theme instance>>

      • self.rsslink = <bound method Theme.rsslink of <prueba.plugin.theme.monobook.Theme instance>>

TypeError

rsslink() takes exactly 1 argument (2 given)

System Details

MoinMoin: MoinMoinBugs/ThemeTypeErrorRsslink (last edited 2009-02-20 21:33:22 by MarcelHäfner)