[Zope-dev] How to develope a ZObject to connect to an socket server?

2002-08-22 Thread Juan Carlos CORUÑA

Hi all!

I'm trying to develope a zope object that connects to a external socket
server in order to comunícate with it and receive some events (Maybe I
need a thread to process events).

The problem is how to establish the connection at the start of zope and
to disconnect at the end. After some test assigning the socket server
object to _v_ variables in the zope object, it missed the connection
after a while. It seems that it can't maintain the reference stored in
the _v_ variable.

I thing that the behaviour is something like database connections and
I'm looking into some database connection objects to find out the
mechanism used.

If anybody has interesting information or knows where to achieve docs
about this, please could you advise me? 

Juan Carlos Coruña

[EMAIL PROTECTED]



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



[Zope-dev] Zope 2.2.0b1 not authorized

2000-06-21 Thread Juan Carlos Coruña
Title: Zope 2.2.0b1 not authorized




I have a ZSQL method embedded into another ZSQL method and when I
execute it I become the following error:
Error, Unauthorized: You are not authorized to access SQL.
If I execute the embedded ZSQL method alone I become no errors.
The two methods have the same ownership. 

After searching in the mailing list I have seen a few people with
the same problem but none of them have resolved it.
Anyone knows the solution?




[Zope-dev] Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-21 Thread Juan Carlos Coruña
Title: Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...






 Mensaje original 

El 21/06/00, 17:25:39, Brian Lloyd [EMAIL PROTECTED] escribi sobre
el tema [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...:


 Hi all,

 Several folks have reported problems in beta 1 with SQLMethods
 having authentication problems when trying to call other SQL
 Methods. I'd like a few intrepid volunteers to try something
 for me to see if it fixes the problem. I'd like to make a 2.2
 beta 2 release tomorrow but I want to make sure this issue is
 resolved first.

 Make a backup of the file:

 lib/python/Shared/DC/ZRDB/DA.py

 in your current (beta 1) installation and replace it with the
 DA.py attached to this email, restart and let me know if the
 problem goes away.

 Thanks!

 Brian Lloyd[EMAIL PROTECTED]
 Software Engineer  540.371.6909
 Digital Creations  http://www.digicool.com

It seems to work properly. But all the old ZSQL methods are converted
to folders and you must create the ZSQL methods another time. The
folders that appear aren't accesible and displays the error Resource
not found.