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
How can I compare the type of 2 variables in a python method?
The instruction "if type(var1) == type(var2): " doesn't work.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!
Yes, it works. Thanks.
-Mensaje original-
De: Evan Simpson [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 11 de enero de 2001 15:49
Para: Juan Carlos Corua; [EMAIL PROTECTED]
Asunto: Re: [Zope] type in python methods
From: Juan Carlos Corua [EMAIL PROTECTED]
How can I compare the
-Mensaje original-
De: Luciano Ramalho [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 11 de enero de 2001 15:21
Para: Juan Carlos Coruña
CC: [EMAIL PROTECTED]
Asunto: Re: [Zope] type in python methods
The instruction if type(var1) == type(var2): doesn't work.
It does work
Hello all!
I have another question related with PythonMethod. This time I tried:
REQUEST.update({'NoRows': 4})
and I tried:
REQUEST['NoRows'] = 4
and I tried:
REQUEST.set('NoRows', 4)
but without success.
(I passed the REQUEST object in the parameter list.)
Anybody has set a REQUEST
I try to intercept exceptions in a Python Method without success.
The following code works well:
try:
a = int('a')
except:
return 'exception.'
but the next doesn't work:
try:
a = int('a')
except ValueError:
return 'exception'
How can I intercept a concrete exception?
Is there any way to split a string in a PythonMethod without passing the
object _.string as an argument?
I have tried to "import string" but Zope generates an ImportError:
ImportError: __import__ not found
I'm using PythonMethod 0.1.7
___
Zope
Title: Problem with ZClient
I'm testing ZClient to access a ZSQL method on a NT box from a Linux
box since Linux can't access any odbc (propietary) database. As ressult
i become a bci.ServerError.
This is the output:
[root@ecom ZPublisher]# ./Client.py -u username:password
Title: Who has compiled _mysql.pyd?
I use to develop on linux, but in this moment I need to setup a Zope
server on NT with ZmySQLDA 1.2.0.
On linux I don't have problems to compile _mysqlmodule.so, but on NT
I don't have a compiler nor experience.
Anyone has already compiled _mysql.pyd for NT?
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
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
Title: Q: xml-rpc and zsql
Have anyone experience using zsql methods with xml-rpc?
How do you pass arguments to a zsql mthod with xml-rpc?
Title: Problems using zope as a xml-rpc server
Hello Zopistas,
I'm trying to implement a xml-rpc server with zope.
If I try to retrieve a default index_html from python
with xmlrpclib there is no problem, but if I try to retrieve a dtml
method with a zsql method inside it responds:
13 matches
Mail list logo