[Zope] manage_main and ordersupport

Bernd Dorn zope-mailinglist at mopa.at
Wed Feb 18 02:12:01 EST 2004


hi

i have a python class which  inherits from ObjectManager and OrderSupport

now my manage_main should display the order support stuff, but it 
doesn't anymore on my development machine since i upgraded to zope 2.7.0 
final and python 2.3.3

here the debug info of my devel machine::

  Debug Information

     * Zope version: (unreleased version, python 2.3.3, linux2)
     * Python version: 2.3.3 (#1, Jan 29 2004, 07:54:24) [GCC 3.2.3 
20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)]
     * System Platform: linux2
     * SOFTWARE_HOME: /opt/zope/270/lib/python
     * INSTANCE_HOME: /home/bd/zopes/first
     * CLIENT_HOME: /home/bd/zopes/first/var
     * Process ID: 5846 (49156)
     * Running for: 1 min 32 sec
     * sys.path:
         /home/bd/zopes/first/lib/python
         /opt/zope/270/lib/python/Zope/Startup
         /opt/zope/270/lib/python
         /usr/lib/python23.zip
         /usr/lib/python2.3
         /usr/lib/python2.3/plat-linux2
         /usr/lib/python2.3/lib-tk
         /usr/lib/python2.3/lib-dynload
         /usr/lib/python2.3/site-packages
         /usr/lib/python2.3/site-packages/PIL
         /usr/lib/portage/pym
     * Top Refcounts:

on the production machine it works, this machine uses python 2.3.2 and 
zope 2.7 beta 3

when i copy over OFS/dtml/main.dtml to my products directory and define 
manage_main directly in my class like this::

     manage_main = DTMLFile("dtml/management/main",globals())

it works just fine, without changing anythong in main.dtml

one last info: the class is just a base class for a few other classes 
which s objects are then added to the zope instance

tia, bernd




More information about the Zope mailing list