Submitted by : 127.0.0.1 at: 2004-06-15T12:40:32+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

After an update of ZWiki, I tried to call FrontPage/upgradeAll, but lacked the required permissions. While compiling the error message, the follwing error occured:

 Traceback (innermost last):
   Module ZPublisher.Publish, line 100, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Products.ZWiki.Admin, line 99, in upgradeAll
 TypeError: unsupported operand type(s) for +: 'instance' and 'instance'

I am using Plone 2.0.3 and ZWiki 0.31. May browser is configured to accept the following languages:

  HTTP_ACCEPT_LANGUAGE 'de,en;q=0.5' 


comments:

... -- Thu, 24 Jun 2004 01:47:30 -0700 reply
There may be (many?) more messages which will raise an error--for example, the message generated for placeholders after a page was renamed. When visiting a URL such as http://mywiki/TestPageA/rename?pagename=TestPageB&leaveplaceholder=1 I get the following error:

 Traceback (innermost last):
   Module ZPublisher.Publish, line 100, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 40, in call_object
   Module Products.ZWiki.Editing, line 523, in rename
 TypeError: unsupported operand type(s) for %: 'instance' and 'str'

--Andreas

property change --SimonMichael, Thu, 24 Jun 2004 08:39:20 -0700 reply
Severity: normal => serious

fixed for 0.32 --simon, Fri, 02 Jul 2004 11:51:23 -0700 reply
I've made _() return a string and added this comment:

            Also: an i18n doc I've seen (find ref) thinks that _()
            returning a MessageIDFactory rather than a string is a good
            thing for some unicode reason, but it causes problems here and
            there for code that expects a string. We'll convert to a
            string for now.

Thanks.

property change --simon, Fri, 02 Jul 2004 11:51:35 -0700 reply
Status: open => closed