[Zope] Upgrade python product from Zope2.1.6 to Zope2.3.0 problem

Petr Knapek knapek@knapek.pvt.net
20 Mar 2001 16:08:04 +0100


Hi Zopists,

for long time I have used modified by myself LDAPAdapter python product
for Zope 2.1.6 on my Linux Debian box.  Now I would like to upgrade my
python products to work on Zope 2.3.0

My product is properly installed in Zope (I can see it) but when i try
to add an instance of my product into the Zope, an error is raised.

Here you can see traceback:
=20
         Zope Error

         Zope has encountered an error while publishing this resource.

         Error Type: KeyError
         Error Value: BASEPATH1



         Troubleshooting Suggestions

             This resource may be trying to reference a nonexistent obj=
ect or variable BASEPATH1.=20
             The URL may be incorrect.=20
             The parameters passed to this resource may be incorrect.=20
             A resource that this resource relies on may be encounterin=
g an error.=20

         For more detailed information about the error, please refer to=
 the HTML source for this page.=20

         If the error persists please contact the site maintainer. Than=
k you for your patience.=20




Traceback (innermost last):
  File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line=
 222, in publish_module
  File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line=
 187, in publish
  File /usr/local/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 221,=
 in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line=
 171, in publish
  File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line =
160, in mapply
    (Object: addLDAPAdapter)
  File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line=
 112, in call_object
    (Object: addLDAPAdapter)
  File /usr/local/Zope-2.3.0-src/lib/python/Products/LDAPAdapter/LDAPAd=
apter.py, line 188, in addLDAPAdapter
    (Object: Traversable)
  File /usr/local/Zope-2.3.0-src/lib/python/Products/LDAPAdapter/LDAPAd=
apter.py, line 285, in __init__
    (Object: RoleManager)
  File /usr/local/Zope-2.3.0-src/lib/python/Products/LDAPAdapter/LDAPAd=
apter.py, line 467, in manage_edit
    (Object: RoleManager)
  File /usr/local/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.=
py, line 324, in __call__
    (Object: manage)
  File /usr/local/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.=
py, line 353, in _bindAndExec
    (Object: manage)
  File /usr/local/Zope-2.3.0-src/lib/python/App/special_dtml.py, line 2=
36, in _exec
    (Object: manage)
  File /usr/local/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.=
py, line 337, in __render_with_namespace__
    (Object: manage_tabs)
  File /usr/local/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.=
py, line 353, in _bindAndExec
    (Object: manage_tabs)
  File /usr/local/Zope-2.3.0-src/lib/python/App/special_dtml.py, line 2=
36, in _exec
    (Object: manage_tabs)
  File /usr/local/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_With.py=
, line 146, in render
    (Object: _(manage_options=3Dfiltered_manage_options()))
  File /usr/local/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_Var.py,=
 line 276, in render
    (Object: BASEPATH1)
KeyError: (see above)

=20
Can anybody tell me more than traceback?=20

Petr
--=20
Petr Kn=E1pek
NEXTRA Czech Republic, s.r.o., Hlinky 114, 603 00 Brno, Czech Republic
e-mail: mailto:petr.knapek@nextra.cz
tel:+420-5-43 554 150
FAX:+420-5-43 554 214