[Zope] how to modify floder's attribute by script

2006-12-27 Thread nienfeng
I create a folder in ZMI, and add several attributes in it. In the folder, I add a Script that modify the folder's attribute. How should I do? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] how to modify floder's attribute by script

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 16:18:05 +0800 nienfeng [EMAIL PROTECTED] wrote: I create a folder in ZMI, and add several attributes in it. In the folder, I add a Script that modify the folder's attribute. How should I do?

Re: [Zope] how to modify floder's attribute by script

2006-12-27 Thread nienfeng
nienfeng : I create a folder in ZMI, and add several attributes in it. In the folder, I add a Script that modify the folder's attribute. How should I do? I find it : manage_changeProperties() but There are still something I don't know. EX: Email/ (folder), has 3 properties: mTo,

Re: [Zope] processing data problem

2006-12-27 Thread Maciej Wisniowski
As I have mention some of the problem due to both methods I proposed, I wish to aim to build a system that could keep everything web-based and at the same time process the source data on the user's computer instead of send large source file(such as the dbf) back to the server for process. I

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Allen Huang
I know I'm not suppose to use Z Class anymore but I really aren't familiar with make Products yet and I just want to do some quick result before I translate it into a product but it seem that something is different with Z Class in Zope 2.9 and I couldn't make a Z Class like I use to do when I'm

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 03:26:28 -0800 Allen Huang [EMAIL PROTECTED] wrote: I couldn't make a Z Class like I use to do when I'm was using Zope 2.8. Why not? Where is your error description? - -aj -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Jonathan
We have an application, which uses ZClasses, (originally developed in Zope 2.4) that is currently running in Zope 2.9.2, so you should be able to upgrade to Zope 2.9x in order to use python 2.4. Zope 2.10x may cause some problems as CHANGES.txt indicates that ZClasses are deprecated as of

[Zope] setting a title to all objects in a folder?

2006-12-27 Thread siva k
Hello, Absolute newbie to python here. I try to set the SAME title to ALL the files in a zope folder using a python script. The code below is not working... no idea why def setfiletitle(folder,title): myfolder = getFolder(folder) for file in myfolder: setTitle(title)

Re: [Zope] setting a title to all objects in a folder?

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 17:38:21 + siva k [EMAIL PROTECTED] wrote: Hello, Absolute newbie to python here. I try to set the SAME title to ALL the files in a zope folder using a python script. The code below is not working... no idea why

Re: [Zope] zope sql_delimiter windows

2006-12-27 Thread garry saddington
On Sun, 2006-12-24 at 21:00 +0100, Dieter Maurer wrote: garry saddington wrote at 2006-12-23 22:26 +: I have a Zope application that runs perfectly on Linux. However, my target audience is likely to use Windows so I am trying to port my app. to that platform. Whenever I use a multiple

[Zope] How to set MIME types in zope

2006-12-27 Thread Sudesh soni
Forgive my ignorance, I have a question. If I set the 'security' setting in internet options : 'Open files based on content not file extension' to Disable and the try to access a page rendered by python script then I get the following javascript error on the page: This content might not

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Allen Huang
I basicly copy what I have from 2.8 to 2.9 its the same problem with the self generated python constructor and the self constructor that I made both worked in 2.8 but won't for 2.9 my constructor look like this using dtml-with shpTypeClass.createInObjectManager(REQUEST['id'], REQUEST)

[Zope] External Method cPickle Import Module Error

2006-12-27 Thread Sean W. Duffy
Hi, I have upgraded from Zope 2.8.5 to 2.9.4. This currently works in the 2.8.5 instance but not in the 2.9.4. I have a Module Progress in /usr/lib/python2.4/site-packages/Progress containing 4 files: __init__.py __init__.pyc Progress.py Progress.pyc Both instances have calls to

Re: [Zope] External Method cPickle Import Module Error

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 19:44:24 -0600 Sean W. Duffy [EMAIL PROTECTED] wrote: Hi, I have upgraded from Zope 2.8.5 to 2.9.4. This currently works in the 2.8.5 instance but not in the 2.9.4. I have a Module Progress in

Re: [Zope] usering module problem on zope 2.8.8

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 16:12:23 -0800 Allen Huang [EMAIL PROTECTED] wrote: I basicly copy what I have from 2.8 to 2.9 its the same problem with the self generated python constructor and the self constructor that I made both worked in 2.8 but

Re: [Zope] How to set MIME types in zope

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 16:11:15 -0500 Sudesh soni [EMAIL PROTECTED] wrote: Forgive my ignorance, I have a question. If I set the 'security' setting in internet options : 'Open files based on content not file extension' to Disable and

[Zope-dev] Zope Tests: 7 OK

2006-12-27 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Dec 26 12:00:00 2006 UTC to Wed Dec 27 12:00:00 2006 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.6 Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Dec 26 21:14:57 EST 2006

[Zope-DB] Sybase Adapter error :: alternatives?

2006-12-27 Thread Pablo Avalos
Hi guys Sadly I'm stuck here at work with some Sybase DB, and I need to get some info to the intranet plone-site.. I've found the SybDAv2 but it's dead old and doesn't work.. a) Has anyone made it work (recently) b) any alternatives to get connect to a Sybase DB? I really need help here =/

Re: [Zope-DB] Sybase Adapter error :: alternatives?

2006-12-27 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 27. Dezember 2006 11:28:25 -0300 Pablo Avalos [EMAIL PROTECTED] wrote: Hi guys Sadly I'm stuck here at work with some Sybase DB, and I need to get some info to the intranet plone-site.. I've found the SybDAv2 but it's dead old and

Re: [Zope-DB] Sybase Adapter error :: alternatives?

2006-12-27 Thread Jaroslav Lukesh
Use MS*SQL database adapter from object-craft, which use syb*ase as DB connector. googling tip - remove * from string below mss*ql syb*ase zope luk*esh It working fine for Zope 2.5.1, for Zope 2.9.4 and plain python (2.1.3 ... 2.4) too. Regards, JL. - Original Message - From:

Re: [Zope-DB] Re: Sybase Adapter error :: alternatives?

2006-12-27 Thread Jaroslav Lukesh
object-craft have mssql adapter too. And for that adapter exist Zope DA... - Original Message - From: Pablo Avalos [EMAIL PROTECTED] actually I have the object-craft's sybase-python-module (...working) but how do you do to use it as a Zope DB Adapter?? O.o? ? Jaroslav Lukesh

[Zope-DB] Re: Sybase Adapter error :: alternatives?

2006-12-27 Thread Pablo Avalos
Hmm the only Adapter for MS*SQL I see here (http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx) is for windows only... I should have specified the zope server is running Gentoo Linux =/ ? Jaroslav Lukesh escribió: object-craft have mssql adapter too. And for that adapter exist Zope

Re: [Zope-DB] Re: Sybase Adapter error :: alternatives?

2006-12-27 Thread Jaroslav Lukesh
Did you use google for string that I was specified? - Original Message - From: Pablo Avalos [EMAIL PROTECTED] Hmm the only Adapter for MS*SQL I see here (http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx) is for windows only... I should have specified the zope server is

Re: [Zope-DB] Sybase Adapter error :: alternatives?

2006-12-27 Thread Maciej Wisniowski
b) any alternatives to get connect to a Sybase DB? How about mxODBC? There is also SQLRelay that should work with Sybase -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db