[Zope-dev] unregistering products

2003-09-23 Thread alan milligan
Hi,

We have a relatively common situation whereby we will create our own product 
by deriving off an existing Zope product.

However, the original product is still available through Products.meta_types 
and the factory construction mechanism.  This is a pain as then users must 
be careful as to what product's they create.

It is inconvenient to comment out the registerClass calls in the __init__.py 
to achieve this result.  Is there any other technique to deregister products 
yet still have them available in the PYTHONPATH to satisfy other 
dependencies?

Cheers, Alan

_
Gaming galore at  http://xtramsn.co.nz/gaming !
___
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 )


[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] unregistering products

2003-09-23 Thread Dieter Maurer
alan milligan wrote at 2003-9-23 06:35 +:
  However, the original product is still available through Products.meta_types 
  and the factory construction mechanism.  This is a pain as then users must 
  be careful as to what product's they create.
  
  It is inconvenient to comment out the registerClass calls in the __init__.py 
  to achieve this result.  Is there any other technique to deregister products 
  yet still have them available in the PYTHONPATH to satisfy other 
  dependencies?

This could have some nasty side effects, e.g. icon may not get defined.

Probably, a better solution would be to add visible= 0 to
the registerClass call.


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 )


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 )


[Zope-dev] Can anyone help to work with Xron on Linux?

2003-09-23 Thread I-Ling Lin
I tried Xron on Windows XP environment, which works perfectly. Then, I have been trying transport my work to Linux environemnt andwork with Xron on Linux for a couple of weeks and checked many possible resources, but no luck.

The problem is that, I do see Xron DTML Method object in the manage mode and add the object fine. But, I cannot get the scheduled object working regularly. The error message from the log file says something like:

ERROR(200) Catalog uncatalogObjet unsucessfully attempted to uncatalog an object with a uid of ...
PROBLEM(100) Products.Xron.Loggerr
Trigger event: ...
Trigger time: ...
Failed to trigger event.
...
...
-
PROBLEM(100) Products.Xron.Loggerr Failed to disarm event


I really don't know how to continue... Can anyone help me, please, pls

LinPost your free ad now! Yahoo! Canada Personals___
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 )