Re: [Zope-dev] September bugday
Hi there, On 08/24/2010 05:34 PM, Christian Theune wrote: > Hi, > > and here's the Doodle for the next bug day. > > I've moved it further away than 4 weeks as many people seem to join us > at the summit and the conference and we figured we don't want this to > overlap and give people a quiet week afterwards. > > http://doodle.com/ntqpvpcaxdwus352 > > Hope to see you there! I'd like to close the poll soonish (read: tonight), so if you haven't added your name and intend to participate, please add your preferred dates for the bug day! Christian -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
Hi, On 08/24/2010 09:15 AM, Christian Theune wrote: > Hi again, > > our weekly meeting is coming up today at 15:00 UTC. Last week we talked about the bug day and found that although we had quite a lot of people subscribe only 2 seemed to have worked on the bug day (at least only 2 responded to the report request). Mostly people seemed to have been rushed by customer requests and did have the intention to actually join, so we'll just continue with the next bug day regularly. We also talked about buildbot organization: consistently calling the in-development version of packages 'dev' (instead of trunk), Patrick showed some experimental aggregagtor code for a live buildbot status overview and Christian received the code for the nightly test result aggregator. Details are, as always, here: http://docs.zope.org/zopetoolkit/zope-dev/zope-dev-20100824.html Christian -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Developer meeting today at 15:00 UTC
Hi again, our weekly meeting is coming up today at 15:00 UTC. I'd like to catch up with topics that have been in limbo for a while: - Supporting Python 2.7 - Abandoned projects - Windows compiler licenses Does anybody else have other topics? Christian -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
Hi. On Tue, Aug 31, 2010 at 10:23 AM, Christian Theune wrote: > our weekly meeting is coming up today at 15:00 UTC. I won't make it to todays meeting, so some notes upfront. > - Supporting Python 2.7 I thought the current plan is to try to support Python 2.7 for ZTK 1.1 (which will then be Python 2.5 - 2.7). Currently 1.0 beta is still blocked on test issues. Before we don't get these tests fixed, there is no point in branching off the ZTK trunk to a 1.0 branch and allowing feature development to happen. If we cannot get the tests fixed on the current list of supported systems, adding whole new ZTK version set will only make matters much worse. Of course everyone is free to tackle Python 2.7 compatibility for any distribution individually. I think it's only zope.app distributions that have problems here. > - Windows compiler licenses After much hassle and some friendly support folks at Microsoft I finally received my license. Hanno ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] zope.app.appsetup and RootErrorReportingUtility
On 08/30/2010 03:01 PM, Adam GROSZER wrote: > Hello, > > zope.app.appsetup installs the following RootErrorReportingUtility: > > ensureUtility(root_folder, IErrorReportingUtility, '', >RootErrorReportingUtility, copy_to_zlog=False) > > My problem with this is that copy_to_zlog=False, that means if your > app is *really* hosed you don't get the error logged to the usual > error.log or event.log and are also *unable* to access the UI of the > utility. > > Anyone objects a change to "copy_to_zlog=True" as default? +1 -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
Hi, On 08/31/2010 10:32 AM, Hanno Schlichting wrote: > Hi. > > On Tue, Aug 31, 2010 at 10:23 AM, Christian Theune wrote: >> our weekly meeting is coming up today at 15:00 UTC. > > I won't make it to todays meeting, so some notes upfront. Thanks for noting. That reminds me that I can't be there either, but I'll ask Charlie whether he can take over. Christian -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
Am 31.08.2010, 10:34 Uhr, schrieb Christian Theune : > Thanks for noting. That reminds me that I can't be there either, but > I'll ask Charlie whether he can take over. Sure, if you need me to. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
On 8/31/10 10:32 , Hanno Schlichting wrote: > Hi. > > On Tue, Aug 31, 2010 at 10:23 AM, Christian Theune wrote: >> our weekly meeting is coming up today at 15:00 UTC. > > I won't make it to todays meeting, so some notes upfront. > >> - Supporting Python 2.7 > > I thought the current plan is to try to support Python 2.7 for ZTK 1.1 > (which will then be Python 2.5 - 2.7). Currently 1.0 beta is still > blocked on test issues. Before we don't get these tests fixed, there > is no point in branching off the ZTK trunk to a 1.0 branch and > allowing feature development to happen. If we cannot get the tests > fixed on the current list of supported systems, adding whole new ZTK > version set will only make matters much worse. It does bring up an interesting question: if not all supported systems can be supported, should support for some systems be dropped? Wichert. ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
Please don't drop 2.5 support yet. I use zope.component, zope.interface, zope.event, zope.lifecyclevent on all my projects on appengine ;-) and that won't be moving from 2.5 for a while I suspect. T On Tue, Aug 31, 2010 at 5:19 PM, Wichert Akkerman wrote: > On 8/31/10 10:32 , Hanno Schlichting wrote: > > Hi. > > > > On Tue, Aug 31, 2010 at 10:23 AM, Christian Theune > wrote: > >> our weekly meeting is coming up today at 15:00 UTC. > > > > I won't make it to todays meeting, so some notes upfront. > > > >> - Supporting Python 2.7 > > > > I thought the current plan is to try to support Python 2.7 for ZTK 1.1 > > (which will then be Python 2.5 - 2.7). Currently 1.0 beta is still > > blocked on test issues. Before we don't get these tests fixed, there > > is no point in branching off the ZTK trunk to a 1.0 branch and > > allowing feature development to happen. If we cannot get the tests > > fixed on the current list of supported systems, adding whole new ZTK > > version set will only make matters much worse. > > It does bring up an interesting question: if not all supported systems > can be supported, should support for some systems be dropped? > > Wichert. > ___ > Zope-Dev maillist - Zope-Dev@zope.org > https://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Hi All, After a recent upgraded to Zope 2.12, I'm now seeing errors like the following when using IE (version 8) or Safari (version 4.0.3) to view page templates. Chrome and Firefox work fine. Traceback (innermost last): Module ZPublisher.Publish, line 127, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 47, in call_object Module Shared.DC.Scripts.Bindings, line 324, in __call__ Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec Module Products.PageTemplates.ZopePageTemplate, line 335, in _exec Module Products.PageTemplates.ZopePageTemplate, line 432, in pt_render Module Products.PageTemplates.PageTemplate, line 80, in pt_render Module zope.pagetemplate.pagetemplate, line 115, in pt_render Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 751, in do_insertStructure_tal UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 366: ordinal not in range(128) Has anyone seen this or anything similar before? Any solutions spring to mind? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
On Tue, Aug 31, 2010 at 11:40 AM, Chris Withers wrote: > Hi All, > > After a recent upgraded to Zope 2.12, I'm now seeing errors like the > following when using IE (version 8) or Safari (version 4.0.3) to view > page templates. Chrome and Firefox work fine. > > Traceback (innermost last): > Module ZPublisher.Publish, line 127, in publish > Module ZPublisher.mapply, line 77, in mapply > Module ZPublisher.Publish, line 47, in call_object > > Module Shared.DC.Scripts.Bindings, line 324, in __call__ > Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec > Module Products.PageTemplates.ZopePageTemplate, line 335, in _exec > Module Products.PageTemplates.ZopePageTemplate, line 432, in pt_render > Module Products.PageTemplates.PageTemplate, line 80, in pt_render > Module zope.pagetemplate.pagetemplate, line 115, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > > Module zope.tal.talinterpreter, line 343, in interpret > Module zope.tal.talinterpreter, line 751, in do_insertStructure_tal > UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position > 366: ordinal not in range(128) > > Has anyone seen this or anything similar before? > Any solutions spring to mind? > > Hi Chris. No solution, actually, but I would suggest to sniff the traffic between you and the server; I suspect different headers cause problems, here. Regards Marco > cheers, > > Chris > > -- > Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk > ___ > Zope-Dev maillist - Zope-Dev@zope.org > https://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) > -- Marco Bizzarri http://code.google.com/p/qt-asterisk/ http://notenotturne.blogspot.com/ http://iliveinpisa.blogspot.com/ ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Marco Bizzarri wrote: > > No solution, actually, but I would suggest to sniff the traffic between > you and the server; I suspect different headers cause problems, here. Of that I have no doubt. What does Zope2's publisher do with requested encodings and the like now? Why would this be causing problems? Errors that affect all browsers I'd be inclined to attribute to my code, ones that randomly affect specific browsers appear more likely to be a bug in Zope for me... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
Am 31.08.2010, 11:31 Uhr, schrieb Tim Hoffman : > Please don't drop 2.5 support yet. I use zope.component, zope.interface, > zope.event, zope.lifecyclevent on all my projects on appengine and that > won't be moving from 2.5 for a while I suspect. Hi Tim, thanks to Hanno's clarifications on IRC last week let me point out that we are talking about the roadmap for the ZTK 1.1. Support for Python 2.4 *will* be dropped this year. Python 2.5 is likely to survive longer not least because it is the supported version on the current version of Debian, although it's looking likely that there will be a new release (Debian 6.0 aka Squeeze) in the not too distant future. And I guess that GAE is still tied to 2.5? Beyond that, however, I think it's only reasonable to start looking at the migration towards a codebase that runs on Python 3.x and that may, at some point, mandate dropping support for Python 2.5. This especially in light of the fact that Python 2.5 itself is in maintenance mode. At the moment I think any incomaptabilities are related to tests and "implements". However, this is all in the future and subject, no doubt, to review. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Am 31.08.2010, 12:05 Uhr, schrieb Chris Withers : > What does Zope2's publisher do with requested encodings and the like now? > Why would this be causing problems? I can't remember exactly where but preferred_charset is looked for. It isn't set by either IE or Safari and, although it should default to UTF-8 it seems they get served Latin 1 and you get badda boom pretty quickly. > Errors that affect all browsers I'd be inclined to attribute to my code, > ones that randomly affect specific browsers appear more likely to be a > bug in Zope for me... It is and I thought it had been squashed. Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Charlie Clark wrote: > Am 31.08.2010, 12:05 Uhr, schrieb Chris Withers : > >> What does Zope2's publisher do with requested encodings and the like now? >> Why would this be causing problems? > > I can't remember exactly where but preferred_charset is looked for. It > isn't set by either IE or Safari and, although it should default to UTF-8 > it seems they get served Latin 1 and you get badda boom pretty quickly. That's weird, the content in this app should be fine to be served latin-1. >> Errors that affect all browsers I'd be inclined to attribute to my code, >> ones that randomly affect specific browsers appear more likely to be a >> bug in Zope for me... > > It is and I thought it had been squashed. Any idea what I should be looking for and in what changelog? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Am 31.08.2010, 12:51 Uhr, schrieb Chris Withers : > Any idea what I should be looking for and in what changelog? This my horribly patched version of charset.py which we just use via an override. I know it's wrong but it was the easiest thing to do at a time. class HTTPCharsets(object): """This is a complete copy of zope.publisher.http.HTTPCharset except if there is no charset specified. Zope defaults to ISO-8859-1 and we use the portal default_charset""" adapts(IHTTPRequest) implements(IUserPreferredCharsets) def __init__(self, request): self.request = request def getPreferredCharsets(self): '''See interface IUserPreferredCharsets''' charsets = [] sawstar = sawiso88591 = 0 header_present = 'HTTP_ACCEPT_CHARSET' in self.request for charset in self.request.get('HTTP_ACCEPT_CHARSET', '').split(','): charset = charset.strip().lower() if charset: if ';' in charset: charset, quality = charset.split(';') if not quality.startswith('q='): # not a quality parameter quality = 1.0 else: try: quality = float(quality[2:]) except ValueError: continue else: quality = 1.0 if quality == 0.0: continue if charset == '*': sawstar = 1 if charset == 'iso-8859-1': sawiso88591 = 1 charsets.append((quality, charset)) # Quoting RFC 2616, $14.2: If no "*" is present in an Accept-Charset # field, then all character sets not explicitly mentioned get a # quality value of 0, except for ISO-8859-1, which gets a quality # value of 1 if not explicitly mentioned. # And quoting RFC 2616, $14.2: "If no Accept-Charset header is # present, the default is that any character set is acceptable." if not sawstar and not sawiso88591 and header_present: ptool = getUtility(IPropertiesTool) default_charset = ptool.getProperty('default_charset', None) charsets.append((1.0, default_charset)) # charsets.append((1.0, 'iso-8859-1')) # UTF-8 is **always** preferred over anything else. # Reason: UTF-8 is not specific and can encode the entire unicode # range , unlike many other encodings. Since Zope can easily use very # different ranges, like providing a French-Chinese dictionary, it is # always good to use UTF-8. # charsets.sort(sort_charsets) charsets = [charset for quality, charset in charsets] if sawstar and charsets[0] != 'utf-8': if 'utf-8' in charsets: idx = charsets.index('utf-8') del charsets[idx] charsets.insert(0, 'utf-8') return charsets The related bug in zope.publisher may or may not have found its way into the current release. https://bugs.launchpad.net/zope2/+bug/143873 In addition, but I don't know how relevant this is in your case, Jens improved FSPageTemplate https://bugs.launchpad.net/zope-cmf/+bug/322263 Charlie -- Charlie Clark Managing Director Clark Consulting & Research German Office Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-600-3657 Mobile: +49-178-782-6226 ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Maybe not the best solution but I use this hack: zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py line 751 change: text = unicode(structure) to try: text = unicode(structure) except: text=unicode(structure.decode('utf-8')) Vlad 2010/8/31 Chris Withers : > Hi All, > > After a recent upgraded to Zope 2.12, I'm now seeing errors like the > following when using IE (version 8) or Safari (version 4.0.3) to view > page templates. Chrome and Firefox work fine. > > Traceback (innermost last): > Module ZPublisher.Publish, line 127, in publish > Module ZPublisher.mapply, line 77, in mapply > Module ZPublisher.Publish, line 47, in call_object > > Module Shared.DC.Scripts.Bindings, line 324, in __call__ > Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec > Module Products.PageTemplates.ZopePageTemplate, line 335, in _exec > Module Products.PageTemplates.ZopePageTemplate, line 432, in pt_render > Module Products.PageTemplates.PageTemplate, line 80, in pt_render > Module zope.pagetemplate.pagetemplate, line 115, in pt_render > Module zope.tal.talinterpreter, line 271, in __call__ > > Module zope.tal.talinterpreter, line 343, in interpret > Module zope.tal.talinterpreter, line 751, in do_insertStructure_tal > UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position > 366: ordinal not in range(128) > > Has anyone seen this or anything similar before? > Any solutions spring to mind? > > cheers, > > Chris > > -- > Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk > ___ > Zope-Dev maillist - zope-...@zope.org > https://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) > -- Best Regards Vlad Vorobiev ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 37 OK, 15 Failed, 3 Unknown
Summary of messages to the zope-tests list. Period Mon Aug 30 12:00:00 2010 UTC to Tue Aug 31 12:00:00 2010 UTC. There were 55 messages: 6 from Zope Tests, 2 from buildbot at enfoldsystems.com, 4 from buildbot at pov.lt, 19 from buildbot at winbot.zope.org, 8 from ccomb at free.fr, 16 from jdriessen at thehealthagency.com. Test failures - Subject: FAILED : winbot / ztk_dev py_244_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:12:45 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019181.html Subject: FAILED : winbot / ztk_dev py_254_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:15:12 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019182.html Subject: FAILED : winbot / ztk_dev py_265_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:16:07 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019183.html Subject: FAILED : winbot / ztk_dev py_265_win64 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:18:42 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019184.html Subject: FAILED : winbot / ztk_10 py_244_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:28:38 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019185.html Subject: FAILED : winbot / zc_buildout_dev py_244_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 17:00:59 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019189.html Subject: FAILED : winbot / zc_buildout_dev py_265_win64 From: buildbot at winbot.zope.org Date: Mon Aug 30 17:35:29 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019192.html Subject: FAILED : winbot / zc_buildout_dev py_270_win64 From: buildbot at winbot.zope.org Date: Mon Aug 30 17:59:43 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019194.html Subject: FAILED : Zope Buildbot / zope2.12 slave-osx From: jdriessen at thehealthagency.com Date: Mon Aug 30 19:55:41 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019202.html Subject: FAILED : Zope Buildbot / zope2 slave-osx From: jdriessen at thehealthagency.com Date: Mon Aug 30 19:58:31 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019205.html Subject: FAILED : winbot / ZODB_dev py_270_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 21:39:06 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019209.html Subject: FAILED : winbot / ZODB_dev py_270_win64 From: buildbot at winbot.zope.org Date: Mon Aug 30 22:34:04 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019215.html Subject: FAILED : ZTK 1.0 / Python2.6.5 Linux 64bit From: ccomb at free.fr Date: Tue Aug 31 01:39:14 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019226.html Subject: FAILED : Zope Buildbot / zope2.12 slave-osx From: jdriessen at thehealthagency.com Date: Tue Aug 31 03:31:16 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019232.html Subject: FAILED : Zope Buildbot / zope2 slave-osx From: jdriessen at thehealthagency.com Date: Tue Aug 31 03:34:14 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019235.html Unknown --- Subject: UNKNOWN : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Aug 30 23:46:32 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019217.html Subject: [zodb-tests] buildbot failure in Enfold Systems on zodb-trunk-python-2.5-maestro From: buildbot at enfoldsystems.com Date: Tue Aug 31 02:04:55 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019228.html Subject: [zodb-tests] buildbot failure in Enfold Systems on zodb-trunk-python-2.6-maestro From: buildbot at enfoldsystems.com Date: Tue Aug 31 02:06:37 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019229.html Tests passed OK --- Subject: OK : winbot / ztk_10 py_254_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:36:22 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019186.html Subject: OK : winbot / ztk_10 py_265_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:43:16 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019187.html Subject: OK : winbot / ztk_10 py_265_win64 From: buildbot at winbot.zope.org Date: Mon Aug 30 16:50:21 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019188.html Subject: OK : winbot / zc_buildout_dev py_254_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 17:12:01 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019190.html Subject: OK : winbot / zc_buildout_dev py_265_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 17:23:54 EDT 2010 URL: http://mail.zope.org/pipermail/zope-tests/2010-August/019191.html Subject: OK : winbot / zc_buildout_dev py_270_win32 From: buildbot at winbot.zope.org Date: Mon Aug 30 17:47:39 EDT 2010
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Vladislav Vorobiev wrote: > Maybe not the best solution but I use this hack: > > zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py Indeed, certainly not a good solution. This implies that things should be unicode by the time they get here. Now, the decoding shouldn't be dependent on anything the browser sends, should it? I would have thought only the encoding side of things should matter.. ...so why on earth does the browser used have an effect on the decoding (or not, as seems to be the case with the bug) of the structure? (and where is this decoding done?) cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Developer meeting today at 15:00 UTC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Hoffman wrote: > Please don't drop 2.5 support yet. I use zope.component, zope.interface, > zope.event, zope.lifecyclevent on all my projects on appengine ;-) and that > won't be moving from 2.5 for a while I suspect. You should be planning to stick with the ZTK 1.0 release line, then, as it is known to support your platform. The 1.1 versions may drop support for Python 2.5, and definitely will drop support for 2.4; those versions will be supported by ZTK 1.0. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkx9V6gACgkQ+gerLs4ltQ5w+gCfVFMrnoIjJYeWJ3gOcTfqyXXM TnUAnA8+82M81z5i4+CBBTpMK+s2GPoF =xBEk -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Hi Chris, On 08/31/2010 11:40 AM, Chris Withers wrote: > After a recent upgraded to Zope 2.12, I'm now seeing errors like the > following when using IE (version 8) or Safari (version 4.0.3) to view > page templates. Chrome and Firefox work fine. This may be related to IE and Safari not sending an accept-charset header and Zope then falling back to the Python default (often ASCII) for encoding, which then fails. I use the following patch to http.py (tested up to 2.12.3): --- lib/python/zope/publisher/http.py.orig 2009-05-02 00:49:35.0 -0700 +++ lib/python/zope/publisher/http.py 2009-06-12 02:12:50.0 -0700 @@ -965,8 +965,11 @@ # value of 1 if not explicitly mentioned. # And quoting RFC 2616, $14.2: "If no Accept-Charset header is # present, the default is that any character set is acceptable." -if not sawstar and not sawiso88591 and header_present: +# ROC: the following checked also for header_present which seemed wrong +if not sawstar and not sawiso88591: charsets.append((1.0, 'iso-8859-1')) +# ROC: if there is no header we assume star (to get utf-8) +sawstar = 1 # UTF-8 is **always** preferred over anything else. # Reason: UTF-8 is not specific and can encode the entire unicode # range , unlike many other encodings. Since Zope can easily use very Best Robert ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )