<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.web.zope.general">
    <title>gmane.comp.web.zope.general</title>
    <link>http://blog.gmane.org/gmane.comp.web.zope.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63328"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63327"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63322"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63318"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63316"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63311"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63305"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63298"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63288"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63279"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63278"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63268"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63266"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63265"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63260"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63257"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63255"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63251"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63251"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.zope.general/63251"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63328">
    <title>Sessioning</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63328</link>
    <description>&lt;pre&gt;Does anyone have a recommendation on how to implement sessioning on Zope 
2? Basically to set browser timeouts for the user so logout after say 20 
mins of inactivity. The difficulty we've had previously is detecting 
what exactly 'inactivity' is...
Cheers
Rich
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
&lt;/pre&gt;</description>
    <dc:creator>Richard Harley</dc:creator>
    <dc:date>2012-05-23T08:56:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63327">
    <title>Unexpected behavior with zope.session 3.9.5</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63327</link>
    <description>&lt;pre&gt;Hi List,

I'm running into an bit of a problem implementing zope.session on Zope2-2.12.10.
When running the following code inside a class that inherits from BrowserView:

session = ISession(self.request)[product_id]

I get the following error.

AttributeError: ZServerHTTPResponse instance has no attribute 'getCookie'

Looking through the zope.session code, the Session object adapts IRequest.   The exception is being thrown in zope.session.http.CookieClientIdManager in the the getRequestId() method with the following code.

def getRequestId(self, request):
'''....'''
response_cookie = request.response.getCookie(self.namespace)

I am not sure where to begin tracking this down.   Could this be an error with utility lookup?

_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

&lt;/pre&gt;</description>
    <dc:creator>Chris Austin</dc:creator>
    <dc:date>2012-04-11T11:55:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63322">
    <title>UnicodeDecodeError</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63322</link>
    <description>&lt;pre&gt;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.

  When I try to do:

&amp;lt;span tal:replace="result/?column" /&amp;gt; (result came from an ZSQL method) 
I get an UnicodeDecodeError:

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 113, in pt_render
   Module zope.tal.talinterpreter, line 271, in __call__
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 888, in do_useMacro
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 946, in do_defineSlot
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
   Module zope.tal.talinterpreter, line 518, in do_optTag
   Module zope.tal.talinterpreter, line 513, in no_tag
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 821, in do_loop_tal
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 821, in do_loop_tal
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 852, in do_condition
   Module zope.tal.talinterpreter, line 343, in interpret
   Module zope.tal.talinterpreter, line 376, in do_startEndTag
   Module zope.tal.talinterpreter, line 405, in do_startTag
   Module zope.tal.talinterpreter, line 502, in attrAction_tal
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 38: 
ordinal not in range(128)

if I do:

&amp;lt;span tal:replace="python:str(result['column']).decode('utf-8')" /&amp;gt; it 
works. (I use str because I've also dates in the record, otherwise I 
could not decode being it not a string)

I've several zpt to fix, and I would like it to work as it should. My 
analisys is that result['column'] is seen as a plain string with \xx 
characters inside, and decode just transform it in something that Zope 
recognize as utf-8 when it prints it.

Anyway, any idea?
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

&lt;/pre&gt;</description>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2012-04-03T07:40:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63318">
    <title>Finding the right import folder</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63318</link>
    <description>&lt;pre&gt;I have a Zope instance running on a FreeBSD (8) server.  Zope is running fine
(by all measures).  Here is the particulars of the system:

Zope Version
   (Zope 2.7.9-final, python 2.4.5, freebsd8)

Python Version
   2.4.5 (#2, Nov 10 2011, 00:37:52) [GCC 4.2.1 20070719 [FreeBSD]]

System Platform
   freebsd8

SOFTWARE_HOME
/usr/local/www/Zope/lib/python

ZOPE_HOME
/usr/local/www/Zope

INSTANCE_HOME
/usr/local/setp

CLIENT_HOME
/usr/local/setp/var


Network Services

ZServer.HTTPServer.zhttp_server (Port: 8080)
ZServer.FTPServer.FTPServer (Port: 8021)

-------------------------------

The problem is that I need to import some .zexp files.  I would have thought
that I should put them in the (already existing) import folder at the
INSTANCE_HOME (i.e., /usr/local/setp/import) but when I restart Zope, none of
the .zexp files (including the standard Zope tutorial) show up in a pull-down
menu in the import page.  Based on the above, where should I put the .zexp files
so that the Zope instance finds them.

_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

&lt;/pre&gt;</description>
    <dc:creator>Ron</dc:creator>
    <dc:date>2012-03-16T03:06:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63316">
    <title>RelStorage PosKeyError</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63316</link>
    <description>&lt;pre&gt;Hi!

I have a reproducible PosKeyError on RelStorage 1.5.1 with
MySQL backend. Traceback comes here:

Module Products.BlissNewsCenter.BlissNewsCenter, line 77, in 
view_editNewsletterForm
Module Products.BlissNewsletter.Newsletter, line 82, in getFromEmail
Module Products.Relateable.Relateable, line 362, in _initAttribute
Module Products.Relateable.MetaManager, line 1144, in 
attributeDefaultValue
Module Products.Relateable.MetaManager, line 1, in &amp;lt;module&amp;gt;
Module ZODB.Connection, line 860, in setstate
Module ZODB.Connection, line 901, in _setstate
Module relstorage.storage, line 470, in load
POSKeyError: 0x116994

How do i find out which object is broken or how to fix this?

thanks in advance &amp;amp; best regards,
Jürgen Herrmann
&lt;/pre&gt;</description>
    <dc:creator>Jürgen Herrmann</dc:creator>
    <dc:date>2012-03-07T11:50:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63311">
    <title>changing permissions on classes/methods at runtime?</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63311</link>
    <description>&lt;pre&gt;hi all!

is it possible to change permissions and roles on classes/methods
at runtime? normally you'd attach security declarations inline in
your class definition code:

from AccessControl import ClassSecurityInfo
from AccessControl.class_init import InitializeClass
class Cls():
   security = ClassSecurityInfo()
   security.declarePrivate('foo')
   def foo(self):
     pass
InitializeClass(Cls)


now what i tried at runtime is:

from mycode import Cls
from AccessControl import ClassSecurityInfo
security = ClassSecurityInfo()
security.declarePublic('foo')
security.apply(Cls)

but this does not what i want it to, in fact it doesn't seem
to do anything yet - probably because i'm using the wrong way :)

any hints how to do this correctly would be greatly appreciated.

thank you very much in advance and best regards,
Jürgen Herrmann
&lt;/pre&gt;</description>
    <dc:creator>Jürgen Herrmann</dc:creator>
    <dc:date>2012-02-29T14:12:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63305">
    <title>"dynamic" dtml-with from string content</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63305</link>
    <description>&lt;pre&gt;Dear all,


has somebody an idea here?:

I try to define a property "my_class_path" (string) on a folder and want to 
use that within a dtml-with statement - i.e.:

my_class_path is i.e. "folder1.folder_sub"

&amp;lt;dtml-with "folder1.folder_sub"&amp;gt;

seems to work, but i cant find any easy way to  to use the content of the 
string my_class_path within the with statement.

If i just have a single folder to get aquisition from, i just can use 
something like:

 &amp;lt;dtml-with "_[my_class_path]"&amp;gt;

but if i have deeper pathes in my_class_path the this doesnt work.

I just can do directly:

  &amp;lt;dtml-with "_['folder1']['folder_sub']"&amp;gt;

but i can't just put "_['folder1']['folder_sub']" into my_class_path too - 
this didn't works too...


It seems i have some tomatoes on my eyes. Can anyone push me back on the track 
here?

Many thanks in advance...



best regards,

Niels.
&lt;/pre&gt;</description>
    <dc:creator>Niels Dettenbach</dc:creator>
    <dc:date>2012-02-17T13:17:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63298">
    <title>ANN: eGenix mxODBC Zope Database Adapter 2.0.2</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63298</link>
    <description>&lt;pre&gt;________________________________________________________________________
ANNOUNCEMENT

                     mxODBC Zope Database Adapter

                            Version 2.0.2

                     for Zope and the Plone CMS

                Available for Zope 2.10 and later on
        Windows, Linux, Mac OS X, FreeBSD and other platforms

This announcement is also available on our web-site for online reading:
http://www.egenix.com/company/news/eGenix-mxODBC-Zope-DA-2.0.2-GA.html

________________________________________________________________________
INTRODUCTION

The eGenix mxODBC Zope Database Adapter allows you to easily connect
your Zope or Plone installation to just about any database backend on
the market today, giving you the reliability of the commercially
supported eGenix product mxODBC and the flexibility of the ODBC
standard as middle-tier architecture.

The mxODBC Zope Database Adapter is highly portable, just like Zope
itself and provides a high performance interface to all your ODBC data
sources, using a single well-supported interface on Windows, Linux,
Mac OS X, FreeBSD and other platforms.

This makes it ideal for deployment in ZEO Clusters and Zope hosting
environments where stability and high performance are a top priority,
establishing an excellent basis and scalable solution for your Plone
CMS.

Product page:

    http://www.egenix.com/products/zope/mxODBCZopeDA/

________________________________________________________________________
NEWS

We are pleased to announce a new version 2.0.2 of our mxODBC Zope DA
product.

With the patch level 2.0.2 release we have updated the integrated
mxODBC Python Extension to the latest 3.1.1 release, which
includes a number of important workarounds for these ODBC drivers:

 * Oracle 10gR1 and 10gR2
 * Oracle 11gR1 and 11gR2
 * Teradata 13
 * Netezza

Due to popular demand, we have also added instructions on how to
install mxODBC Zope DA 2.0 with Plone 4.1 and Zope 2.13 - even though
this combination is not officially supported by the mxODBC Zope DA 2.0
series:

    http://www.egenix.com/products/zope/mxODBCZopeDA/#Installation

________________________________________________________________________
UPGRADING

Licenses purchased for version 2.0.x of the mxODBC Zope DA will continue
to work with the 2.0.2 patch level release.

Licenses purchased for version 1.0.x of the mxODBC Zope DA will not
work with version 2.0. More information about available licenses
is available on the product page:

    http://www.egenix.com/products/zope/mxODBCZopeDA/#Licensing

Compared to the popular mxODBC Zope DA 1.0, version 2.0 offers
these enhancements:

 * Includes mxODBC 3.1 with updated support for many current ODBC
   drivers, giving you more portability and features for a wider
   range of database backends.

 * Mac OS X 10.6 (Snow Leopard) support.

 * Plone 3.2, 3.3, 4.0 support. Plone 4.1 works as well.

 * Zope 2.10, 2.11, 2.12 support. Zope 2.13 works as well.

 * Python 2.4 - 2.6 support.

 * Zero maintenance support to automatically reconnect the
   Zope connection after a network or database problem.

 * More flexible Unicode support with options to work with
   pure Unicode, plain strings or mixed setups - even for
   databases that don't support Unicode

 * Automatic and transparent text encoding and decoding

 * More flexible date/time support including options to work
   with Python datetime objects, mxDateTime, strings or tuples

 * New decimal support to have the Zope DA return decimal
   column values using Python's decimal objects.

 * Fully eggified to simplify easy_install and zc.buildout based
   installation

________________________________________________________________________
MORE INFORMATION

For more information on the mxODBC Zope Database Adapter, licensing
and download instructions, please visit our web-site:

    http://www.egenix.com/products/zope/mxODBCZopeDA/

You can buy mxODBC Zope DA licenses online from the eGenix.com shop at:

    http://shop.egenix.com/

________________________________________________________________________

Thank you,
&lt;/pre&gt;</description>
    <dc:creator>eGenix Team: M.-A. Lemburg</dc:creator>
    <dc:date>2012-02-09T15:17:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63288">
    <title>mod_rewrite and IIS7</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63288</link>
    <description>&lt;pre&gt;I am attempting to park Zope behind Windows 2008/IIS7 (using its
mod_rewrite function) and seem to be having some difficulty getting it
to work.

What I want to do is make directory on Zope website look like it is a
directory on an IIS7 website. I seem to be close but missing some
critical element.

Does anybody have a step by step process for doing this or samples of
rules on IIS7 for doing something similar?
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

&lt;/pre&gt;</description>
    <dc:creator>Brian Sullivan</dc:creator>
    <dc:date>2012-02-06T15:22:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63279">
    <title>charset problems (utf-8)</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63279</link>
    <description>&lt;pre&gt;Yellow,

I've noticed charset problems displaying HTML pages.

Let's say I want to display a page using a DTML Method like this:

&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
...
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
á Á à À ç
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

This page is ok and I can see the portuguese letters fine.

The problem starts when I do this:

&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
...
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
á Á à À ç &amp;lt;br&amp;gt;
&amp;lt;dtml-var sometextfield&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

The first line of characters shows some strange characters and the
sometextfield shows up fine even if it has the same portuguese
characters.


sometextfield comes from a mySQL server using utf-8 as charset and collation.

zope.conf has the following:

rest-input-encoding utf-8
rest-output-encoding utf-8

The browsers also have UTF-8 as the encoding (safari, firefox and
chrome) all show me the same problem.

I also noticed some strange behavior...
If I create "á Á à À ç" as a property field using ustring and call it
as &amp;lt;dtml-var someproperty&amp;gt; also gets fine in the browser.

Anyone seen this??? Double encoding maybe???


TIA

&lt;/pre&gt;</description>
    <dc:creator>Hugo Ramos</dc:creator>
    <dc:date>2012-02-02T18:06:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63278">
    <title>CookieCrumbler, any new versions or replacement?</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63278</link>
    <description>&lt;pre&gt;Yellow,

I need to reuse a web application I developed around 2005/2006. This
App was using CookieCrumbler as it's only authentication method but it
seems that after zope 2.11.x the product is broken as it has a few
imports from deprecated classes.

Anyone knows about CookieCrumbler versions above 1.2 or some other
replacement for this product?


TIA

&lt;/pre&gt;</description>
    <dc:creator>Hugo Ramos</dc:creator>
    <dc:date>2012-02-02T17:46:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63268">
    <title>Zope instance not serving website - Site Error</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63268</link>
    <description>&lt;pre&gt;Hi,

My rather old Zope2 server crashed yesterday and took down the one
website that it was still serving.  The site now just throws out the
following error:

"Site Error

An error was encountered while publishing this resource.

Debugging Notice
Zope has encountered a problem publishing your object.

Cannot locate object at: http://www.legulcerforum.org/news/folder_listing

Troubleshooting Suggestions

    The URL may be incorrect.
    The parameters passed to this resource may be incorrect.
    A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error
log.

If the error persists please contact the site maintainer. Thank you for
your patience.
(Also, the following error occurred while attempting to render the
standard error message, please see the event log for full details:
main_template)"

Part of the site is accessible, a zope based photo gallery and the ZMI
(management interface), but the main part of the site isn't working, it
just throws out the above error.

I've restored the whole instance from backups and I still get the same
error, so I don't think the problem is with the instance (but I'm
totally new to zope, so willing to be told I'm wrong).  When running the
instance in the foreground - zopectl fg, I get the following -
http://pastebin.com/bhBp7AXf

I'm honestly not sure exactly what version of zope it is, because when I
start poking around in the ZMI, I get the above error.  Python is
2.4.3.  The server is Ubuntu 8.04 LTS.  Zope hasn't been installed
through the package manager.

I've never really used zope before, this is something I've inherited
from a previous sysadmin.  I'm happy to RTFM and try things out (this is
the only site on this server and I have fairly decent backups) but my
zope/python knowledge is pretty minimal, so sorry if I'm missing
something obvious.

Thanks,

&lt;/pre&gt;</description>
    <dc:creator>Matthew Moore</dc:creator>
    <dc:date>2012-02-02T10:15:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63266">
    <title>missing info on vulnerability</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63266</link>
    <description>&lt;pre&gt;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-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

&lt;/pre&gt;</description>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2012-01-30T08:27:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63265">
    <title>Form issue with apache frontend</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63265</link>
    <description>&lt;pre&gt;Hello,

I'm facing a strange bug between Apache and Zope. I'm suspecting Apache but I need to prove that Zope isn't at the origin of this mess.

In the two files attached you have the request sent by firefox logged with livehttpheaders (request.orig.txt) and the request read in ZPublisher/Publisy.py=&amp;gt;publish with request.stdin.read(). You can see that a part of the request overload the start's of it. The size of file in the request is 6855 bits. I don't understand how this is possible.

Two apache servers and one ZEO cluster composing the architecture :
- the first Apache 2.1 is a FreeBSD gateway for external requests : it's using SSL with an homemade certificate and ProxyPass/ProxyPassReverse to redirect to the second server on the 8080 port
- the second Apache 2.2 server is on Windows Server 2003 and listening on 80 and 8080.
- the port 80 for all local requests with mod_auth_sspi to handle the SSO and redirect to a first ZEO client
- the port 8080 for outside requests from the first Apache server without SSO and redirect to a second ZEO client

There is a know bug with apache and SSL but only for requests above 128KB: here the request's weight is about 8KB.

Is there something that modifies the incoming request before it comes in the publish module ?

Regards,
&lt;/pre&gt;</description>
    <dc:creator>Encolpe Degoute</dc:creator>
    <dc:date>2012-01-29T23:17:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63260">
    <title>Checking multiple variables existence</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63260</link>
    <description>&lt;pre&gt;Is there any way to check if multiple variables exist in the same if
statement? Right now I am having to writing multiple nested if statements
but can be quite cumbersome... so just looking for an easier way.

Currently I'd have to write:
&amp;lt;dtml-if var1&amp;gt;
  &amp;lt;dtml-if var2&amp;gt;
    &amp;lt;dtml-if var3&amp;gt;
    &amp;lt;dtml-else&amp;gt;
    &amp;lt;/dtml-if&amp;gt;
  &amp;lt;dtml-else&amp;gt;
  &amp;lt;/dtml-if&amp;gt;
&amp;lt;dtml-else&amp;gt;
&amp;lt;/dtml-if&amp;gt;

When it would be easier to do something like:

&amp;lt;dtml-if "var1 and var2 and var3"&amp;gt;
&amp;lt;dtml-else&amp;gt;
&amp;lt;/dtml-if&amp;gt;

I've tried multiple different methods to accomplish this but haven't had
any luck... so is there an easier way to check multiple variables existence
in the same check?

Thanks.
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
&lt;/pre&gt;</description>
    <dc:creator>Justin Dunsworth</dc:creator>
    <dc:date>2012-01-24T16:57:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63257">
    <title>zope2.13.12 &amp; ZMySQLDA</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63257</link>
    <description>&lt;pre&gt;Hello,

I'm running zope2.13.12, python 2.7.1 and I'm trying to install  
ZMySQLDA 3.1.1.
In the zope_event log I get this error:

------
2012-01-23T12:11:17 ERROR Application Couldn't install ZMySQLDA
Traceback (most recent call last):
   File "/home/giampiero4/webapps/zope/lib/python2.7/Zope2-2.13.12- 
py2.7.egg/OFS/Application.py", line 658, in install_product
     global_dict, global_dict, silly)
   File "/home/giampiero4/webapps/zope/instance/Products/ZMySQLDA/ 
__init__.py", line 90, in &amp;lt;module&amp;gt;
     import DA
   File "/home/giampiero4/webapps/zope/instance/Products/ZMySQLDA/ 
DA.py", line 92, in &amp;lt;module&amp;gt;
     from db import DBPool, DB
   File "/home/giampiero4/webapps/zope/instance/Products/ZMySQLDA/ 
db.py", line 114, in &amp;lt;module&amp;gt;
     from joinTM import joinTM
   File "/home/giampiero4/webapps/zope/instance/Products/ZMySQLDA/ 
joinTM.py", line 3, in &amp;lt;module&amp;gt;
     from Shared.DC.ZRDB.TM import TM
ImportError: No module named ZRDB.TM
------

Can someone help me out with this issue?

Thanks a lot,

Giampiero
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

&lt;/pre&gt;</description>
    <dc:creator>Giampiero Benvenuti</dc:creator>
    <dc:date>2012-01-23T11:19:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63255">
    <title>MailingLogger 3.7.0 Released!</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63255</link>
    <description>&lt;pre&gt;I'm pleased to announce a new release of Mailinglogger.

Mailinglogger provides two handlers for the standard python
logging framework that enable log entries to be emailed either as the
entries are logged or as a summary at the end of the running process.

The handlers have the following features:

- customisable and dynamic subject lines for emails sent

- emails sent with a configurable headers for easy filtering

- flood protection to ensure the number of emails sent is not excessive

- support for SMTP servers that require authentication

- fully documented and tested

This release fixes a long standing bug that occurred when logging 
unicode messages.

It also provides support for sending colourised HTML emails:

http://packages.python.org/mailinglogger/html.html

Full docs can be found here:

http://packages.python.org/mailinglogger/

For more information, please see:
http://www.simplistix.co.uk/software/python/mailinglogger
or
http://pypi.python.org/pypi/mailinglogger

cheers,

Chris

&lt;/pre&gt;</description>
    <dc:creator>Chris Withers</dc:creator>
    <dc:date>2012-01-18T08:48:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63251">
    <title>Strange issues at string operations with request variables</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63251</link>
    <description>&lt;pre&gt;Hi all,

I have discovered strange issues with all request variables. Here are 
examples only, but I was try all useable variables in the REQUEST.

I want to use redirect to another server with same relative link, but 
different domain,some like that:

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
URLPATH0)"&amp;gt;
&amp;lt;dtml-call expr="RESPONSE.redirect(_.str(redirect_URL), status=301)"&amp;gt;

It does not work even if I make obstructions for request variables like 
_.str(), _[''] etc.

In cases below variable 'redirect_URL' seems OK, but redirect goes into 
loop.

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
PATH_TRANSLATED)"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
_.str(_['URLPATH1']))"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com')"&amp;gt;

In cases below variable 'redirect_URL' = 'h'.

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 
URL.replace(BASE0,'http://www.otherdomain.com')[0])"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 
URL.replace(_.string.split(HTTP_HOST,':')[0],'www.otherdomain.com')[0])"&amp;gt;


I was try different (very old) Zope, but result is the same.

It is possible my uncorrect handle with request variables, but how to handle 
correct with them?

Many thanks,

J. Lukesh 
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
&lt;/pre&gt;</description>
    <dc:creator>Jaroslav Lukesh</dc:creator>
    <dc:date>2012-01-04T21:32:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63251">
    <title>Strange issues at string operations with request variables</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63251</link>
    <description>&lt;pre&gt;Hi all,

I have discovered strange issues with all request variables. Here are 
examples only, but I was try all useable variables in the REQUEST.

I want to use redirect to another server with same relative link, but 
different domain,some like that:

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
URLPATH0)"&amp;gt;
&amp;lt;dtml-call expr="RESPONSE.redirect(_.str(redirect_URL), status=301)"&amp;gt;

It does not work even if I make obstructions for request variables like 
_.str(), _[''] etc.

In cases below variable 'redirect_URL' seems OK, but redirect goes into 
loop.

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
PATH_TRANSLATED)"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
_.str(_['URLPATH1']))"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com')"&amp;gt;

In cases below variable 'redirect_URL' = 'h'.

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 
URL.replace(BASE0,'http://www.otherdomain.com')[0])"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 
URL.replace(_.string.split(HTTP_HOST,':')[0],'www.otherdomain.com')[0])"&amp;gt;


I was try different (very old) Zope, but result is the same.

It is possible my uncorrect handle with request variables, but how to handle 
correct with them?

Many thanks,

J. Lukesh 
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
&lt;/pre&gt;</description>
    <dc:creator>Jaroslav Lukesh</dc:creator>
    <dc:date>2012-01-04T21:32:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63251">
    <title>Strange issues at string operations with request variables</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63251</link>
    <description>&lt;pre&gt;Hi all,

I have discovered strange issues with all request variables. Here are 
examples only, but I was try all useable variables in the REQUEST.

I want to use redirect to another server with same relative link, but 
different domain,some like that:

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
URLPATH0)"&amp;gt;
&amp;lt;dtml-call expr="RESPONSE.redirect(_.str(redirect_URL), status=301)"&amp;gt;

It does not work even if I make obstructions for request variables like 
_.str(), _[''] etc.

In cases below variable 'redirect_URL' seems OK, but redirect goes into 
loop.

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
PATH_TRANSLATED)"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
_.str(_['URLPATH1']))"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com')"&amp;gt;

In cases below variable 'redirect_URL' = 'h'.

&amp;lt;dtml-call "REQUEST.set('redirect_URL', 
URL.replace(BASE0,'http://www.otherdomain.com')[0])"&amp;gt;
&amp;lt;dtml-call "REQUEST.set('redirect_URL', 
URL.replace(_.string.split(HTTP_HOST,':')[0],'www.otherdomain.com')[0])"&amp;gt;


I was try different (very old) Zope, but result is the same.

It is possible my uncorrect handle with request variables, but how to handle 
correct with them?

Many thanks,

J. Lukesh 
_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
&lt;/pre&gt;</description>
    <dc:creator>Jaroslav Lukesh</dc:creator>
    <dc:date>2012-01-04T21:32:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.zope.general/63244">
    <title>Fwd: Re: Re:  Help in deciding approach to Web App</title>
    <link>http://comments.gmane.org/gmane.comp.web.zope.general/63244</link>
    <description>&lt;pre&gt;
I was asking about tools and technology, not about object design. Would
you develop a Zope Product (or set of Products) or is there a different
approach.

The Zope book tells us nothing about creating custom objects in ZODB.

Assuming a simple case of a web form to input a set of fixed attributes
to define a tool object in ZODB, what is the simplest approach to
create/update an object in ZODB?


I agree, that's why I mentioned in my first post that this is not a
typical Books and Authors data model.

In a case like this, without more requirements information, I would say
a table to define tools only with common attributes, another table to
define relationships between tools, another table to list all possible
attribute names and another one to define the specific attribute values
for the tools. But this discussion is off-topic and even irrelevant with
so little specification.

Regards,
Fernando




_______________________________________________
Zope maillist  -  Zope-CWUwpEBWKX0&amp;lt; at &amp;gt;public.gmane.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
&lt;/pre&gt;</description>
    <dc:creator>Fernando</dc:creator>
    <dc:date>2011-12-05T16:18:29</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.zope.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.zope.general</link>
  </textinput>
</rdf:RDF>

