Re: [Zope] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann

On Mon, 3 Jul 2000, Oleg Broytmann wrote:
>Reinstalling from sources didn't help. I recompiled and reran 2.2.0b3,
> imported FlexFAQ2 (which surely worked with 2.1.4) and got the same
> problem.

   Oops! I am very, very sorry :( I connected directly to ZServer - and all
things worked as designed!
   Something broken between Apache and ZServer. Probably mod_pcgi2. Will
look into it...

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann

On Mon, 3 Jul 2000, Oleg Broytmann wrote:
> The first thing to try will be to
> reinstall Zope from the very beginning and not install any additional
> Products, right?

   Reinstalling from sources didn't help. I recompiled and reran 2.2.0b3,
imported FlexFAQ2 (which surely worked with 2.1.4) and got the same
problem. Traceback:

  Zope Error
  Zope has encountered an error while publishing this resource.
  
  
  
  Error Type: AttributeError
  Error Value: Edit%20 
  
 
  
 
  Troubleshooting Suggestions

  
The URL may be incorrect.
  The parameters passed to this resource may be incorrect.
  A resource that this resource relies on may be encountering an
error.
  

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

  If the error persists please contact the site maintainer.
  Thank you for your patience.
  




http://www.zope.org/Credits" target="_top">http://phd.russ.ru/pcgi2/p_/ZopeButton" width="115" height="50"
border="0" alt="Powered by Zope">


Traceback (innermost last):
  File ./lib/python/ZPublisher/Publish.py, line 222, in publish_module
  File ./lib/python/ZPublisher/Publish.py, line 187, in publish
  File ./lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
  File ./lib/python/ZPublisher/Publish.py, line 162, in publish
  File ./lib/python/ZPublisher/BaseRequest.py, line 325, in traverse
  File ./lib/python/ZClasses/Method.py, line 235, in __bobo_traverse__
(Object: Traversable)
AttributeError: (see above)

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann

On Mon, 3 Jul 2000, Shane Hathaway wrote:
> They are a special feature of ZClass development.  The spaces let you
> write implementations of methods that would otherwise conflict with
> existing methods.  That's why you can, for example, write your own
> "manage_main", which would normally conflict with the implementation of
> manage_main in the Folder class.  Instances of ZClasses remove the
> trailing space, making the method fully available.

   Understand.

> Now, it sounds like Zope may have some problems with property sheets and
> URL conversions.  Let's try to solve that.

   Which way?

   Few weeks ago I installed 2.2.0b2 and did experiments with SiteSummary
and FlexFAQ (ZClassess I've downloaded from www.zope.org). I didn't have
any problem.

   Later I installed 2.2.0b3 and without testing SiteSummary I went to
creaty my own ZClassess. This didn't work. Then I found SiteSummary has the
problem, too. Seems I broke someting. The first thing to try will be to
reinstall Zope from the very beginning and not install any additional
Products, right?

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] Re: ZClass in ZClass problem

2000-07-03 Thread Shane Hathaway

Oleg Broytmann wrote:
>It seems you are taking me as an idiot :( I know what is %20 means in
> URLs. I want to know where I got these from, and how to get rid of it...

They are a special feature of ZClass development.  The spaces let you
write implementations of methods that would otherwise conflict with
existing methods.  That's why you can, for example, write your own
"manage_main", which would normally conflict with the implementation of
manage_main in the Folder class.  Instances of ZClasses remove the
trailing space, making the method fully available.

Now, it sounds like Zope may have some problems with property sheets and
URL conversions.  Let's try to solve that.

Shane

___
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] Re: ZClass in ZClass problem

2000-07-03 Thread Oleg Broytmann

On Sun, 2 Jul 2000, Tino Wildenhain wrote:
> > On Sat, 1 Jul 2000, Oleg Broytmann wrote:
> > >Then the problems begin. All management URLs for inner ZClass contain
> > > %20, so URLs look like
> > > "propertysheets/methods/RandomZItem%20/manage_workspace" and
> > > "propertysheets/methods/RandomZItem_add%20/manage_workspace".
> > 
> >I found that not only my ZClassess do this way. I imported SiteSummary -
> > and got the problem. Something broken in my installation?
> %20 is the urlencoded representation of an extraneous space at the end
> of your methods ids.

   It seems you are taking me as an idiot :( I know what is %20 means in
URLs. I want to know where I got these from, and how to get rid of it...

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] Re: ZClass in ZClass problem

2000-07-02 Thread Tino Wildenhain



Oleg Broytmann wrote:
> 
> Followup to myself...
> 
> On Sat, 1 Jul 2000, Oleg Broytmann wrote:
> >Then the problems begin. All management URLs for inner ZClass contain
> > %20, so URLs look like
> > "propertysheets/methods/RandomZItem%20/manage_workspace" and
> > "propertysheets/methods/RandomZItem_add%20/manage_workspace".
> 
>I found that not only my ZClassess do this way. I imported SiteSummary -
> and got the problem. Something broken in my installation?
%20 is the urlencoded representation of an extraneous space at the end
of your methods ids.

HTH
Tino Wildenhain

___
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] Re: ZClass in ZClass problem

2000-07-01 Thread Oleg Broytmann

Followup to myself...

On Sat, 1 Jul 2000, Oleg Broytmann wrote:
>Then the problems begin. All management URLs for inner ZClass contain
> %20, so URLs look like
> "propertysheets/methods/RandomZItem%20/manage_workspace" and
> "propertysheets/methods/RandomZItem_add%20/manage_workspace".

   I found that not only my ZClassess do this way. I imported SiteSummary -
and got the problem. Something broken in my installation?

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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 )