[Zope] AttributeError: Can't Pin It Down!

tonylabarbara at aol.com tonylabarbara at aol.com
Sat Jul 21 10:42:38 EDT 2007


Hi;
I just built out a new server. The sites keep throwing AttributeErrors and I can't figure out why. Here's a simple example:

contact_us_form is a Formulator form. Every Formulator form has an attribute called "header". So, why do I get this error?




Module ZPublisher.Publish, line 101, in publish 

Module ZPublisher.mapply, line 88, in mapply 

Module ZPublisher.Publish, line 39, in call_object 

Module OFS.DTMLDocument, line 128, in __call__
<DTMLDocument instance at e4e18f0>
URL: http://example.com/eng/Equine-All_Products_frame/manage_main
Physical Path:/example.com/eng/Equine-All_Products_frame 

Module DocumentTemplate.DT_String, line 474, in __call__ 

Module DocumentTemplate.DT_Util, line 198, in eval
__traceback_info__: contact_us_form 

Module <string>, line 1, in <expression> 



AttributeError: header 

Display traceback as text <getLogEntryAsText?id=1185002988.840.657271479648>

Top of Form 1

Bottom of Form 1

REQUEST

form




?




cookies




?




lazy items





SESSION



<bound method SessionDataManager.getSessionData of <SessionDataManager instance at b6dcc50>>





other





TraversalRequestNameStack



[]





AUTHENTICATED_USER



Anonymous User





URL



'http://example.com/1024/eng/Equine-All_Products_frame'





URL2



'http://example.com/1024'





VirtualRootPhysicalPath



('', 'example.com')





SERVER_URL



'http://example.com'





AUTHENTICATION_PATH



'example.com/virtual_hosting'





BASE1



'http://example.com'





BASE2



'http://example.com/1024'





BASE3



'http://example.com/1024/eng'





BASE4



'http://example.com/1024/eng/Equine-All_Products_frame'





URL3



'http://example.com'





PUBLISHED



<DTMLDocument instance at e4e18f0>





URL1



'http://example.com/1024/eng'





ACTUAL_URL



'http://example.com/1024/eng/Equine-All_Products_frame'





URL0



http://example.com/1024/eng/Equine-All_Products_frame





URL1



http://example.com/1024/eng





URL2



http://example.com/1024





URL3



http://example.com





BASE0



http://example.com





BASE1



http://example.com





BASE2



http://example.com/1024





BASE3



http://example.com/1024/eng





BASE4



http://example.com/1024/eng/Equine-All_Products_frame





environ





HTTP_ACCEPT



'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*'





CONNECTION_TYPE



'Keep-Alive'





HTTP_USER_AGENT



'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)'





HTTP_REFERER



'http://example.com/1024/eng/Equine-All_Products'





SERVER_NAME



'server726.by2012.com'





GATEWAY_INTERFACE



'CGI/1.1'





HTTP_X_FORWARDED_FOR



'200.88.97.130'





SERVER_SOFTWARE



'Zope/(Zope 2.7.8-final, python 2.3.5, freebsd5) ZServer/1.1 Plone/2.1.4'





REMOTE_ADDR



'203.223.152.46'





HTTP_ACCEPT_LANGUAGE



'en-us'





SCRIPT_NAME



''





REQUEST_METHOD



'GET'





HTTP_HOST



'example.com:80'





PATH_INFO



'/1024/eng/Equine-All_Products_frame'





SERVER_PORT



'8080'





SERVER_PROTOCOL



'HTTP/1.1'





channel.creation_time



1185002986





HTTP_ACCEPT_ENCODING



'gzip, deflate'





PATH_TRANSLATED



'/1024/eng/Equine-All_Products_frame'





Top of Form 2

Bottom of Form 2


TIA,
Tony

________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070721/a8094952/attachment.htm


More information about the Zope mailing list