Re: [Zope] Zope Digest, Vol 101, Issue 4

2012-11-12 Thread Yuri
I think an official statement about this topic should appear somewhere, shouldn't? Il 12/11/2012 13:00, zope-requ...@zope.org ha scritto: You can just apply the Plone hotfix for Zope only installations. The Plone patches are not applied then. Johannes On 11/11/2012 06:32 PM, Marcus Schopen

Re: [Zope] Zope Digest, Vol 98, Issue 1

2012-08-27 Thread Yuri
http://plone.org/documentation/kb/catalog-anything Il 03/08/2012 14:00, zope-requ...@zope.org ha scritto: Send Zope mailing list submissions to zope@zope.org To subscribe or unsubscribe via the World Wide Web, visit https://mail.zope.org/mailman/listinfo/zope or, via email,

Re: [Zope] Zope Digest, Vol 95, Issue 1

2012-04-05 Thread Yuri
Il 05/04/2012 14:18, Stefan Loidl ha scritto: I'm using a workaround similar to that in the bug report in my environment (Zope 2.13.13 and a mixture of utf-8 and iso8859). Without the workaround the issue does still occur for me. can you send me your workaround? Maybe it can help :P My

Re: [Zope] Zope Digest, Vol 95, Issue 1

2012-04-04 Thread Yuri
Hi Yuri, does this error occur with all browsers? Yes, unfortunately. I once had a similar issue that was caused only by some browsers because they do not send a HTTP_ACCEPT_CHARSET header. Maybe the following bug reports helps you in solving the issue: https://bugs.launchpad.net/zope2

[Zope] UnicodeDecodeError

2012-04-03 Thread Yuri
Hi! I've an Zope application, basically postgres + zpt. The postgres db has been upgraded to 8.5, the data inside is utf-8 (dumped and checkd it), the pg adapeter is the latest, and the *Z Psycopg 2 Database Connection is configured to use utf-8.* Zope is 2.12.20 + latest security fix.

[Zope] missing info on vulnerability

2012-01-30 Thread Yuri
Hi all! the zope2.zope.org page miss any info about this vulnerability: http://permalink.gmane.org/gmane.comp.web.zope.announce/1513 ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] force the output encoding to utf-8 in page templates

2011-11-15 Thread Yuri
Il 15/11/2011 08:10, Andreas Jung ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should be able to set the encoding of the response by tal:def define=dummy python: request.RESPONSE.setHeader('content-type', 'text/html; charset=utf-8') / within your page template. tal:def

Re: [Zope] force the output encoding to utf-8 in page templates

2011-11-14 Thread Yuri
Il 11/11/2011 13:40, mor...@nidelven-it.no ha scritto: On Fri, 11 Nov 2011 12:56:30 +0100, Yuriy...@alfa.it wrote: Il 11/11/2011 12:43, Yuri ha scritto: Hi all! I've a Zope2 application with Postgresql. All is ok and utf-8 but page templates. This means that non utf-8 data is sent

[Zope] force the output encoding to utf-8 in page templates

2011-11-11 Thread Yuri
Hi all! I've a Zope2 application with Postgresql. All is ok and utf-8 but page templates. This means that non utf-8 data is sent to the database, and the database complain with: *Error Type: DataError* *Error Value: invalid byte sequence for encoding UTF8: 0xe82527 HINT: This error can also

Re: [Zope] force the output encoding to utf-8 in page templates

2011-11-11 Thread Yuri
Il 11/11/2011 12:43, Yuri ha scritto: Hi all! I've a Zope2 application with Postgresql. All is ok and utf-8 but page templates. This means that non utf-8 data is sent to the database, and the database complain with: *Error Type: DataError* *Error Value: invalid byte sequence

Re: [Zope] Zope Digest, Vol 78, Issue 13

2010-11-30 Thread Yuri
Il 29/11/2010 18:00, zope-requ...@zope.org ha scritto: I have downloaded openflow from http://www.openflowswitch.org/wp/downloads/. I think I have downloaded the wrong ?OpenFlow? software. http://web.archive.org/web/20060509094718/www.openflow.it/wwwopenflow/EN/Download/index_html you

Re: [Zope] Zope Digest, Vol 74, Issue 1

2010-07-14 Thread Yuri
I think what the senior developers react to here isn't the particular choice. You could have written Vim is preferred and people would still think: Do they want me to write with my left or right hand or do they want me to get the job done. Anyway, best of luck Marco! If they work

[Zope] question about copyng btree elements

2009-12-16 Thread Yuri
Hi! I've a Zope BTree called answers. It contains PersistentMapping objects: self.answers[userid] = PersistentMapping(value=value, comments=comments) value can be a string, a list or a dictionary what happen exactly if I do:

Re: [Zope] Zope Digest, Vol 61, Issue 14

2009-06-26 Thread Yuri
Hi list I have 2 templates, in second template I need render a span only when the first template have defined a variable. template1: ul tal:define=var1 python:1 li tal:replace=structure conext/template2/li li tal:replace=structure python:context.template2(var1 =var1)/li li

Re: [Zope] find zodb object sizes

2008-10-21 Thread Yuri
Andreas Jung ha scritto: On 20.10.2008 17:46 Uhr, Yuri wrote: Hi! I would like to run a script to see what objects size is, printing the zodb path. analize.py gives me a floating point division error, so I would like to ask if there's a simpler way to see what there's inside the ZODB

[Zope] find zodb object sizes

2008-10-20 Thread Yuri
Hi! I would like to run a script to see what objects size is, printing the zodb path. analize.py gives me a floating point division error, so I would like to ask if there's a simpler way to see what there's inside the ZODB. Thanks. ___ Zope

Re: [Zope] Re: [Plone-developers] the grand reunion

2008-04-14 Thread Yuri
, Raphael hi yuri, when setting up a zope/zeo task and everything was still a bit of a challenge (at least to me) we tended to have everything in one big instance that served some 20 low traffic sites. since then setting up a site with all the tools it needs has become a trivially easy

[Zope] the grand reunion

2008-04-11 Thread Yuri
Hi! Actually I've two Plone working envinronment and one zope, each in a different machine: - one, with two zope 2.9 istances (one for developing), running both multiple Plone 2.5 instances - one, with zope 2.9, running multiple Plone 2.5 instances - one, with zope 2.7.9, running zope only

Re: [Zope] default-zpublisher-encoding and zpt encoding

2008-04-08 Thread Yuri
Yuri wrote: --On 2. April 2008 15:59:58 +0200 Yuri [EMAIL PROTECTED] wrote: default-zpublisher-encoding in zope.conf seems not to work in zope 2.7.9, the server response don't set any charset. While: head tal:define=dummy python:request.RESPONSE.setHeader('Content-Type','text/html

[Zope] default-zpublisher-encoding and zpt encoding

2008-04-02 Thread Yuri
default-zpublisher-encoding in zope.conf seems not to work in zope 2.7.9, the server response don't set any charset. While: head tal:define=dummy python:request.RESPONSE.setHeader('Content-Type','text/html;; charset=ISO-8859-1') works, and the characters are displayed ok. But I cannot

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-27 Thread Yuri
Dieter Maurer wrote: Yuri wrote at 2008-3-26 11:19 +0100: I've got a trouble importing a ZClass app to 2.9.8 from 2.6.1. First, I've tried 2.8, and it worked but had the __new__ problem, so I've seen it is fixed in 2.9.8. After the upgrade, all seemed to work. My ZClass is a container

[Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Yuri
Hi! I've got a trouble importing a ZClass app to 2.9.8 from 2.6.1. First, I've tried 2.8, and it worked but had the __new__ problem, so I've seen it is fixed in 2.9.8. After the upgrade, all seemed to work. My ZClass is a container (with ExtFile). I've been able to create a new instance,

[Zope] ZClass problem again when zope restarts

2008-03-26 Thread Yuri
Hi! redoing the process of upgrading, it has worked again. When I restart it with zopectl fg, it gives back the same error again. So there's something in the startup process which creates problem. It seems like something don't get written in the zodb, could be?

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Yuri
On Mar 26, 2008, at 11:19 , Yuri wrote: Hi! I've got a trouble importing a ZClass app to 2.9.8 from 2.6.1. IMHO you're not investing your time wisely trying to make a ZClas application work on a later Zope version. They're unsupported and dead. I would keep the old setup running

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Yuri
Yuri wrote: On Mar 26, 2008, at 11:19 , Yuri wrote: Hi! I've got a trouble importing a ZClass app to 2.9.8 from 2.6.1. IMHO you're not investing your time wisely trying to make a ZClas application work on a later Zope version. They're unsupported and dead. I would keep the old

[Zope] Configurare un virtual host con zope/plone, wizard web

2008-03-10 Thread Yuri
http://betabug.ch/zope/witch :) ___ 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

[Zope] define a class in a python script

2008-03-05 Thread Yuri
Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). So I've done: class Autore: classe per il catalogo def set_autore(self, autore=''): setta l'autore

Re: [Zope] define a class in a python script

2008-03-05 Thread Yuri
Tino Wildenhain wrote: Yuri wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). Its not possible in Python Scripts. You would need to write either an external method

Re: [Zope] define a class in a python script

2008-03-05 Thread Yuri
Tino Wildenhain wrote: Yuri wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). Its not possible in Python Scripts. You would need to write either an external method

Re: [Zope] define a class in a python script

2008-03-05 Thread Yuri
Andreas Jung wrote: --On 5. März 2008 10:21:32 +0100 Yuri [EMAIL PROTECTED] wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). This is basically bad-style. Define

Re: [Zope] define a class in a python script

2008-03-05 Thread Yuri
Andreas Jung wrote: --On 5. März 2008 10:21:32 +0100 Yuri [EMAIL PROTECTED] wrote: Hi, all! I would like to define a class inside a python script (so I can catalog it and use catalog to store info, as the tutorial about catalog everything suggests). This is basically bad-style. Define

[Zope] Re: Zope Digest, Vol 45, Issue 25

2008-02-28 Thread Yuri
[EMAIL PROTECTED] wrote: I want to be able to have a zope site entirely in the file system with no ZODB, so I can keep it in subversion, and use normal things like grep, patch and sed to apply changes to the whole codebase. You can do this with zope 2 but you can also allow user

[Zope] transactional mail server for zope 2.7

2008-01-03 Thread Yuri
Hi all! Is there a transactional mail server for zope 2.7. I mean, if some transaction fail, it will not send the mail... ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] transactional mail server for zope 2.7

2008-01-03 Thread Yuri
Andreas Jung wrote: --On 3. Januar 2008 11:25:25 +0100 Yuri [EMAIL PROTECTED] wrote: Hi all! Is there a transactional mail server for zope 2.7. I mean, if some transaction fail, it will not send the mail... MailDropHost is a well-known secret. -aj Can I replace the standard mailhost

[Zope] Re: Zope Digest, Vol 43, Issue 10

2007-12-13 Thread Yuri
Appending data would require the manipulation of the linked list of Pdata elements. There is no API for this available...so basically forget it. I figured it'd be a lot more obvious if it was possible. Ah well. Thanks -J In this case, just use an external method to manipulate a fs

[Zope] Re: Frustrated with Python and Frameworks. Zope

2007-12-05 Thread Yuri
Some sort of rating system and comments about Zope products would be nice; like Joomla does with its extensions. For example: http://extensions.joomla.org/component/option,com_mtree/task,viewlink/lin k_id,1508/Itemid,35/ I can't say how much time I have wasted investigating dead-end or

[Zope] from sparc to i386

2007-07-31 Thread Yuri
Hi all! I've an old zope server running 2.6 on an old sparc. We are going to replace it, so I need to move the Zope thing. The problem is that that Zope server is compiled in sparc and I've made some modification to the source code, so I can't just move it on another machine (including the

[Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

2007-05-25 Thread Yuri
I've an application in Zope. A user see this message when he try to submit a form. I've tried myself with his account and I had no error. I'm using OpenFlow, if it matters. The user is never sent to the openflow instance, so I don't understand how he tries to request this url. Can be a

Re: [Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

2007-05-25 Thread Yuri
Andreas Jung wrote: --On 25. Mai 2007 10:48:04 +0200 Yuri [EMAIL PROTECTED] wrote: I've an application in Zope. A user see this message when he try to submit a form. I've tried myself with his account and I had no error. Unauthorized: You are not allowed to access 'manage_page_header

[Zope] emulate a sequence

2007-02-08 Thread Yuri
Hi! I need a field in zope object which act as a sequence. I mean every time I create an object, the value is the previous sequence value of the last object created + 1. also I need to browse the objects by sequence (from the object 1 to the last, by the sequence number) I think I need a

[Zope] optimize old code

2007-01-17 Thread Yuri
Hi! I've an old product, based on zclass and zope 2.6, I would like to optimize (as possibile) the insert and cataloging of a zclass. Now I use this scripts: form that creates the request - -- dtml-let ut=_.SecurityGetUser().getUserName() dtml-with manage_addProduct['Dafne'] dtml-with

Re: [Zope] optimize old code

2007-01-17 Thread Yuri
Andreas Jung wrote: --On 17. Januar 2007 09:24:34 +0100 Yuri [EMAIL PROTECTED] wrote: Hi! I've an old product, based on zclass and zope 2.6, I would like to optimize (as possibile) the insert and cataloging of a zclass. Put your stuff inside a PythonScript. All API methods can be called

[Zope] a question about aq_base

2006-11-28 Thread Yuri
Hi! here: http://docs.neuroinf.de/programming-plone/ate we can read: obj = brain.getObject().aq_base why .aq_base and not only brain.getObject()? :) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] help performance

2006-11-24 Thread Yuri
Jonathan wrote: - Original Message - From: Yuri [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, November 23, 2006 11:07 AM Subject: [Zope] help performance Hi! I've an old machine with zope 2.6 with an application based on ZClass. Now, updating 4000 record takes ages (more than

Re: [Zope] help performance

2006-11-24 Thread Yuri
Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 23. November 2006 17:07:39 +0100 Yuri [EMAIL PROTECTED] wrote: Hi! I've an old machine with zope 2.6 with an application based on ZClass. Now, updating 4000 record takes ages (more than an hour...), basically

Re: [Zope] help performance

2006-11-24 Thread Yuri
Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 24. November 2006 11:20:39 +0100 Andreas Jung [EMAIL PROTECTED] wrote: ZopeProfiler will tell you about bottlenecks. Doesn't work in zope 2.6 based on python 2.1 :( Try CallProfiler

Re: [Zope] help performance

2006-11-24 Thread Yuri
Martijn Pieters wrote: On 11/24/06, Yuri [EMAIL PROTECTED] wrote: and *enable* subtransactions! When I have a transaction wich takes almost 1 sec, I don't think it will change anything :) I'll try CallProfiler :) Did you try? Subtransactions are not the same as transactions

[Fwd: Re: [Zope] help performance]

2006-11-24 Thread Yuri
Martijn Pieters wrote: On 11/24/06, Yuri [EMAIL PROTECTED] wrote: and *enable* subtransactions! When I have a transaction wich takes almost 1 sec, I don't think it will change anything :) I'll try CallProfiler :) Did you try? Subtransactions are not the same as transactions

Re: [Fwd: Re: [Zope] help performance]

2006-11-24 Thread Yuri
Martijn Pieters wrote: On 11/24/06, Yuri [EMAIL PROTECTED] wrote: 8.7971 was the time without subtransactions, 2.3 with. Ops... -.- Indeed. And if you tweak the threshold as Jonathan suggested, you could even get it lower. Just to clarify, 2.3 sec is the time to insert only one object

[Zope] help performance

2006-11-23 Thread Yuri
Hi! I've an old machine with zope 2.6 with an application based on ZClass. Now, updating 4000 record takes ages (more than an hour...), basically it is a propertysheet update + recatalog of every object of 4000. Can I have significative performance upgrade changing something in the code

[Zope] Split a ZODB

2005-07-28 Thread Yuri
Hi! How can I split a Zodb? I mean, I have a big folder which I would like to became a separate ZODB file to mount on the main one. In unix I would move all the files of that folder on another partition, then mount it on that folder. ___ Zope

Re: [Zope] Split a ZODB

2005-07-28 Thread Yuri
Lennart Regebro wrote: On 7/28/05, Yuri [EMAIL PROTECTED] wrote: Hi! How can I split a Zodb? I mean, I have a big folder which I would like to became a separate ZODB file Well, I suspect the simplest way is to copy the ZODB and delete everything that shouldn't be in it. Export

Re: [Zope] Pre-indexing filter and accented letters (mostly solved)

2005-06-16 Thread Yuri
ZCTextindex to search and catalog accented words as non accented. - Step 1 Add to Lexicon.py (around line 190) this code, which filters the things in the pipeline: --- class RemoveAccented: def filter_word(self, w): filter the non ascii letters to ascii # trasformo la

[Zope] zope, latin-1 and accented words

2005-06-14 Thread Yuri
How could I can tell the Splitter of ZCText intedex to not split words as aaaèbbb in aaa and bbb? I would like to tell zope that è,à and so on are alphanumeric letters... In Splitter.c I have: class Splitter: import re rx = re.compile(r(?L)\w+) ?L match as the locale, but I have

Re: [Zope] Pre-indexing filter and accented letters

2005-06-08 Thread Yuri
Dieter Maurer ha scritto: Yuri wrote at 2005-6-7 10:37 +0200: ... Implement a PythonScript that performs the normalization of context.SearchableText(), say NormalizedSearchableText. Ensure, it is acquirable by your indexed objects. Index NormalizedSearchableText rather than

[Zope] Re: zope 2.7: Unauthorized in this context

2005-06-08 Thread Yuri
Use 2.7.5 or 2.7.6, before you would have problems with ZClasses... I had the same problem :) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Pre-indexing filter and accented letters

2005-06-07 Thread Yuri
Dieter Maurer ha scritto: Yuri wrote at 2005-6-6 11:56 +0200: I would like to index a text property of an object in the ZCatalog. The text is in French language, but I have a problem: I have to find results for the related non accented letters! I mean, If I do a search for actualite

[Zope] Pre-indexing filter and accented letters

2005-06-06 Thread Yuri
I would like to index a text property of an object in the ZCatalog. The text is in French language, but I have a problem: I have to find results for the related non accented letters! I mean, If I do a search for actualite, the index should return also the object which text contains

[Zope] zmi issues

2005-05-19 Thread Yuri
Hi! I'm doing an import of a large .zexp (from ZMI), and I see thay Zope is first loading it all in memory, than doing the work of importing it! I mean, isn't it a little bit *inefficient? :) Also, renaming a folder with a lot of zclasses in (40.000), takes a lot of time. After 10 minutes, it

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-07 Thread Yuri
Re: [Zope] Does anyone care whether we deprecate ZClasses? To: [EMAIL PROTECTED] Cc: zope@zope.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Jonathan Cyr wrote at 2005-4-6 16:06 -0400: ... just show me how under-represented that beginner and intermediate Zope

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-04 Thread Yuri
Yes, but BEFORE do a tool to convert them in a python product or archetype similar, a tool to change base classes, a tool to convert a zclass based on catagaware to one based on catalogPATHaware, or merge the two. Or you just deprecate something that is used and don't deprecate some code that

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-04 Thread Yuri
Andreas Jung ha scritto: --On Montag, 4. April 2005 9:58 Uhr +0200 Yuri [EMAIL PROTECTED] wrote: Yes, but BEFORE do a tool to convert them in a python product or archetype similar, a tool to change base classes, a tool to convert a zclass based on catagaware to one based on catalogPATHaware