[Zope3-Users] Zope3-3.1.0c1.tgz & OpenBSD 3.7

2005-08-10 Thread Philippe Nenert
Hello the list, I would say my experience to install Zope3 on a Obsd box. Please be indulgent, my english is very bad -) Ok, go on : I take a old Dell PC about 1 Ghz and 256 Mo RAM Install OpenBSD 3.7 and install Zope zope-2.7.4 package this install python-2.3.5 packages I will try Zope3 : I do

Re: [Zope3-Users] Zope3-3.1.0c1.tgz & OpenBSD 3.7

2005-08-10 Thread Benji York
Philippe Nenert wrote: I would say my experience to install Zope3 on a Obsd box. Please be indulgent, my english is very bad -) No problem, just be indulgent with me. :) I take a old Dell PC about 1 Ghz and 256 Mo RAM It looks like everything worked fine... /usr/local/src/Zope-3.10c1$ ma

[Zope3-Users] To Subclass, or to Adapt?

2005-08-10 Thread James Allwyn
Hello list, We are in the process of building a web service for the local University, to allow accommodation to be listed, and students to search for it. I’ve hit a conceptual stumbling block about how we should be proceeding with arranging this. So far we have built a system with IProperty and

Re: [Zope3-Users] To Subclass, or to Adapt?

2005-08-10 Thread Stephan Richter
On Wednesday 10 August 2005 14:01, James Allwyn wrote: > I would appreciate any guidance on what the > recommended Zope3-ish way of handling this would be. I > feel the options are either to create a generic > IProperty object, and subclass it to IHouse, > ICateredHall, ISelfCateredHall, IHomeStay,

Re: [Zope3-Users] Everything printing as ASCII?

2005-08-10 Thread Stephan Richter
On Tuesday 09 August 2005 14:17, Alec Munro wrote: > I've been having some unicode troubles, so I put a print statement in > the StringIO class, and it seems that everything is type 'str', rather > than unicode. Is this how it is supposed to be? cStringIO only supports str, not unicode. Use String

[Zope3-Users] resized images

2005-08-10 Thread z3uml
Hi all, I'd like to add images to an container but want them to be resized with PIL. I assume I need a custom factory for that that sizes the image before creating the content type. The question I have is that I'm not sure if I can create a custom factory for the already existing image content ty

Re: [Zope3-Users] Everything printing as ASCII?

2005-08-10 Thread Alec Munro
I think it was using StringIO. My default python encoding was ASCII, so I changed that, and it ended up solving my problems, so I haven't looked further into this, but I assume that while all of the pieces were unicode to start with, Python was converting some of them to ASCII earlier on. I believe