[Zope-dev] zopeXMLMethods and Zope 2.7.x

2005-02-16 Thread Francois-regis . Chalaoux





Hi All,

It seems that zopeXMLMethods and Zope 2.7.x do not work correctly together.
In fact, installed xml processors are not visible from ZopeXMLMethods
object in ZMI (blank list). Personaly I use 4Suite 1.0a4 as processor.
Everything work with Zope 2.7.2 but since Zope 2.7.3 every fail.

Have you this problem, solutions ?

I've patched zopeXMLMethods with the december proposition of zope
mailing-list with no succes then the Thread stopped.


FR.

--
Le présent message ainsi que ses éventuelles pièces jointes est
exclusivement destiné au(x) destinataire(s), personnes physiques ou
morales, qu'il désigne.
Il constitue de ce fait une correspondance à caractère privé et peut
contenir des informations confidentielles.
Si ce message vous est parvenu par erreur, nous vous remercions d'en aviser
immédiatement l'expéditeur par retour de courrier électronique puis de le
détruire, ainsi que ses éventuelles pièces jointes, sans en conserver de
copie.


This message, including any attachment, is intended for the use of the
individual or entity to which it is addressed.
It is therefore to be considered as a private correspondence which may
contain confidential information.
If you are not the intended recipient, please advise the sender immediately
by reply e.mail and delete this message and any attachment thereto without
retaining a copy.
--

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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] List of New products

2001-01-10 Thread Francois-regis Chalaoux

It was a great idea to get the list of product sort on date in download zone.
Today appears only categories and product annonced in news.

So, is it a maintenance period or a stable presentation of products ?

FRC.

___
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] INTERBASE cannot do this type of query ?

2000-12-14 Thread Francois-regis Chalaoux

Error, Products.gvibDA.gvib.gvibExceptions.ProgrammingError: - Dynamic SQL Error -- 
SQL error code = -206 -- Column
unknown -- MOUSE 

SQL used:

select IND_SPECIE 
from ZEB_INDIVIDU
where IND_SPECIE = "MOUSE"

___
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] INTEGER manipulation with INTERBASE

2000-12-14 Thread Francois-regis Chalaoux

Hi,

When I query  my db with gvib adaptator I obtain integer value as 1L, 2L !!!
I would like to query the same db with these resulting previous integer but 1L or 2L 
are not understood by an interbase db.

Any solution to transform these strings in integer on the fly or others propositions ?

FR

___
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] Problem with an INTERBASE connection

2000-11-28 Thread Francois-regis Chalaoux

Trying to run a connection with this Database Connection String : 'C:?Program 
Files?Borland?InterBase?examples?Database?employee.gdb sysadm
masterkey', I got the following error : Invalid connection string: 'C:?Program 
Files?Borland?InterBase?examples?Database?employee.gdb sysadm
masterkey'.

where is the bug!?

FRC

___
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] Zope and Websphere

2000-11-21 Thread Francois-regis Chalaoux

Hi,

I have to convince my new boss to use Zope rather than webspere !!
Did somebody compare the two products ??

FRC

___
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] Import class in External method

2000-09-21 Thread Francois-Regis CHALAOUX

Hi,

I had some weeks ago a nice discussion on " Howto import external class in an
external method ".

However, I use now the " http://www.zope.org/Members/4am/instancehome " method
to run my site. This really cool ;)
In these condition, I would like to use something similar to import modules.
If I want import a class placed in **my Zope root** tree the question is :
where to place this module to import it ?

I put my module in " MyZopeRoot/Products/Foo/ " and the call in the external
method is " from Foo.mymodule import * " or " import Foo.mymodule " but
nothing works. I stress I have also created a __init__.py in "
MyZopeRoot/Products/Foo/ " but nothing has changed.

Any track, FR.

  
  
  
  
  
  
  
  
  
  
  
  
  
  

___
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] Render the number of occurrence in a batch

2000-09-01 Thread Francois-Regis CHALAOUX

Hi,

How to render the total number of result coming from the search in a ZCatalog
even if the batch will be render in several sequences ?

Howto render  : "Your search contain  results"

FR.

  
  
  
  
  
  
  
  
  
  
 

___
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] Searching in all field with ZCatalog

2000-08-31 Thread Francois-Regis CHALAOUX

Hi All,

Is it possible to search in all the indexed fields of a ZCatalog with only
**one** input form ?

FR
  
  
  
  
  
  
  
  
   

___
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] Problem with zope mailing list

2000-08-31 Thread Francois-Regis CHALAOUX

Hi All,

Since longtime now I have a problem with the Zope mailing list : 
I always receive, the messages from "[EMAIL PROTECTED] " not from the name
of the right person (for 97% messages) ?
Any idea ?

FR
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

___
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] Objet : Re: [Zope] Searching in all field with ZCatalog

2000-08-31 Thread Francois-Regis CHALAOUX

Hi Chris and All,

No, you asked the right question, scuse me for the error !! 
I would like only one entry in the form to search in all indexed fields.
I like this solution cause it is sometimes difficult for a no regulmar user in
this aera (Protein Data Bank) to question the right field.
In fact I would like create a simple form ;)

FR

 [EMAIL PROTECTED]%internet 31/08/00 12:38:15 
Organization: New Information Paradigms
X-Accept-Language: en
Errors-To: [EMAIL PROTECTED] 
X-Mailman-Version: 1.0b8
Precedence: bulk
List-Id: Users of the Z Object Publishing Environment zope.zope.org
X-BeenThere: [EMAIL PROTECTED] 

Francois-Regis CHALAOUX wrote:
 
 Hi All,
 
 Is it possible to search in all the indexed fields of a ZCatalog with only
 **one** input form ?

Woudl having a field for each index on the one form do it?

cheers,

Chris

___
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 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] Objet : [Zope] How to test if an object exist

2000-08-24 Thread Francois-Regis CHALAOUX

Hi,

Thanks for the details on hasattr function. I learned a lot ;)
In the meantime, I found an other solution. Have a look.

Bye, FR.

Here I create folders in the folder "self.folder1".
Each new folder has a number at its end (folder11, folder12, etc ...).

def testFolder(self):
self=self.this()
sub1=self.folder1
l = ['1','2','3','4']
for i in l:
sub2= "self.folder1" + ".folder1" + i
folder = "folder1" + i
try:
if eval(sub2):
pass
except AttributeError:
sub1.manage_addFolder(folder)
return 'ok'
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 

___
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] How to test if an object exist

2000-08-23 Thread Francois-Regis CHALAOUX

Hi,

In the following code I test if a folder exists. The folder name to test is
generated on the fly and here I try to simultate it with 'exce' function (may
my error). The first time object2create does not exist and object2create is
well created but if run again the script I obtain the following error :

Errot Type: NameError
Error Value: folder1

How to manage this problem ?

FR.

=
CODE
=
def testFolder(self):
self=self.this()
sub1=self.folder1
exec "object2create = 'folder11'"
try:
if sub1.object2create:
return 'Object exists'
except AttributeError:
sub1.manage_addFolder(object2create)
return 'Object created'

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

___
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] Add a folder anywhere from anywhere

2000-08-18 Thread Francois-Regis CHALAOUX

Hi,

USE CASE

How to test if an "idFolder" exist in my "topFolder"?
If the "idFolder" does not exist I would like to add it to "topFolder"

Question
==
Who know why this code in an external method (EM) does not work?

Code

def addFolder(self, idFolder, topFolder):
   self=self.this()
   if not hasattr(topfolder,idFolder):
  self.getattr(self,topFolder).manage_addFolder(idFolder)


PS: How to add a folder anywhere in the ZODB tree with an EM also located
anywhere?

Bye, FR.

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 

___
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] OQL for Zope

2000-08-17 Thread Francois-Regis CHALAOUX

Will Zope.org implement OQL?

FR
  
  
  
  
  
  
  
  
 

___
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] Choose where to create a ZClass instance with EM

2000-08-17 Thread Francois-Regis CHALAOUX

Hi,

When I create a ZClass instance from an external Method I create by default
the instance in the same place where is located my external method (see the
code below).

How to select a different place in my script where will be create the ZClass ?


Code


def addZClass(self,id,data):
   newob=self.Control.Panel.Products.MyProduct.MyClass(id)
   newob.id=id
   newob.propertysheets.Properties.manage_changeProperties(data)
   self._setObject(id,newob)
   newob.reindex_object()


Bye, FR.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  


___
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] Import classes in External method

2000-08-16 Thread Francois-Regis CHALAOUX

Hi,

How to import classes in an External method?

I mean, where to place the module where my class is defined. I tried to put it
in "lib/python/" or "Zope-2-2-0/lib/python/Shared", or in
"/usr/lib/python1.5/" but I always got the same message : 


The errror
===

Error Type: SystemError/STRONGBR
Error Value: Failed to import class myclass from module __main__ 

mycode
==

import module_of_class

def useClass(self):
foo = module_of_class.myclass()


Bye, FR.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 

___
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] ZScheduler-0.0.6 problem

2000-06-21 Thread Francois-Regis CHALAOUX

Hi,

I have just tested ZScheduler-0.0.6 on NT machine : it works : On my Linux
machine it does not work :
Thus, the code is NT dependant or the archive works on NT only !!!???

FR

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

___
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] ZScheduler-0.0.5 problem

2000-06-19 Thread Francois-Regis CHALAOUX

Hi,

1/ I'm Trying to use ZScheduler-0.0.5 on Linux 6.1, I386, Zope-2.1.7.
Just after to install the product I cannot start Zope !!!

2/ There is also an archive problem when I extract the file from
ZScheduler-0.0.5.tgz :

srchocolat 138% tar xvzf ZScheduler-0-0-5.tgz
lib/python/Products/ZScheduler/
lib/python/Products/ZScheduler/__init__.py
lib/python/Products/ZScheduler/addOneTimeZEvent.dtml
lib/python/Products/ZScheduler/README.txt
lib/python/Products/ZScheduler/CHANGES.txt
lib/python/Products/ZScheduler/ZSchedule.py
lib/python/Products/ZScheduler/version.txt
lib/python/Products/ZScheduler/ZEvent.py
lib/python/Products/ZScheduler/Loggerr.py
lib/python/Products/ZScheduler/Dispatcher.py
lib/python/Products/ZScheduler/documentEdit.dtml
lib/python/Products/ZScheduler/scheduleView.dtml
lib/python/Products/ZScheduler/www/
lib/python/Products/ZScheduler/www/OneTimeZEvent.gif
lib/python/Products/ZScheduler/www/RecurringZEvent.gif
lib/python/Products/ZScheduler/www/ZSchedule.gif

gzip: stdin: decompression OK, trailing garbage ignored
tar: Le processus enfant a retourné le statut 2
tar: Statut d'erreur reporté d'erreurs précédentes.
srchocolat 139% 

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

___
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] ZClass and class variable

2000-06-05 Thread Francois-Regis CHALAOUX

Hi all,

Is it possible to declare a class variable in a Zclass?
And if yes, how to call this variable in class ZClass methodes?

Bye, FR.
  
  
  
  
  
  
  
  
  


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