[Moin-user] 1.0 to 1.1
Paul Sorenson
sourceforge at metrak.com
Sun Dec 14 01:50:06 EST 2003
Hi,
I am trying to upgrade a working site from 1.0 to 1.1 on a remote host with only ftp access (among other things I can't run python setup.py)
I have uploaded the MoinMoin1.1 directory to site-packages and then renamed this to MoinMoin. I have cgitb turned on, here is the summary (simulation from my local copy):
>
TypeError: 'int' object is not callable Please include this information in your bug reports!:
Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] - /usr/bin/python
Linux beastie.home.classware.com.au 2.4.20-20.9 #1 Mon Aug 18 11:27:43 EDT 2003 i686
MoinMoin Release 1.1 [Revision 1.178]
A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
__doc__ = 'Inappropriate argument type.'
__getitem__ = <bound method TypeError.__getitem__ of <exceptions.TypeError instance at 0x822a964>>
__init__ = <bound method TypeError.__init__ of <exceptions.TypeError instance at 0x822a964>>
__module__ = 'exceptions'
__str__ = <bound method TypeError.__str__ of <exceptions.TypeError instance at 0x822a964>>
args = ("'int' object is not callable",)
/usr/lib/python2.2/site-packages/MoinMoin/wikiutil.py in send_title(request=<MoinMoin.request.Request instance>, text='FrontPage', **keywords={'allow_doubleclick': 1, 'link': '/wiki/homebrew/moin.cgi/FrontPage?action=fullsearch&value=FrontPage&literal=1&case=1&context=40', 'msg': '', 'pagename': 'FrontPage', 'print_mode': 0})
687 if keywords.has_key('body_attr'):
688 bodyattr += ' ' + keywords['body_attr']
689 if keywords.get('allow_doubleclick', 0) and not keywords.get('print_mode', 0) \
keywords = {'allow_doubleclick': 1, 'link': '/wiki/homebrew/moin.cgi/FrontPage?action=fullsearch&value=FrontPage&literal=1&case=1&context=40', 'msg': '', 'pagename': 'FrontPage', 'print_mode': 0}, global get = undefined, pagename = 'FrontPage', request = <MoinMoin.request.Request instance>, global user = undefined, global may = undefined, global edit = undefined, global edit_on_doubleclick = undefined
690 and pagename and request.user.may.edit(pagename) \
691 and request.user.edit_on_doubleclick:
/usr/lib/python2.2/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.Request instance>, msg='', **keywords={'count_hit': 1})
432 wikiutil.send_title(request, title, link=link, msg=msg,
433 pagename=self.page_name, print_mode=print_mode,
434 allow_doubleclick=1)
global allow_doubleclick = undefined
435
436 # page trail?
/usr/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={})
210 else:
211 try:
212 cgitb.handler()
cgitb = <module 'MoinMoin.support.cgitb' from '/usr/lib/python2.2/site-packages/MoinMoin/support/cgitb.py'>, handler = undefined
213 except:
214 cgi.print_exception(*saved_exc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20031214/9ac1580d/attachment.html>
More information about the Moin-user
mailing list