[Zope] Where Is This Problem? Apache? Zope? SiteRoot??

John Wubbel john.wubbel@pediatricnetwork.com
Sat, 5 Jul 2003 23:53:09 -0400


This is just a wild guess, but perhaps EMarket is having some sort of
problem with a string concatenate operation. I would not be entirely sure
this is an Apache proxy issue. If EMarket is not generating the error but
rather Zope since it is trying to return a page back to the client. Knowing
typical Python errors of TypeError: origin. If you had a division error lets
say TypeError: unsupported operand type(s) for /: 'array' and 'int' you see
the operator involved. Not knowing python that well myself if I saw a

Error Type: TypeError
Error Value: unsupported operand types for +

I would say maybe something to do with addition. However, in other OO
languages the use of + for concatenating strings. In python if

x = '3'
y = 2
and you try to do x+y you get TypeError: cannot add type "int" to string
if you try to do a y+x you get TypeError: unsupported operand types for +

There has to be something more subtle here particularly if you know of the
reliability of previous Apache, Zope, SiteRoot implementations with EMarket.
Have you compared the level or release of your Python on your current server
with the release running on your other deployment? If it is down level maybe
try to upgrade it? The recreate the error.

Also have you looked at your page template frame area containing the Add
button. Maybe a brief review of it in comparison to a system such as your
developers to see if there are any differences such as charset or even in
the URLs.
      <form method="POST"

action="http://blackbeardale.com/1024/s/c/x/en-us/EMarket/Our_Store/shoppers
/temp1057457627.401973/addNewItem">

Not sure if this helps in way, but if it gives you some ideas or a place to
start to debug this I am sure you will get it fixed.
Regards,
John Wubbel

----- Original Message -----
From: "beno" <zope@thewebsons.com>
To: <zope@zope.org>
Sent: Saturday, July 05, 2003 7:48 PM
Subject: Re: [Zope] Where Is This Problem? Apache? Zope? SiteRoot??


> At 11:23 AM 7/5/2003 -0700, you wrote:
> >On Sat, 2003-07-05 at 09:55, beno wrote:
> > > At 08:06 AM 7/5/2003 -0700, you wrote:
> > > > > RH7.3, Zope2.5.1, what else ya need?
> > > >
> > > >The last few lines of the traceback will tell you where the offending
> > + is
> > > >taking place.
> > >
> > > File
> > >
> >
/home/httpd/ZopeInstallation/Zope_software_home2/lib/python/Products/EMarket
/ShopperManager.py,
> >
> > > line 104, in addToBasket (Object: shoppers)
> > > File
> > >
> >
/home/httpd/ZopeInstallation/Zope_software_home2/lib/python/Products/EMarket
/ShopperManager.py,
> >
> > > line 52, in currentBasketId (Object: shoppers)
> > >
> >[...]
> > >
> > > In other words, why does it throw errors for some users and not for
others?
> >
> >Assuming that the problem is client dependent and what you're missing is
> >a basket id
>
> but why would I be missing said id and not my programmer? Again, why does
> it work for some people and not others?! Again, why does this shopping
cart
> work for everybody in certain domains but not in others?
> beno
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>