[Zope] Multilingual content class with LocalPropertyManager

2005-09-06 Thread Dragos Chirila
Hi I want to build a multilingual content class with LocalPropertyManager from the Localizer product. Also, my class extends the File class, something like: class MClass(LocalPropertyManager, File): title = LocalProperty('title') description = LocalProperty('description') def

Re: [Zope] Character set problems

2005-09-09 Thread Dragos Chirila
Hi Here are some things you can do to handle your problem. For me, this approach worked just fine. 1. Your HTML pages must have set the encoding to utf-8. Put this in the HEAD tag of your html pages: meta http-equiv=Content-Type content=text/html; charset=utf-8 / 2. For the Root

Re: [Zope] batching help

2005-12-15 Thread Dragos Chirila
___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dragos Chirila

[Zope] changing the meta_type for python product class

2006-12-06 Thread Dragos Chirila
Hi everybody, I am stuck with the following problem for witch I don't have a solution. I would appreciate it very much if you could help me with it. I have a very simple Python product with only one class that extends Folder. The name of the product is MyClass and the MyClass.py module is

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Dragos Chirila
maybe you can try to add new lines l_errorMessage = l_errorMessage + %s\n % (ID) regards, Dragos On 12/6/06, April Lekin [EMAIL PROTECTED] wrote: In Python I'm building this error message: l_errorMessage = These IDs have Errors Loop l_errorMessage = l_errorMessage + %s % (ID) end loop

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Dragos Chirila
) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Dragos Chirila [EMAIL PROTECTED] (+4

Re: [Zope] changing the meta_type for python product class

2006-12-06 Thread Dragos Chirila
for the meta_type property. Thank you very much once again for taking time to consider my problem. Regards, Dragos. On 12/6/06, Dieter Maurer [EMAIL PROTECTED] wrote: Dragos Chirila wrote at 2006-12-6 15:48 +0200: ... What I am trying to accomplish is to be able to change the meta_type value

[Zope] metal:fill-slot and tal:condition

2007-02-22 Thread Dragos Chirila
Hi everybody, I am stuck with the following problem. I would appreciate it very much if you could help me with it. So I have a ZPT where a macro is defined with several slots; one of the slots like below: tal:block metal:define-slot=slot_issue SLOT DEFAULT CONTENT /tal:block The

[Zope] BTreeFolder2 related

2008-01-17 Thread Dragos Chirila
Hi, What is the best way to delete all the objects inside an object derived from BTreeFolder2? Thank you very much, Dragos -- Dragos Chirila [EMAIL PROTECTED] (+4) 0722 395375 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

[Zope] ExtFile 1.5.6 bug

2008-03-25 Thread Dragos Chirila
this? Thank you very much, Dragos -- Dragos Chirila [EMAIL PROTECTED] (+4) 0722 395375 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

[Zope] strange database read conflict error

2009-08-28 Thread Dragos Chirila
conflicts only for this object and for no other of the same type, even in the same folder... Thank you, Dragos Chirila ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] strange database read conflict error

2009-08-28 Thread Dragos Chirila
will say, piss off! ...for a while and come back later. So it comes back later and works fine. Are you using lots of AJAX requests? That can sometimes cause read conflict errors. 2009/8/28 Dragos Chirila objectval...@gmail.com: Hello everyone, I have a question regarding a database read conflict

Re: [Zope] strange database read conflict error

2009-08-28 Thread Dragos Chirila
Dragos Chirila objectval...@gmail.com: Peter, Than you for your response. Please find below a few things: - I give up using sessions in the website's front and years ago :) There is only one page left that is using them, when u subscribe to our newsletter but I don't think that this affects

Re: [Zope] strange database read conflict error

2009-08-28 Thread Dragos Chirila
and then packed it. Conflicts stopped. After I have created a new object and rename it with the old id the conflicts showed up again... Thanks, Dragos On Fri, Aug 28, 2009 at 2:37 PM, Peter Bengtssonpete...@gmail.com wrote: 2009/8/28 Dragos Chirila objectval...@gmail.com: Peter, Than you for your

[Zope] Get raw data (byte array) from flash in Zope

2009-11-25 Thread Dragos Chirila
on the production environment - Zope 2.11.4 with ZEO (pound and apache in the front of zope as load balancer and web server). Is there a way to solve this problem? Any idea is highly appreciated. Thank you very much, Dragos -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375

Re: [Zope] Get raw data (byte array) from flash in Zope

2009-11-25 Thread Dragos Chirila
Doesn't work: AttributeError: BODYFILE On Wed, Nov 25, 2009 at 1:59 PM, Stefan H. Holek ste...@epy.co.at wrote: Try REQUEST.BODYFILE On 25.11.2009, at 12:30, Dragos Chirila wrote: The question is: how can I get this data on the server side in Zope? Becasue: - REQUEST.form is empty

Re: [Zope] Get raw data (byte array) from flash in Zope

2009-11-25 Thread Dragos Chirila
The data is actually received by Zope, but its broken into pieces. Please find a sample of the REQUEST.form here http://media.fourhooks.ro/request_form.jpg Any hints on how to put the image back together? On Wed, Nov 25, 2009 at 4:58 PM, Dragos Chirila objectval...@gmail.com wrote: Doesn't

Re: [Zope] Get raw data (byte array) from flash in Zope

2009-11-28 Thread Dragos Chirila
PM, Dragos Chirila objectval...@gmail.com wrote: The data is actually received by Zope, but its broken into pieces. Please find a sample of the REQUEST.form here http://media.fourhooks.ro/request_form.jpg Any hints on how to put the image back together? On Wed, Nov 25, 2009 at 4:58 PM

[Zope] zope2 2.12 installation on Windows 7

2010-09-08 Thread Dragos Chirila
product or python package, just using the zope2 installation. I will appreciate any hints or ideas on this problem. Thank you very much, Dragos -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375 ___ Zope maillist - Zope@zope.org https

Re: [Zope] zope2 2.12 installation on Windows 7

2010-09-08 Thread Dragos Chirila
Hi Tres, I have upgraded to 2.12.10 and everything works great! Thank you very much, Dragos On Wed, Sep 8, 2010 at 2:36 PM, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dragos Chirila wrote: Hi everybody, I'm having some problems when I have

[Zope] Strange Cut/Paste or Copy/Paste or Import/Export behavior

2011-06-01 Thread Dragos Chirila
, in getProperty AttributeError: comments Am I doing something wrong? Any idea is highly appreciated. Thank you very much, Dragos -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375 ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman

Re: [Zope] charset problems (utf-8)

2012-02-06 Thread Dragos Chirila
://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev ) -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375 ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] zeo clients not synchronized, modifications not shown

2015-11-05 Thread Dragos Chirila
com> wrote: > > > On 11/5/15 12:29 PM, Dragos Chirila wrote: > > My impression is that the save itself is handled by lets say client1 > > and then the redirect and render of the edit page by a different one - > > client2. > I don't know what is going on, but let m

Re: [Zope-dev] Zope 2.12.0 released

2009-10-05 Thread Dragos Chirila
://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope ) -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Zope 2.12.0 released

2009-10-05 Thread Dragos Chirila
start because of a Python error: NameError: name 'OverflowWarning' is not defined Thank you very much, Dragos On Mon, Oct 5, 2009 at 11:49 AM, Chris Withers ch...@simplistix.co.uk wrote: Dragos Chirila wrote: Hi, I have tried to install it on an windows: the egg for python 2.4 works

Re: [Zope-dev] Zope 2.12.0 released

2009-10-05 Thread Dragos Chirila
...@simplistix.co.uk wrote: Dragos Chirila wrote: Hi Chris, The installation worked smoothly. Still, I had to modify something in the site-packages\zope\interface\common\interfaces.py file : try: classImplements(OverflowWarning, IOverflowWarning) except NameError: pass # OverflowWarning

Re: [Zope-dev] Zope 2.12.0 released

2009-10-05 Thread Dragos Chirila
Chris, You were right; I tried on a fresh Python 2.6.3 installation and it worked - Zope instance started without errors. Dragos On Mon, Oct 5, 2009 at 12:43 PM, Chris Withers ch...@simplistix.co.uk wrote: Dragos Chirila wrote: I took the steps: - installed Python 2.6.2 - downloaded Zope2

Re: [Zope-dev] ZEO TempStorage: Odd behavior on ZEO restart

2010-07-15 Thread Dragos Chirila
lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope ) -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo

[Zope-dev] Strange Cut/Paste or Copy/Paste or Import/Export behavior

2011-06-01 Thread Dragos Chirila
, in getProperty AttributeError: comments Am I doing something wrong? Any idea is highly appreciated. Thank you very much, Dragos -- Dragos Chirila objectval...@gmail.com (+4) 0722 395375 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org