[Zope] problems with non ascii char from an xml export

2006-07-21 Thread robert rottermann
hi there, I try to read data from an xml export back into zope. however I have problems with non ascii chars. in the xml pickle I have a string like so: dann \xfcberhaupt den zu \xfcbernehmenden this sems to be an latin1 encoded string. whatever I try I do not get it converted such, that it is

Re: [Zope] problems with non ascii char from an xml export

2006-07-21 Thread Andreas Jung
--On 21. Juli 2006 11:36:20 +0200 robert rottermann [EMAIL PROTECTED] wrote: hi there, I try to read data from an xml export back into zope. however I have problems with non ascii chars. Consider XML export/import (still) to be broken. This had been discussed a bunch of times in the

Re: [Zope] Announcing the release of Zope version 2.8.8

2006-07-21 Thread Maciej Wiśniowski
Zope 2.8.8 Released Is there a Windows version? When trying to do: Python23/python.exe setup.py build I get: error: Python was built with version 6 of Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. With Python23/python.exe

Re: [Zope] default webpage after External Method script executed

2006-07-21 Thread Alan
Thanks a lot for your reply. Both ways worked for me with a little modification, I had to remove 'context'. return self.Status.index_html(**options) return self.REQUEST.RESPONSE.redirect('index_html?submit=ok') Cheers! Alan On 20/07/06, Andreas Jung [EMAIL PROTECTED] wrote: --On 20. Juli

[Zope] Re: Announcing the release of Zope version 2.8.8

2006-07-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maciej Wiśniowski wrote: Zope 2.8.8 Released Is there a Windows version? Nope -- I can't build one. Chris Withers knows how, I think. When trying to do: Python23/python.exe setup.py build I get: error: Python was built with version 6

Re: [Zope] Catalog aware

2006-07-21 Thread Lennart Regebro
On 7/19/06, Garito [EMAIL PROTECTED] wrote: Look at the CatalogAware mixin class. But with this class I could create a new class of PT Catalog aware, isn't it? Yup. I would like to convert a normal PT is this possible?' Yes, with monkeypatches, but really, you don't want to go that way.

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-21 Thread Lennart Regebro
On 7/20/06, Garito [EMAIL PROTECTED] wrote: Ok, a real case: I'm working on a data system (I like the concept data system) for a friend He is Dj for that I want to create a concept like Session Form - A formulator See - Used to view the session on its default view Ask - Used to

[Zope] cant log in using userinit user and logging issue

2006-07-21 Thread Noah
zope-2.8.8 freebsd-4.11 I am setting up zope for the first time and I still cannot log into to zope. I set the username password in the inituser file and placed it in the /usr/local/www/Zope dir I even regenerated the file and still I am not able to get in. is there any logging I can turn

[Zope] Re: cant log in using userinit user and logging issue

2006-07-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah wrote: zope-2.8.8 freebsd-4.11 I am setting up zope for the first time and I still cannot log into to zope. I set the username password in the inituser file and placed it in the /usr/local/www/Zope dir I even regenerated the file and

Re: [Zope] Re: cant log in using userinit user and logging issue [solved]

2006-07-21 Thread Noah
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah wrote: zope-2.8.8 freebsd-4.11 I am setting up zope for the first time and I still cannot log into to zope. I set the username password in the inituser file and placed it in the /usr/local/www/Zope dir I

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-21 Thread Chris Withers
Andreas Jung wrote: security.declareProtected(change_page_templates, 'PUT') def PUT(self, REQUEST, RESPONSE): Handle HTTP PUT requests self.dav__init(REQUEST, RESPONSE) self.dav__simpleifhandler(REQUEST, RESPONSE, refresh=1) ## XXX this should be unicode or

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-21 Thread Chris Withers
Jens Vagelpohl wrote: CMFCore/FSPageTemplate does not do anything special, it defers to the PageTemplate implementation. Yay! *sigh* Uggg... we need something like python's header-at-top-of-file-to-specify-encoding thing, unless we force ZPT source to be XML, in which case we can do the