[Zope-dev] xron does not work with python 2.2

2003-09-23 Thread robert
Hi there,
it seams that the Product XRON does not work with python 2.2.

I can create an instance, however when I try to enter into it from the zmi, I 
get an error:
The object at http://localhost:8080/sprint/scheduler has an empty or missing 
docstring. Objects must have a docstring to be published.

When I run the same site with Python 2.13 everything is fine.

What could be the reason for that?

thanks
Robert
-- 
mit freundlichen GrĂ¼ssen

Robert Rottermann
www.redCOR.ch


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] xron does not work with python 2.2

2003-09-23 Thread Jean Jordaan
it seams that the Product XRON does not work with python 2.2.
Perhaps you should be thankful .. We tried to use xron a year
or so ago, and it bit us repeatedly. We dropped it and use
cron to tickle a Zope URL or to call an external method. For
those, see:
http://mail.zope.org/pipermail/zope/2003-February/131882.html
http://article.gmane.org/gmane.comp.web.zope.plone.user/2490
--
Jean Jordaan
http://www.upfrontsystems.co.za
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] xron does not work with python 2.2

2003-09-23 Thread Dieter Maurer
robert wrote at 2003-9-23 12:57 +0200:
  it seams that the Product XRON does not work with python 2.2.
  
  I can create an instance, however when I try to enter into it from the zmi, I 
  get an error:
  The object at http://localhost:8080/sprint/scheduler has an empty or missing 
  docstring. Objects must have a docstring to be published.
  
  When I run the same site with Python 2.13 everything is fine.
  
  What could be the reason for that?

A new type check has been added to ZPublisher.BaseRequest
to prevent ZPublisher to publish elementary Python types in Python  2.2.
Maybe, you get hit by this.

If not, check that the object has indeed a docstring.


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )