[Zope-Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

2006-06-28 Thread Rocky Burt
Log message for revision 68876: OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data). Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/OFS/Image.py U

[Zope-Checkins] SVN: Zope/trunk/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

2006-06-28 Thread Rocky Burt
Log message for revision 68877: OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data). Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/OFS/Image.py U Zope/trunk/lib/python/OFS/tests/testFileAndImage.py

[Zope-Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File updated to use isinstance(data, str) and raises TypeError upon encountering unicode objects.

2006-06-28 Thread Rocky Burt
Log message for revision 68879: OFS Image: Image and File updated to use isinstance(data, str) and raises TypeError upon encountering unicode objects. Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/OFS/Image.py U

[Zope-Checkins] SVN: Zope/trunk/ OFS Image: Image and File updated to use isinstance(data, str) and raises TypeError upon encountering unicode objects.

2006-06-28 Thread Rocky Burt
Log message for revision 68880: OFS Image: Image and File updated to use isinstance(data, str) and raises TypeError upon encountering unicode objects. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/OFS/Image.py U Zope/trunk/lib/python/OFS/tests/testFileAndImage.py

[Zope-dev] Re: [Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

2006-06-28 Thread Florent Guillaume
Has this change been discussed? I don't agree with it. Unicode strings aren't byte strings. File and Image should only work with byte strings. Code dealing with them should always know and assume that they use str. Anything using unicode with them is broken or has done insufficient input

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

2006-06-28 Thread Christian Theune
Florent Guillaume wrote: Has this change been discussed? I don't agree with it. Unicode strings aren't byte strings. File and Image should only work with byte strings. Code dealing with them should always know and assume that they use str. Anything using unicode with them is broken or has done

Re: [Zope-dev] Re: [Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

2006-06-28 Thread Andreas Jung
--On 28. Juni 2006 13:56:58 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Has this change been discussed? I don't agree with it. Unicode strings aren't byte strings. File and Image should only work with byte strings. Code dealing with them should always know and assume that they use str.

Re: [Zope] Improved Zope Org Proposal

2006-06-28 Thread Lennart Regebro
On 6/28/06, Andrew Sawyers [EMAIL PROTECTED] wrote: point. Write the 'Zope product' management software and expose it as a service - put it on the site. [...] No one said bag the collectors. Rewrite http://www.zope.org/Collectors/ to collectors.zope.org and that's done. No writing is gonna

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Jun 2006, at 03:24, Richard Jones wrote: I've got a zopectl script I'm trying to run with the zopectl run command. It crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. I've restarted the

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Richard Jones
On Wednesday 28 June 2006 18:12, Jens Vagelpohl wrote: On 28 Jun 2006, at 03:24, Richard Jones wrote: I've got a zopectl script I'm trying to run with the zopectl run command. It crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. I've

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Jun 2006, at 10:23, Richard Jones wrote: If you're running a script you should tell us what the script does. The script merely modified a bunch of objects in the ZODB. Beyond that, there's not much that I can usefully tell you. I'm

[Zope] wher i can find network device content types to develop network manage system?

2006-06-28 Thread LYNN
zope,hi! can you tell me where i can find the content types that i can use this content type to access network device such as router,switch and others's MIB infomation by snmp and python.i need this kind of content types to develope a network manage sytem based on zope/plone on web.

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Richard Jones
On Wednesday 28 June 2006 18:31, Jens Vagelpohl wrote: Are you using persistent ZEO caches? Those have been known to cause odd symptoms here and there... What do you mean by persistent? I have noticed strange beahviours if I don't remove the caches when I do a full (client + server) restart.

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Jun 2006, at 11:13, Richard Jones wrote: On Wednesday 28 June 2006 18:31, Jens Vagelpohl wrote: Are you using persistent ZEO caches? Those have been known to cause odd symptoms here and there... What do you mean by persistent? I have

Re: [Zope] Improved Zope Org Proposal

2006-06-28 Thread Chris McDonough
On Jun 28, 2006, at 2:40 AM, Lennart Regebro wrote: On 6/28/06, Andrew Sawyers [EMAIL PROTECTED] wrote: point. Write the 'Zope product' management software and expose it as a service - put it on the site. [...] No one said bag the collectors. Rewrite http://www.zope.org/ Collectors/ to

Re: [Zope] Improved Zope Org Proposal

2006-06-28 Thread Lennart Regebro
On 6/28/06, Chris McDonough [EMAIL PROTECTED] wrote: He meant use an Apache rewrite rule, I think. Oh. My excuses in that case. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope

[Zope] attaching an image to an email

2006-06-28 Thread Kate Legere
I'm writing a form which allows the user to send an image attachment with their email... form method=post action=sendPic ENCTYPE=multipart/form-data pAttach: input type=file name=pic.jpg/p pSend to:/p p input type=checkbox name=send_to:list value=[EMAIL PROTECTED] My email /p input

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Dieter Maurer
Richard Jones wrote at 2006-6-28 11:24 +1000: it crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. Usually, a ConflictError does not crash Zope... In the past, I have seen occational ConflictError during product initialization (some bug).

Re: [Zope] storing blob data in SQLServer using ZSQL

2006-06-28 Thread Dieter Maurer
Satchidanand Haridas wrote at 2006-6-27 19:37 -0500: How can I save blob data in SQLServer using ZSQLs? I'm using mxODBC. I have a ZSQL that looks something like this: update table_name set blob_data = dtml-sqlvar i_blob_data type=nb where conditions But I get the following

Re: [Zope] Improved Zope Org Proposal

2006-06-28 Thread Dieter Maurer
Andrew Sawyers wrote at 2006-6-27 22:03 -0400: ... Nearly everyone uses Google to find anything they care about anyhow. I use Google because its search is faster than the one on zope.org *BUT* I restrict it with site:zope.org. Otherwise, I get a few hundred thousand hits more. Sure, they

Re: [Zope] storing blob data in SQLServer using ZSQL

2006-06-28 Thread Jonathan
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] To: Satchidanand Haridas [EMAIL PROTECTED] Cc: zope@zope.org Sent: Wednesday, June 28, 2006 4:10 PM Subject: Re: [Zope] storing blob data in SQLServer using ZSQL Satchidanand Haridas wrote at 2006-6-27 19:37 -0500: How can

Re: [Zope] attaching an image to an email

2006-06-28 Thread Jonathan
- Original Message - From: Kate Legere [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, June 28, 2006 4:05 PM Subject: [Zope] attaching an image to an email I'm writing a form which allows the user to send an image attachment with their email... form method=post action=sendPic

Re: [Zope] attaching an image to an email

2006-06-28 Thread knitti
On 6/28/06, Kate Legere [EMAIL PROTECTED] wrote: I'm writing a form which allows the user to send an image attachment with their email... form method=post action=sendPic ENCTYPE=multipart/form-data pAttach: input type=file name=pic.jpg/p pSend to:/p p input type=checkbox name=send_to:list

Re: [Zope] ConflictError with *one* ZEO client?

2006-06-28 Thread Richard Jones
On Thursday 29 June 2006 06:13, Dieter Maurer wrote: Richard Jones wrote at 2006-6-28 11:24 +1000: it crashes out with a ConflictError even if there are no other ZEO clients connected to the ZEO store. Usually, a ConflictError does not crash Zope... Sure, we requests are retried, but zopectl