[Zope] private Z Classes
Hi all, I'm trying to create a product with a Z Class (call it Z_Super) that contains other (private) Z Classes (call them Z_Subs). Creating Z_Super is no problem, but creating Z_Sub in Z_Super gives me the following traceback: Traceback (innermost last): File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: RoleManager) File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 151, in publish File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/ZPublisher/BaseRequest.py, line 430, in traverse File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/AccessControl/User.py, line 375, in validate (Object: RoleManager) File /ford/sdrcsvr/u/zope/Zope-2.1.6-src/lib/python/ZPublisher/HTTPResponse.py, line 511, in notFoundError NotFound: (see above) FYI I'm using Zope 2.1.6. Thanks a lot. armin -- Armin Wappenschmidt - Consultant Engineer SDRC Ford Program OfficeSDRC Software und Service GmbH Spessartstrasse (D-MD/PA-2) Martin-Behaim-Strasse 12 D-50725 Koeln-Merkenich D-63263 Neu-Isenburg Phone (+49) 0221-90 33619 Phone (+49) 06102-747-0 Fax(+49) 0221-90 31243 Fax (+49) 06102-747 299 PROFS AWAPPENS mailto:[EMAIL PROTECTED] _/_/_/_/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/_/ _/_/_/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ S O F T W A R E U N D S E R V I C E G M B H ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] private Z Classes
Shalabh Chaturvedi wrote: > > Hi > > Could it be the infamous "Resouce Not Found" bug? > > The following link has information about the bug and how to work around it. > http://www.zope.org/Members/gtk/containers > Yes - that's it! Thanks! armin :) -- Armin Wappenschmidt - Consultant Engineer SDRC Ford Program OfficeSDRC Software und Service GmbH Spessartstrasse (D-MD/PA-2) Martin-Behaim-Strasse 12 D-50725 Koeln-Merkenich D-63263 Neu-Isenburg Phone (+49) 0221-90 33619 Phone (+49) 06102-747-0 Fax(+49) 0221-90 31243 Fax (+49) 06102-747 299 PROFS AWAPPENS mailto:[EMAIL PROTECTED] _/_/_/_/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/_/ _/_/_/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ S O F T W A R E U N D S E R V I C E G M B H ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] range with variables
Hi all, I've a problem using the following dtml construct: # <-- that's the problem!! do something How can I set the variable "start" from a user given input? Thanks! armin -- Armin Wappenschmidt - Consultant Engineer SDRC Ford Program OfficeSDRC Software und Service GmbH Spessartstrasse (D-MD/PA-2) Martin-Behaim-Strasse 12 D-50725 Koeln-Merkenich D-63263 Neu-Isenburg Phone (+49) 0221-90 33619 Phone (+49) 06102-747-0 Fax(+49) 0221-90 31243 Fax (+49) 06102-747 299 PROFS AWAPPENS mailto:[EMAIL PROTECTED] _/_/_/_/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/_/ _/_/_/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ S O F T W A R E U N D S E R V I C E G M B H ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] R: [Zope] range with variables
Marcel Preda wrote: > > - Original Message - > From: Armin Wappenschmidt <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 27, 2000 10:50 AM > Subject: [Zope] range with variables > > > Hi all, > > > > I've a problem using the following dtml construct: > > > > # <-- that's the problem!! > > > > > > > >do something > > > > > > > > > > > > > > How can I set the variable "start" from a user given input? > > > > > The problem is that in both cases the `startindex' is a string, > you have tu convert it to int. > > > The conversion from string to int was the problem. Now it works! :) Thanks! armin -- Armin Wappenschmidt - Consultant Engineer SDRC Ford Program OfficeSDRC Software und Service GmbH Spessartstrasse (D-MD/PA-2) Martin-Behaim-Strasse 12 D-50725 Koeln-Merkenich D-63263 Neu-Isenburg Phone (+49) 0221-90 33619 Phone (+49) 06102-747-0 Fax(+49) 0221-90 31243 Fax (+49) 06102-747 299 PROFS AWAPPENS mailto:[EMAIL PROTECTED] _/_/_/_/ _/_/_/ _/_/_/ _/_/_/_/ _/ _/_/ _/_/_/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/ S O F T W A R E U N D S E R V I C E G M B H ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )