Re: [Zope] Zope 5.3 and webdav

2021-11-29 Thread Jens Vagelpohl via Zope
It does. not require ZServer. Take a look at 
https://zope.readthedocs.io/en/latest/operation.html#zope-configuration-reference
 „webdav-source-port“

jens


> On 29. Nov 2021, at 18:45, Giampiero Benvenuti 
>  wrote:
> 
> Hello everyone,
> 
> 
> I was reading the zope.conf file of zope5.3 and it looks like webdav is 
> supported.
> Does it need ZServer for that? I thoght ZServer wasnt supported any longer.
> 
> Thanks for your tips.

___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.6.3 and 5.3 released with a security fix

2021-07-31 Thread Jens Vagelpohl via Zope
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6.3 and 5.3.

This bugfix release solves a few minor issues and contains a security fix. For 
the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

These releases contain a security fix that prevents remote code execution 
through Script (Python) objects. You are only at risk if all of the following 
are true:

- You use Python 3 for your Zope deployment (Zope 4 on Python 2 is not affected)
- You run Zope 4 below version 4.6.3 or Zope 5 below version 5.3
- You have installed the optional Products.PythonScripts add-on package
- You allow untrusted non-admin users to add or edit Script (Python) objects

By default, untrusted non-admin users cannot add or edit Script (Python) 
objects, only “Manager” users can. Enabling this level of access for untrusted 
users would be a very unusual configuration and it is highly unlikely any site 
administrator would do so to begin with.

The related security advisories with full details are published here:

- https://github.com/zopefoundation/Zope/security/advisories/GHSA-g4gq-j4p2-j8fr
- 
https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-qcx9-j53g-ccgf

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.3 or 5.3 
into an existing Plone setup without testing. The PloneHotfix packages ensures 
that the Zope changes don’t interfere with Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] A basic question I couldn't fine the answer on google

2021-07-19 Thread Jens Vagelpohl via Zope
Hi Giampiero,

How you upgrade depends on how you installed the Zope instance in the first 
place. You don’t provide much information but it seems you have two separate 
installs now, one with Zope 5.1.2 and one with 5.2.1? It’s safe to copy the 
Data.fs between these installations, yes. Make sure you shut down Zope 
instances before copying the file, though.

jens


> On 19. Jul 2021, at 12:37 , Giampiero Benvenuti 
>  wrote:
> 
> Hi there,
> 
> let’s say, I want to upgrade from zope5.1.2 to zope 5.2.1
> Should I just replace the zope5.2.1 Data.fs with the zope5.1.2 one?
> 
> Or, if this sound silly, how would you do it?
> 
> Thank You,
> 
> —giampiero


signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.6.2 released

2021-06-27 Thread Jens Vagelpohl via Zope
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.6.2.

This bugfix release backports the stricter path expression traversal code from 
Zope 5. For the full list of changes see the change log at 
https://zope.readthedocs.io/en/4.x/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.2 into 
an existing Plone setup without testing. The traversal changes in Zope break 
some Plone add-ons that relied on the old traversal behavior. 
PloneHotfix20210518 ensures support for those Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.6.1 and 5.2.1 released with an important security fix

2021-06-08 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6.1 and 5.2.1.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain an expanded security fix that prevents remote code 
execution through TAL expressions. The first iteration of the security fix in 
Zope 4.6 and 5.2 did not catch all cases of unauthorized TAL path expression 
traversal. Just like the first fix, you will only ever be at risk if you allow 
untrusted users to add or edit Zope Page Template objects, which is a very 
unusual non-standard site configuration. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-rpcg-f9q6-2mq6. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Make sure to install the latest version of 
PloneHotfix20210518 first, which should appear shortly after this Zope release. 
See https://plone.org/security/hotfix/20210518. Don't install Zope 4.6.1 or 
5.2.1 into an existing Plone setup without testing. The security changes in 
Zope break some Plone add-ons that relied on the old insecure traversal 
behavior. PloneHotfix20210518 ensures support for those Plone add-ons.

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jens Vagelpohl
Hi Jürgen,

Zope and Plone are still two different projects. The Plone developers published 
a hotfix product that fixes everything they believe needed to be fixed. I 
looked at items that apply to plain Zope and made the required changes in Zope.

So anyone using plain Zope can install the latest update and they are safe. As 
a plain Zope developer I cannot comment on or make recommendations regarding a 
Plone hotfix, and Zope itself will never require a Plone add-on or hotfix. I 
don’t have any control over how the Plone release managers communicate these 
fixes, either. People who do not use Plone are advised to stick to published 
Zope updates.

jens



> On 21. May 2021, at 12:25 , Jürgen Gmach  wrote:
> 
> Thank you very much for the fix and the new release.
> 
> As a user of plain Zope, and having already applied PloneHotfix20210518, I 
> wonder whether I need or should deinstall the hotfix now.
> 
> e.g. the hotfix also touched xmlrpc, which this new release does not.
> 
> Or let me rephrase my question.
> 
> What is the current recommended way to mitigate the announced vulnerabilities 
> for a plain Zope setup?
> 
> Install the just released Zope version and the hotfix? Or just the latest 
> Zope version?
> 
> Thank you!
> Von: Zope  im Auftrag von Jens Vagelpohl 
> 
> Gesendet: Freitag, 21. Mai 2021 11:12
> An: zope-annou...@zope.org ; zope@zope.org Users 
> 
> Betreff: [Zope] Zope 4.6 and 5.2 released with an important security fix
> 
> On behalf of Zope developer community I am pleased to announce the releases 
> of Zope 4.6 and 5.2.
> 
> This bugfix release solves a few minor issues and also contains an important 
> security fix, see below. For the full list of changes see the change logs 
> athttps://zope.readthedocs.io/en/4.x/changes.html#id1 
> andhttps://zope.readthedocs.io/en/latest/changes.html#id1
> 
> Installation instructions can be found at 
> https://zope.readthedocs.io/en/4.x/INSTALL.html and 
> https://zope.readthedocs.io/en/latest/INSTALL.html.
> 
> NOTE: These releases contain a security fix that prevents remote code 
> execution through TAL expressions. You will only be at risk if you allow 
> untrusted people to add or edit Zope Page Template objects. For more details, 
> see the security advisory 
> athttps://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36.
>  A CVE has been requested through GitHub.
> 
> NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
> PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. 
> The security changes in Zope break some Plone add-ons that relied on the old 
> insecure traversal behavior. PloneHotfix20210518 ensures support for those 
> Plone add-ons.
> 
> Jens Vagelpohl
> 
> ___
> Zope maillist  -  Zope@zope.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 )



signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.6 and 5.2 released with an important security fix

2021-05-21 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.6 and 5.2.

This bugfix release solves a few minor issues and also contains an important 
security fix, see below. For the full list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

NOTE: These releases contain a security fix that prevents remote code execution 
through TAL expressions. You will only be at risk if you allow untrusted people 
to add or edit Zope Page Template objects. For more details, see the security 
advisory at 
https://github.com/zopefoundation/Zope/security/advisories/GHSA-5pr9-v234-jw36. 
A CVE has been requested through GitHub.

NOTE FOR PLONE USERS: Before installing Zope 4.6 or 5.2 make sure to install 
PloneHotfix20210518 first, see https://plone.org/security/hotfix/20210518. The 
security changes in Zope break some Plone add-ons that relied on the old 
insecure traversal behavior. PloneHotfix20210518 ensures support for those 
Plone add-ons.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Two or three things about Zope 5

2021-05-07 Thread Jens Vagelpohl
Hi Giampiero,

The warning messages are due to virtualenv creating a folder “lib” and a link 
“lib64” that links to “lib”. Both these library paths are put onto sys.path, so 
to Zope it looks like there are two distinct locations containing the same Zope 
products.

Installing Zope products into a virtual environment with pip isn’t very common. 
Most users and most developers/maintainers use zc.buildout to create Zope 
instances with buildout recipe plone.recipe.zope2instance. See 
https://zope.readthedocs.io/en/latest/INSTALL.html#installing-zope-with-zc-buildout

jens


> On 7. May 2021, at 11:15 , Giampiero Benvenuti 
>  wrote:
> 
> Thank You Jürgen and Thank You Jens!
> 
> ok, with your infos I start  to see some light.
> The error management makes sense now.
> 
> Also, the settings for the timezone are now very clear.
> I also realised I can do something like DateTime('Europe/Rome’). It can be 
> useful when you have multiple sites in one Zope instance in different time 
> zones. (is it a good school?)
> 
> Ok, some baby steps are done, Now I will get to the session "black magic”.
> 
> Oh, one more thing: when I start zope in this way:
> /Applications/zope512/bin/runwsgi /Applications/zope512/etc/zope.ini 2>&1 &
> without the -v, zope is running disattached from the terminal but I get 
> warnings like:
> 
> WARNING [Application:390][MainThread] Duplicate Product name: After loading 
> Product 'BTreeFolder2' from 
> '/apps/zope512/zope/lib64/python3.6/site-packages/Products', I skipped the 
> one in '/apps/zope512/zope/lib/python3.6/site-packages/Products’.
> The same Warning for all the Products I installed with pip: bin/pip install…
> 
> From the terminal I also get all the errors printouts (even if Zope is 
> disattached).
> 
> Thanks again guys,
> 
> —giampiero
> 
>> On 6 May 2021, at 17:51 45, Jens Vagelpohl  wrote:
>> 
>> Hi Giampiero,
>> 
>> 1. Hiding the original exception is done by the waitress WSGI server Zope 
>> uses, not Zope itself. Allowing tracebacks to show in the browser leads to 
>> an information disclosure vulnerability. You can use the expose_tracebacks 
>> argument to waitress by adding it to your WSGI configuration .ini file in 
>> the section for the server:
>> 
>> [server:main]
>> ...
>> expose_tracebacks = True.
>> 
>> Don’t do this for a production site, though. The “minimalistic” error page 
>> is there for security reasons.
>> 
>> 2. As Jürgen mentioned, 
>> https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4
>>  has more information about using sessions in Zope.
>> 
>> 3. Instead of doing a separate EXPORT in your shell when starting Zope you 
>> can edit your Zope configuration file and add an environment section like 
>> this:
>> 
>> 
>>   TZ Europe/Rome
>> 
>> 
>> jens
>> 
>> 
>> 
>>> On 4. May 2021, at 16:24 , Giampiero Benvenuti 
>>>  wrote:
>>> 
>>> Hi there,
>>> 
>>> first of all, I want to thanks all the people who works on the project “5”.
>>> Second, please bear with me while I try to communicate my failures with the 
>>> "5”.
>>> I was able to install zope5.1.2 on my mac and also on opalstack.com with 
>>> the help of Sean. It looks great! The Chameleon Editor works fine and so 
>>> almost all the products I would need.
>>> So far, the only issues I have with it are the errors expressions and the 
>>> Session Data Manager.
>>> 1. When in some script I do some typo like “reuest” instead or “request” I 
>>> get the error “Internal Server Error The server encountered an unexpected 
>>> internal server error (generated by waitress)”
>>> Question: can I have a better and less “minimalistic” error expressions, 
>>> something more “friendly”?
>>> 2. Yeah! Session Data Manager: "Sessioning is currently disabled because 
>>> the session data container path setting is invalid. Please enter the path 
>>> to a valid session data container object.”. What can I do bout it?
>>> 3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
>>> local/zone time in this way: in instance/bin/runzope: export 
>>> TZ=Europe/Rome. How do I fix it in zope5?
>>> 
>>> Thanks you all for your work and help,
>>> 
>>> —giampiero
>>> 
>>> ___
>>> Zope maillist  -  Zope@zope.org
>>> https://mail.zope.org/mailman/listinfo/zope
>>> **

Re: [Zope] Two or three things about Zope 5

2021-05-06 Thread Jens Vagelpohl
Hi Giampiero,

1. Hiding the original exception is done by the waitress WSGI server Zope uses, 
not Zope itself. Allowing tracebacks to show in the browser leads to an 
information disclosure vulnerability. You can use the expose_tracebacks 
argument to waitress by adding it to your WSGI configuration .ini file in the 
section for the server:

[server:main]
...
expose_tracebacks = True.

Don’t do this for a production site, though. The “minimalistic” error page is 
there for security reasons.

2. As Jürgen mentioned, 
https://zope.readthedocs.io/en/latest/zopebook/Sessions.html#alternative-server-side-session-backends-for-zope-4
 has more information about using sessions in Zope.

3. Instead of doing a separate EXPORT in your shell when starting Zope you can 
edit your Zope configuration file and add an environment section like this:


TZ Europe/Rome


jens



> On 4. May 2021, at 16:24 , Giampiero Benvenuti 
>  wrote:
> 
> Hi there,
> 
> first of all, I want to thanks all the people who works on the project “5”.
> Second, please bear with me while I try to communicate my failures with the 
> "5”.
> I was able to install zope5.1.2 on my mac and also on opalstack.com with the 
> help of Sean. It looks great! The Chameleon Editor works fine and so almost 
> all the products I would need.
> So far, the only issues I have with it are the errors expressions and the 
> Session Data Manager.
> 1. When in some script I do some typo like “reuest” instead or “request” I 
> get the error “Internal Server Error The server encountered an unexpected 
> internal server error (generated by waitress)”
> Question: can I have a better and less “minimalistic” error expressions, 
> something more “friendly”?
> 2. Yeah! Session Data Manager: "Sessioning is currently disabled because the 
> session data container path setting is invalid. Please enter the path to a 
> valid session data container object.”. What can I do bout it?
> 3. Sorry, I forgot about this: zone time. In zope 2.xx I used to set the 
> local/zone time in this way: in instance/bin/runzope: export TZ=Europe/Rome. 
> How do I fix it in zope5?
> 
> Thanks you all for your work and help,
> 
> —giampiero
> 
> ___
> Zope maillist  -  Zope@zope.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 )



signature.asc
Description: Message signed with OpenPGP

___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-30 Thread Jens Vagelpohl
Hi Jesus,

> On 29. Mar 2021, at 19:45 , Jesus Cea  wrote:
> 
> On 29/3/21 18:04, Jens Vagelpohl wrote:
>> I don’t know anything about ExtFile/ExtImage specifically, the only 
>> reference I was able to find is from old.zope.org and no one has touched it 
>> since 2007. It looks like there is no support.
> 
> Now the problem is... licensing. The project seems dead for 15 years but I 
> don't see a license files in <https://old.zope.org/Members/shh/ExtFile/>. The 
> readme says ZPL, but not version is listed. Is ZPL still a thing?
> 
> The original old code in <https://old.zope.org/Members/MacGregor/ExtFile/> 
> seems to have a MIT-like license.

The last release (2.0.2) claims that the license is a ZPL, which is definitely 
“still a thing”. All 350+ packages in the zopefoundation GitHub organization 
are licensed under the ZPL, which is still an OSI-certified open source 
license. The current version is 2.1.

The main issue I see in ExtFile is the lack of documentation how the license 
and copyright switch was done. In order to be considered for inclusion in the 
zopefoundation organization projects - if that’s your goal - some proof like a 
written statement of agreement to the license and copyright change from Gregor 
would be mandatory, and then written proof that Stefan Holek agrees to transfer 
copyright to the Plone Foundation. The rest, like the lack of an actual license 
file, is cosmetics and easily fixed.

If those hurdles are too high no one can prevent you from creating a private 
fork and distributing it yourself, as long as you abide by the existing 
copyright and licensing provisions.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jens Vagelpohl


> On 29. Mar 2021, at 17:52 , Jürgen Gmach  wrote:
> 
> 
> Most Zope plugins are hosted now at https://github.com/zopefoundation


To prevent confusion: Code and collaboration tools for development are hosted 
on github.com. The installable packages are hosted on pypi.org.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] ExtFile/ExtImage compatibility with Zope 4/5?

2021-03-29 Thread Jens Vagelpohl
Hi Jesus,

I don’t know anything about ExtFile/ExtImage specifically, the only reference I 
was able to find is from old.zope.org and no one has touched it since 2007. It 
looks like there is no support.

The product will need to be repackaged as an egg or wheel first, otherwise you 
won’t be able to start any real compatibility testing. Zope 4 does not allow 
you to just unzip a product inside a products folder anymore.

Most products only need minor modifications once they are repackaged. How to do 
this repackaging is a general Python packaging question, I suggest you just 
look at Zope products that are compatible, e.g. 
https://github.com/zopefoundation/Products.PluginRegistry, to get an idea.

Zope products are hosted where all other Python packages are hosted: pypi.org.

jens


> On 29. Mar 2021, at 17:04 , Jesus Cea  wrote:
> 
> Signed PGP part
> I am getting ready to migrate to Zope 4, and checking products I depends 
> massively on ExtFile/ExtImage. I wonder about the support of that product or 
> something similar.
> 
> Where are third-party Zope products hosted nowadays?
> 
> If this product is not supported/abandoned in Zope 4/5, would be people 
> interested in a fork maintained by me?
> 
> Could I ask here questions about "the modern way" of writing products for 
> current Zope? If not, who/where should I ask?
> 
> Thanks.
> 
> --
> Jesús Cea Avión _/_/  _/_/_/_/_/_/
> j...@jcea.es - https://www.jcea.es/_/_/_/_/  _/_/_/_/  _/_/
> Twitter: @jcea_/_/_/_/  _/_/_/_/_/
> jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
> "Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> 
> 
> 



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.5.5 and 5.1.2 released

2021-03-02 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.5.5 and 5.1.2.

This bugfix release solves a few minor issues and improves security checking 
for some types of XML-RPC requests. For the full list of changes see the change 
logs at https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


[Zope] Two low-impact security issues in Products.PluggableAuthService

2021-02-26 Thread Jens Vagelpohl
Hi all,

Two low-impact security issues have been identified in 
Products.PluggableAuthService:

- an information disclosure issue involving the ZODB Role Manager plugin. See 
https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p75f-g7gx-2r7p
 for details.

- an open redirect issue in the Cookie Auth Helper. See 
https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p44j-xrqg-4xrr
 for details.

Both issues are mitigated by updating to Products.PluggableAuthService version 
2.6.1 or higher. The Plone release managers will apply this update with Plone 
bugfix releases they are planning to publish within the next few days.

jens




signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.5.4 and 5.1.1 released

2021-02-10 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the releases of 
Zope 4.5.4 and 5.1.1.

This bugfix release solves a few minor issues and updates the shipped versions 
of bootstrap, jQuery and Font Awesome to their latest releases. For the full 
list of changes see the change logs at 
https://zope.readthedocs.io/en/4.x/changes.html#id1 and 
https://zope.readthedocs.io/en/latest/changes.html#id1

Installation instructions can be found at 
https://zope.readthedocs.io/en/4.x/INSTALL.html and 
https://zope.readthedocs.io/en/latest/INSTALL.html.

Jens Vagelpohl


signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope 4.1.1 released

2019-07-02 Thread Jens Vagelpohl
On behalf of Zope developer community I am pleased to announce the release of 
Zope 4.1.1.

It is a bugfix release with the following changes:

* fixed the ZMI for non-root deployments.
* document the zope.conf parameters directly from its schema
* update to more current dependencies

For details of the changes see
https://zope.readthedocs.io/en/latest/changes.html#id1


To install the new version see
https://zope.readthedocs.io/en/latest/INSTALL.html

Jens Vagelpohl



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Announcement: Zope 4.0-final released

2019-06-14 Thread Jens Vagelpohl
No. You will need to do extensive testing of your application  

jens


> On Jun 14, 2019, at 16:50, Jesus Cea  wrote:
> 
>> On 10/5/19 14:48, Michael Howitz wrote:
>> On behalf of Zope developer community I am happy to announce the
>> final release of Zope 4.
> 
> Great!.
> 
> Am I supposed to be able to just upgrade a Zope 2.13.29 deployment to
> 4.0 without with little if any worries? I will use python 2.7 for now.
> 
> My plan is:
> 
> Python 2.7 + Zope 2 -> Python 2.7 + zope 4 -> (future) -> Python 3
> 
> Is that sensible?.
> 
> -- 
> Jesús Cea Avión _/_/  _/_/_/_/_/_/
> j...@jcea.es - http://www.jcea.es/ _/_/_/_/  _/_/_/_/  _/_/
> Twitter: @jcea_/_/_/_/  _/_/_/_/_/
> jabber / xmpp:j...@jabber.org  _/_/  _/_/_/_/  _/_/  _/_/
> "Things are not so easy"  _/_/  _/_/_/_/  _/_/_/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/_/_/_/  _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> 
> ___
> Zope maillist  -  Zope@zope.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 )

___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Zone 4 issue: The 'Paste' distribution was not found and is required by the application

2019-06-14 Thread Jens Vagelpohl
You can run “bin/pip install Paste” in the virtualenv.

jens



> On 14. Jun 2019, at 13:46 , Giampiero Benvenuti 
>  wrote:
> 
> Hello,
> 
> I was wondering if somebody run into this error, and how should I take care 
> of it:
> 
> python3.6 -m venv zope4.0
> cd zope4.0
> bin/pip install -r 
> https://zopefoundation.github.io/Zope/releases/4.0/requirements-full.txt
> bin/mkwsgiinstance -d .
> bin/runwsgi -v etc/zope.ini
> 
> Error:
> File 
> "/Applications/zope4.0/lib/python3.6/site-packages/pkg_resources/__init__.py",
>  line 778, in resolve
>   raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'Paste' distribution was not found 
> and is required by the application
> 
> Any idea?
> 
> Thanks so much,
> 
> Giampiero
> ___
> Zope maillist  -  Zope@zope.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 )



signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Announcement: Zope 4.0-final released

2019-05-10 Thread Jens Vagelpohl

> On 10. May 2019, at 7:48 , Michael Howitz  wrote:
> 
> 
> To install the new version see the instructions for
> either zc.buildout: http://zope.readthedocs.io/en/latest/INSTALL-buildout.html
> or virtualenv/pip: 
> http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html
> or pipenv: https://zope.readthedocs.io/en/latest/INSTALL-pipenv.html


CORRECTION: The installation documentation is at 
https://zope.readthedocs.io/en/latest/INSTALL.html


jens





signature.asc
Description: Message signed with OpenPGP
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Announcement: 2013 Zope Foundation Board Elections and General Meeting

2013-02-02 Thread Jens Vagelpohl

On Feb 2, 2013, at 1:49 , Alex Clark  wrote:

> Hi Tres,
> 
> On 2013-02-01 16:19:55 +, Tres Seaver said:
>> An online version of this announcement is available at:
>>  http://foundation.zope.org/news/2013_election_and_general_meeting
> 
> 
> I get a 404 on this link FWIW

Sorry about that, the news item had not been created. I have done that now.

jens


___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] help

2013-01-15 Thread Jens Vagelpohl

On Jan 15, 2013, at 14:01 , Daniel Godefroy  wrote:

> Please remove me from the list

Just follow the link that you see at the bottom of every single email from the 
list.

Thanks!

jens



___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Zope and security vulnerability: 20121106

2012-11-13 Thread Jens Vagelpohl

On Nov 13, 2012, at 10:16 , Jürgen Herrmann  wrote:
> I successfully applied these hotfixes to Zope 2.13 versions
> without any problems. What puzzles me though is why was there
> no announcement for theses fixes here on zope ml? Or are these
> fixes not critical for pure Zope2 users? Or are these all fixed
> in the latest version of Zope2?

There was no announcement here because those patches were prepared by Plone 
developers without our knowledge and announced without our knowledge. The Zope 
developers know as much about these patches (meaning little to nothing) as any 
other Zope user.

jens




smime.p7s
Description: S/MIME cryptographic signature
___
Zope maillist  -  Zope@zope.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 )


[Zope] Zope Foundation patch policy

2012-10-09 Thread Jens Vagelpohl
Hi all,

During the discussion about new ways to host and manage code in Zope Foundation 
repositories one omission we had never really addressed became clear: What is 
the status of patches reaching us by people who have not signed the contributor 
agreement, e.g. code uploaded to issue trackers, or code checked into Zope 
Foundation repositories by people other than the original authors? We need to 
have guidelines that ensure that we don't end up with code exclusively owned by 
third parties where no ownership assignment has taken place in our repositories.

Fortunately the Plone Foundation has considered this exact issue before us and 
we took their well-written patch policy[1] and adapted it for our own use. 
Thanks to the Plone Foundation board and all those who drafted their policy.

The Zope Foundation board has voted on adopting the following text as the 
official Zope Foundation patch policy, binding for all Zope Foundation 
contributors (PDF alert):

http://foundation.zope.org/agreements/ZopeFoundation_Patch_Policy.pdf

Jens Vagelpohl

-- 
Jens Vagelpohl
Secretary, Zope Foundation Board of Directors


[1] 
http://plone.org/foundation/materials/foundation-resolutions/patch-policy-052011
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Conversion old.zope.org to static site

2011-10-14 Thread Jens Vagelpohl

On Oct 14, 2011, at 12:26 , Jaroslav Lukesh wrote:

> Hi,
> there are no image to view:
> 
> http://old.zope.org/Members/heiko.stoermer/ListMate/manual_pics/folder_contents
> 
> Image is missing:
> 
> http://old.zope.org/Members/heiko.stoermer/ListMate/manual_pics/ListMate_create.gif/image_view
> 
> and code:
> 
> 

The tutorial page, which uses those files, is now fixed:

http://old.zope.org/Members/heiko.stoermer/ListMate/manual_html

The last broken image at the top doesn't exist on the old site, either.

jens



___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Conversion old.zope.org to static site

2011-10-14 Thread Jens Vagelpohl

On Oct 14, 2011, at 11:44 , Jaroslav Lukesh wrote:

> Try to use this mirroring software - Metaproducts Offline Explorer 
> Enterprise.

Hi Jaroslav,

I'm not sure what you mean. The conversion is already done. We are not looking 
for software to do it. We're gathering feedback and fixing issues at this stage.

jens



___
Zope maillist  -  Zope@zope.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 )


[Zope] Conversion old.zope.org to static site

2011-10-14 Thread Jens Vagelpohl
Hi all,

Just as a heads-up: Jim Fulton and I have converted old.zope.org to a static 
website. This allows ZC to decommission the hardware and reduces the 
maintenance burden for everyone involved.

We have tried to keep all URLs intact and the site navigation working at the 
same time, which required a little creative thinking.

Some of you rely on resources from the old.zope.org site, such as release 
tarballs of older Zope versions and other products. Please test and ensure the 
files you need are still where you expect them. If you have problems, just 
contact me off-list and I'll take a look.

jens


___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Forcing zope to preload objects in cache

2011-02-08 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/8/11 12:11 , Marco Bizzarri wrote:
> I'd like to force Zope to reload the cache; of course, I could access
> various pages using a wget or something liket that; but how can I force Zope
> to 'fill' all connections, and just one?

Fire off several concurrent requests?

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAk1RVNsACgkQRAx5nvEhZLKuOQCgsLbWaXqH83bBL6UQjFE1iJC/
+fEAnAkAYc57k7KOs+DP+hBsPY6ZCKh/
=ABvX
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Monkey patch for BLOB support in OFS.Image Images and Files

2011-01-08 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/7/11 22:28 , William Heymann wrote:
> I have a monkey patch here that I would like comments on it and to see how it 
> works for others.

Hi William,

A huge monkey patch like that makes it very hard to compare it with the
original implementation and see the actual changes. You could help the
review *greatly* by providing a diff to the original implementation
instead, and post that to the Zope bug tracker on Launchpad:

https://bugs.launchpad.net/zope2

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAk0oQ1kACgkQRAx5nvEhZLJk5gCgtnVBC7XF6PbOlOf1NPr6Ge70
gZoAn3VM6J8ecvLvXZzlFP55LQ4/Szr6
=Bfle
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] zope timeouts

2010-07-20 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Michele,

> thank you for your answer. Now since I'm new with "gdb" I have some questions.
> I did following. I created a file called "gdb_batch" with following content:
> 
> info threads
> thread 1
> bt
> thread 2
> bt
> thread 3
> bt
> thread 4
> bt
> thread 5
> bt
> 
> and run the "gdb" command like this
> 
> gdb python $(cat Z2.pid) --batch -x gdb_batch  > gdb_bt.log 2>&1
> 
> Can you maybe help me to "decode" the output (see attachment)?

There's nothing in the output that jumps out at me I am afraid. In those
very few situations where I had to use gdb (it's literally been years
ago) I saw references to specific OS-level libraries, such as the
OpenLDAP libraries, that told me the code is hanging waiting for an
answer from an LDAP server.

Maybe someone else has a better idea.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkxFyHAACgkQRAx5nvEhZLJzegCfdmIT/7Wj/6ZUBPISCUqs25L6
GlEAoJSs1K6CqVzFa+rUqWr2mLOa7dYn
=3+q7
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] zope timeouts

2010-07-20 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Michele,

I would consider the coincience with strace "reviving" the process a red
herring. When strace runs it does not influence the process you are
watching with it, except for telling you what OS-level calls are made.

The most common reason for such timeouts are problems with software that
tries to use other network resources during the running request to talk
to services like RDBMS systems, LDAP, etc. If these background
connections hang for some reason you'll end up with a hanging Zope
thread. Enough of them and Zope itself appears to hang.

When your process hangs you should be able to attach to it using "gdb"
and printing a stack trace for each thread. That may give you a big clue
where the problem is.

jens


On 7/20/10 13:53 , Michele Marcionelli wrote:
> Hello
> 
> I'm running an old version of Zope which is required by our corporate design 
> using also an older version of the CMS Silva:
> 
> Linux Distribution: Red Hat Enterprise Linux Server release 5.5
> Linux Kernel: 2.6.18-194.8.1.el5PAE
> Zope: 2.8.9.1
> Python: 2.3.6 (with several modules, like: ldap, pil, mysql, pyxml, ...)
> Silva: 1.5.13
> 
> My problem ist that my zope server hat timeouts on displaying pages after a 
> while that it has been started (currently this "while" is approx. 15 
> minutes). The only thing that helps is restarting zope.
> 
> By accident I discovered about two month ago, that running an "strace -f" on 
> the zope process, "reactivated" it... so I could live with this hack until 
> yesterday.
> 
> Now I'm running "strace" permanently (with all the disadvantages) and zope 
> works "fine" for about 1 to 1.5 hours.
> 
> Here is a short recurring output of "strace":
> 
>> [pid 13408] <... futex resumed> )   = 0
>> [pid 13406] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL 
>> [pid 13405] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1 
>> [pid 13408] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1 
>> [pid 13407] <... futex resumed> )   = 0
>> [pid 13405] <... futex resumed> )   = 1
>> [pid 13408] <... futex resumed> )   = 1
>> [pid 13405] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL 
>> [pid 13408] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL 
>> [pid 13406] <... futex resumed> )   = 0
>> [pid 13406] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL 
>> [pid 13407] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1) = 1
>> [pid 13405] <... futex resumed> )   = 0
>> [pid 13407] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1 
>> [pid 13405] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL 
>> [pid 13408] <... futex resumed> )   = 0
>> [pid 13407] <... futex resumed> )   = 1
>> [pid 13407] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL 
>> [pid 13405] <... futex resumed> )   = -1 EAGAIN (Resource temporarily 
>> unavailable)
> 
> 
> I need definitively help... Any idea?
> 
> Thx,
> Michele
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkxFnHQACgkQRAx5nvEhZLIZTgCfdU00UhqXAwXxsXxypv+wSsPR
VSEAn3UXIACBeAuClfi23jo/+MSWDdJB
=Cvv7
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] [alert] domain issues zope.org and zopefoundation.org

2010-06-16 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/16/10 13:51 , Jens Vagelpohl wrote:
> Hi all,
> 
> Unknown to the Zope Foundation and the ZF admins it appears the zope.org
> and zopefoundation.org domains have expired.

Hi all,

The situation has being resolved.

It turns out only the zopefoundation.org domain had expired and thus
hosts in that domain showed what looked like a domain grabber page.
Since some records in the zope.org domain such as docs.zope.org or
download.zope.org pointed to zopefoundation.org hosts via CNAME it
appeared as if zope.org had expired as well. The obfuscated owner
information in WHOIS did not help that impression. The zope.org domain
had not expired, though.

Rob has renewed the zopefoundation.org domain just now. Some people may
still experience issues due to DNS caching, but those should clear up
over the next 24 hours.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkwYyxIACgkQRAx5nvEhZLJoIgCcCkwNELTGFysF24zKU/9xQLrW
VzUAmwW+wNZTV5ylFnWOsF18/6eAVGk/
=MqAs
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


[Zope] [alert] domain issues zope.org and zopefoundation.org

2010-06-16 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

Unknown to the Zope Foundation and the ZF admins it appears the zope.org
and zopefoundation.org domains have expired. The domains were held by
Rob Page as Zope Corporation representative.

For community members this means services like the different community
websites, SVN access, and the mailing lists may be disrupted until the
domain situation is corrected.

We are in the process of trying to reach Rob Page.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkwYusUACgkQRAx5nvEhZLKzRgCfen1pSegA6r7ZigvwsRISM7Tu
rBUAnjBmAXwS6HECUYcoF3357z3750pF
=MVaV
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


[Zope] Test mail, please ignore

2010-05-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Quick test, please ignore
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkv/WJkACgkQRAx5nvEhZLJ4oACgm3AmtfWAwvrhVvB83AxcbHfJ
EdkAoLTWC5DeBS3xsls8FTCPU5UEZIgu
=q806
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


[Zope] REMINDER: Planned server and list outage LATER TODAY

2010-05-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Reminder:

Today at 20:00 UTC (less than 12 hours from now) one of the Zope
Foundation-maintained servers will be physically moved to a different
data center by our hosting provider. The server will be shut down at
around 20:00 UTC and, according to the hosting provider, become
available again no later than 05:30 UTC tomorrow (Friday, May 28).

This outage will affect several websites as well as the mailing list
service. No mail sent to the lists will be lost, though, it will just be
queued up on our secondary mail relay, which is unaffected by this move.
Once the main server comes back up it will be delivered.


Services affected
=
 - the docs.zope.org website
 - the download.zope.org website
 - all zope.org mailing lists and the lists.zope.org website


Server shutdown
===
Thursday, May 27 (TODAY) 20:00 UTC
 - 22:00 CEST/Berlin
 - 16:00 EDT/New York
 - May 28 06:00 EST/Sydney


Server start

On or before Friday, May 28 (TOMORROW) 05:30 UTC
 - 07:30 CEST/Berlin
 - 01:30 EDT/New York
 - 15:30 EST/Sydney


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkv+LTYACgkQRAx5nvEhZLIg4gCeKpPV3ZZVinNhDA8F9Rj1KV0Q
nkMAnj1r+faNJnWhEKIrYqhZYUITipJx
=EDSt
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


[Zope] NOTICE: Planned server and list outage

2010-05-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please note:

First of all, apologies for the cross-posting. I wanted to reach as many
people as possible.

On Thursday, May 27 (2 days from now) one of the Zope
Foundation-maintained servers will be physically moved to a different
data center by our hosting provider. The server will be shut down at
around 20:00 UTC and, according to the hosting provider, become
available again no later than 05:30 UTC the next day (Friday, May 28).

This outage will affect several websites as well as the mailing list
service. No mail sent to the lists will be lost, though, it will just be
queued up on our secondary mail relay, which is unaffected by this move.
Once the main server comes back up it will be delivered.


Services affected
=
 - the docs.zope.org website
 - the download.zope.org website
 - all zope.org mailing lists and the lists.zope.org website


Server shutdown
===
Thursday, May 27 20:00 UTC
 - 22:00 CEST/Berlin
 - 16:00 EDT/New York
 - May 28 06:00 EST/Sydney


Server start

On or before Friday, May 28 05:30 UTC
 - 07:30 CEST/Berlin
 - 01:30 EDT/New York
 - 15:30 EST/Sydney

I will send a reminder a few hours before the move.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkv7m9AACgkQRAx5nvEhZLKc6ACdGs5yEK91p/4zqC962mRK1uAE
1ZUAoLX+sS1EoCvvd4lztmpxGwmla8RO
=g4v9
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Zope2.12

2009-12-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Pharis wrote:
>   for="Test.interfaces.INewTestSite"
>contents="zope.ManageContent"
>index="zope.View"
>add="zope.ManageContent"
>/>
> 
> ZopeXMLConfigurationError: File
> "/home/binbrain/Programs/Zope2.12/instance/lib/python/Test/browser/configure.zcml",
> line 14.2
> ConfigurationError: ('Unknown directive', u'
> http://namespaces.zope.org/browser', u'containerViews')
> 
> So containerView is declared in
> ./zope.app.container-3.8.0-py2.6.egg/zope/app/container/browser/meta.zcml
> and I proceeded to just add it etc/site.zcml. That's when I noticed that the
> package-includes were by in large missing. At least it looks that way.

Not all Zope 3 ZCML directives work in Zope 2. You need to look at the
Five product included with Zope 2 which provides Zope 2-shims for many
Zope 3 directives, especially those involving browser views.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAks0wy4ACgkQRAx5nvEhZLLenQCfevHE7G5nOcfi7hFh1L80zBqm
n50AoJbVNdEvJwGNs2xjgO6+I9/0MvqK
=PtXu
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Zope2.12

2009-12-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Pharis wrote:
> Yes, I'm running into missing bits in various places. So even though Z2.12
> is based on ZTK eggs, and ZTK eggs are designed using all the CA goodness, I
> still can't easily develop using those methods. So I'm left leaving this
> conversation thinking that I'm back to developing Products using the
> esoteric manage_* methods, even in 2.12.

The component architecture is fully entrenched within Zope 2.12 and you
can use it just like you were able to use it in Zope 3. However, since
the ZTK is not Zope 3, you won't have all Zope 3 facilities available,
that's a fact of life. Why you conclude that you're somehow forced to
use "esoteric manage_* methods" I am note sure.

Maybe someone can help if you mention specific code where you think you
cannot develop the Zope 3 way.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAks0tmcACgkQRAx5nvEhZLI5HgCgnxAapQcX6MJtI/Lfuou2CHzZ
IPMAnAvEdcegdQ8TnK1JqKD5w0e4+pLV
=KJ4B
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Zope2.12

2009-12-25 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Pharis wrote:
> I have several existing Z2 Products that aren't going anywhere. I still need
> these. I can't just move to Z3 and leave our existing Z2 Products behind.

There seems to be a misunderstanding what the ZTK is and what it isn't.

The ZTK is *not* Zope 3, it is a bundle of libraries distilled from what
used to be Zope 3. It does not include all of Zope 3, but those bits
that were deemed to be useful for re-use. If there is any expectation
that you can take a Zope 3 application and it will run unter Zope 2.12
"because it's based on the ZTK" then that's wrong. You will run into
missing bits.

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAks0rF8ACgkQRAx5nvEhZLJOlQCgtI+U//EjdgSZjqtLqvmBXCrb
ocIAn1gVbBYw7wsPcHSW/CNF9Z55VcZf
=9Yvc
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] Finding unused products

2009-11-29 Thread Jens Vagelpohl

On Nov 29, 2009, at 11:59 , Gaute Amundsen wrote:

> 
> Quick question before I reinvent.
> 
> Is there some established way of finding products which have no
> instances in zodb, and can be safely removed?

No there isn't. You may have to invest some time writing a script that visits 
all objects to find out what products they belong to. It may not be worth the 
effort.

jens



___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] How to disable transaction log feature in zope

2009-09-02 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 2, 2009, at 10:09 , Kedar Dash wrote:

> Let us keep this performance/ maintenance issue aside. is there a  
> way where by this feature can be disabled so that zope does not log  
> this at all.

No there is not.

jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkqeKPEACgkQRAx5nvEhZLK7fwCfSGu3OpedWTQdTy7dVQtoEESM
RbgAnRlIpl8wS+EDivXJhxKP92UpPPxX
=4IRL
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] problem connecting LdapUserFolder with Active Directory

2009-09-01 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 2, 2009, at 04:33 , Miguel Beltran R. wrote:

> OPERATIONS_ERROR: {'info': ': LdapErr: DSID-0C090627,  
> comment: In
> order to perform this operation a successful bind must be completed  
> on the
> connection., data 0, vece', 'desc': 'Operations error'}

The error message is informative enough I would say. An operation  
(probably a search) is being performed, but no bind has happened.

Since there is a (simple) bind being performed in the code right  
before this error it appears AD does not like it. Maybe AD is not  
configured to allow sinple user/password binds. Or it is configured to  
only allow access from certain hosts, and the host with the Zope  
installation is not on that list. With AD, the possibilities for  
problems are endless.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkqeEQwACgkQRAx5nvEhZLK6nACfSTxtVaplzFSh9NZbhlp61Obr
BmcAnRr626z6IIfzu062WzWcnh0CRvcO
=CmKK
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.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 )


Re: [Zope] [Zope-dev] [action required] Zope Contributor Agreement change

2009-06-19 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 19, 2009, at 19:01 , Wichert Akkerman wrote:

> Are you sending receipt confirmations? I submitted an updated  
> agreement
> a while ago, but never got a response, so I am unsure at the moment if
> it was received or if I still need to take further action.

Hi Wichert,

No, confirmations are not sent. If you have not received a personal  
email directly addressed to you before the mailing list emails, which  
are designed as a fall-through to those who do not read these personal  
emails, then you are fine.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAko7xRoACgkQRAx5nvEhZLI51wCfb4u4PiGzpfUE7QtF74wV+M66
SpYAoI+6JhlQUKB0YufC8mhFxM7b+lkn
=AU+c
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] [action required] Zope Contributor Agreement change

2009-06-19 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

This is a last reminder for those current contributors to the Zope  
software repositories on svn.zope.org who have not sent in the new  
contributor agreement as outlined below. Please do so before June 26,  
otherwise your write access will be removed.

Thanks!

jens


  ---

You may be aware that the copyright for software stored in the
software repositories on svn.zope.org has recently been assigned
to the Zope Foundation, from the earlier copyright holder Zope
Corporation. The old contributor agreements expressly assigned
a joint copyright to Zope Corporation for any software checked
into svn.zope.org repositories. With the Zope Foundation taking
over these copyrights, the agreement with the contributors needs
to change so that the Zope Foundation is the joint copyright
holder for all new code coming into the repositories.

For you as a contributor this means you need to submit a new
contributor agreement[1] if you want to stay on as an active
contributor to Zope and/or the other software hosted in the
repositories on svn.zope.org. Here's how:

  - download the new agreement[1]

  - fill in the new agreement, and since you are a current
contributor it is OK to enter Jim Fulton (j...@zope.com) as the
required reference committer

  - sign and date the agreement

  - either scan the agreement and email it to foundation-i...@zope.org,
or fax it to the Zope Foundation fax number +1 (703) 842-8076

To ensure a timely copyright transition we ask you to submit the
new contributor agreement no later than June 17, 2009. The
Zope Foundation board will try to contact any contributor who
has not replied at that point between June 18 and June 26, and
on June 26 checkin access will be removed for those who have not
sent in the new agreement.

Thanks again for your support!

Jens Vagelpohl
Secretary, Zope Foundation Board of Directors


[1] http://foundation.zope.org/agreements/ZopeFoundation_Committer_Agreement

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAko7g9IACgkQRAx5nvEhZLJvhACglvhy4BaNiopzRl1Wmd2QKvqs
lNQAn0TFevKwT6kBSJ6m+ZJgDACvRSqF
=pvqS
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] [action required] Zope Contributor Agreement change

2009-05-24 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

Please exclude the mass-email, most of you will receive this more than  
once, we're hoping to catch any current contributor whose email  
address on zope.org is not current. Anyone who has svn.zope.org  
checkin privileges and has not received personal email with the  
content below, please read and follow the instructions, otherwise you  
may find yourself without access.

Thanks!

jens


- ---

You may be aware that the copyright for software stored in the
software repositories on svn.zope.org has recently been assigned
to the Zope Foundation, from the earlier copyright holder Zope
Corporation. The old contributor agreements expressly assigned
a joint copyright to Zope Corporation for any software checked
into svn.zope.org repositories. With the Zope Foundation taking
over these copyrights, the agreement with the contributors needs
to change so that the Zope Foundation is the joint copyright
holder for all new code coming into the repositories.

For you as a contributor this means you need to submit a new
contributor agreement[1] if you want to stay on as an active
contributor to Zope and/or the other software hosted in the
repositories on svn.zope.org. Here's how:

- - download the new agreement[1]

- - fill in the new agreement, and since you are a current
  contributor it is OK to enter Jim Fulton (j...@zope.com) as the
  required reference committer

- - sign and date the agreement

- - either scan the agreement and email it to foundation-i...@zope.org,
  or fax it to the Zope Foundation fax number +1 (703) 842-8076

To ensure a timely copyright transition we ask you to submit the
new contributor agreement no later than June 17, 2009. The
Zope Foundation board will try to contact any contributor who
has not replied at that point between June 18 and June 26, and
on June 26 checkin access will be removed for those who have not
sent in the new agreement.

Thanks again for your support!

Jens Vagelpohl
Secretary, Zope Foundation Board of Directors


[1] http://foundation.zope.org/agreements/ZopeFoundation_Committer_Agreement


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkoZOwkACgkQRAx5nvEhZLLfxwCglA45Oyk3fIr8uUasH5O4BQc9
VIEAnA2Tdk/Yh3C5bDlnIcaCklcQd/Ci
=/wUA
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mar 28, 2009, at 01:16 , thedag...@gmail.com wrote:

>> Telling someone to install all of Plone just to make filesystem
>> content available seems insane, sorry. There are several products out
>> there which can do the job, like LocalFS.
>
> LocalFS has been updated since 2006. There is nothing in the zope  
> world that is as well maintained as plone. Sorry.

You're not getting my point. Why would I install a huge package just  
for one small functionality?

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAknN3K0ACgkQRAx5nvEhZLIFggCdHt42IgRINAX1PaDyEcH/+M2v
OoYAni2eDjs8FaNzfA/Vir3qkgrgT1zc
=bA60
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to add existing folder in Zope

2009-03-27 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mar 27, 2009, at 18:11 , Tim Nash wrote:

> Or you may be able to use CMF  'Filesystem directory view'. The  
> easiest way
> to do that is to use Plone 3.

Telling someone to install all of Plone just to make filesystem  
content available seems insane, sorry. There are several products out  
there which can do the job, like LocalFS.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAknNE78ACgkQRAx5nvEhZLLSZACgnouX6fbkoZjY1jI5KuER4iWt
p40An1l92ewh+I0Gka3ak55qDlhWavQR
=mqeJ
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Can't start Zope

2009-03-10 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Mar 10, 2009, at 21:35 , Ken Winter wrote:

> I have done something to my Zope instance that has prevented Zope from
> starting (after many years of working fine).  Can you help me find a  
> way
> out?

 From the traceback it looks like the Zope 2.9.8 instance is being  
started on top of Python 2.5 - I bet you did not have this combination  
when things worked fine. The first thing I would do is go back to the  
version of Python you were using before.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkm20hwACgkQRAx5nvEhZLJQtwCdHNWUpskxpsi4jpjFYZGH6k86
nbYAoInV9JQUP/HZ/Zi+qB3Uhl39SYOs
=zr9W
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Error in python method...

2009-01-13 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jan 13, 2009, at 20:53 , Jeff Peterson wrote:

Don’t quote me but I believe Plone 3 runs on the Zope 3 framework  
already.  Anyone?


No.

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkls+n4ACgkQRAx5nvEhZLLeUQCfa6+d2/zHAfyeKrUNB7+9XPaR
56wAn3SCd4QxQPYssTJewH1Y/aIOA3nL
=Qh+b
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] New Zope Foundation bylaws passed

2008-12-17 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

After a lot of hard work a special Zope Foundation membership meeting  
called for December 12, 2008 passed a new set of bylaws unanimously.

The current bylaws were based on those of the Eclipse foundation,  
which shortly after adoption were discovered to be too heavyweight for  
the kind of organization the Zope Foundation aims to be. Evolving the  
existing bylaws into something more appropriate and manageable was  
attempted but failed.

The proposed bylaws are based on the bylaws of the Python Software  
Foundation, with some additional improvements the PSF itself is  
intending to implement. They were also brought in line with the fact  
that the Zope Foundation expects to conduct most of its meetings and  
communication online.

The major differences between the current and the proposed bylaws are:

  * Making changes to the bylaws becomes easier.

  * There will be only three classes of members:

 1. Nominated Members, an individual and free membership that  
replaces the old 'committer' and 'associate' memberships.  There will  
no longer be any formal relation between being a Zope Committer and  
becoming a Foundation Member.

 2. Sponsorship Members, members who financially sponsor the  
Foundation.

 3. Emeritus Members, members who retired from active membership.

The new bylaws can be downloaded from the Zope Foundation website at
http://foundation.zope.org/bylaws/zope_foundation_bylaws.pdf

Jens Vagelpohl, Board Member, Zope Foundation


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAklJG3kACgkQRAx5nvEhZLKqnQCfdyRuxscSC8WuRy+2KToifNEu
RxIAnixe40ecsE0cAmog5K4dPPgq24eX
=gzty
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2.x for Py 2.6 as 64 bit Windows application?

2008-10-10 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Oct 10, 2008, at 17:00 , Chris Withers wrote:

> [EMAIL PROTECTED] wrote:
>> I'd be grateful for a rough idea on when there could be a Zope 2.x  
>> release
>> working with Python 2.6 as a 64-bit Windows application.
>
> Given that we don't even have Zope 2 on Python 2.5 yet, I'd suggest
> purchasing some serious chiller units for hell or investing in some
> bovine aviation devices...

Congratulations Chris, you have made the step from just being caustic  
and antagonistic to actually being funny ;-)

jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkjvcnwACgkQRAx5nvEhZLKl/wCggqYP1tFiI5pqvK9oovO22MUi
6WEAn33VSqcBcT4Uz9SFVscYtskgcWve
=w1Qe
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] uncataloging

2008-08-16 Thread Jens Vagelpohl

On Aug 16, 2008, at 11:06 , Dieter Maurer wrote:

> The easiest way to determine the "uid" is probably
> to locate the object via a catalog search. You will get a catalog  
> proxy
> for the object, often also called "brain".
> This proxy has the method "getPath()"
> which returns the object's "uid" -- don't ask about the inconsistent
> naming (at one place "uid", at another one "path").

The naming is not inconsistent. The UID happens to be the path by  
default, but it doesn't need to be. The getPath method returns the  
path, not the UID.

jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope capacity planning

2008-08-13 Thread Jens Vagelpohl

On Aug 13, 2008, at 22:42 , Ricardo Bánffy wrote:

> Hi folks.
>
> I was giving a class on Zope/Plone administration and one of the
> students asked about an "official" guide on Zope capacity planning. I
> searched zope.org, asked all mighty Google and wandered through both
> the darkest and lightest sites that say things about Zope with no
> success.
>
> Is there such a thing? Is there any reference these students can point
> to when they say they need half-a-ton of servers to serve their
> requests?

There is no such thing. The reason is simple: It all depends on the  
application(s) you put on top of Zope and how CPU/Memory-hungry they  
are.

jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Thesaurus / ontology / taxonomy support in Zope-Plone

2008-08-11 Thread Jens Vagelpohl

On Aug 11, 2008, at 14:26 , Benjamin Michiels wrote:

> Hi,
>
> (I'm new to Zope and Plone, so don't hesitate to indicate me a more  
> appropriate
> mailing-list if necessary)

You may get better Plone-related answers on the Plone list(s). See  
plone.org.

jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] LDAPUserFolder question

2008-07-08 Thread Jens Vagelpohl


On Jul 8, 2008, at 18:51 , Erik Myllymaki wrote:


I am using LDAPUserFolder-2.9 with Zope 2.10.6 on Ubuntu 7.

It is working well, users can log in and I can map groups to Zope  
roles.


However, I was hoping that I could assign groups local roles, so  
that I can allow groups to be 'Managers' only in certain sub-folders  
of our site.


Is this possible with LDAPUF, do I need additional packages, have i  
set it up incorrectly?


Erik,

The LDAPUserFolder itself has nothing to do with local roles per se.  
It also has no concept by itself of groups as Zope knows them in  
certain applications like Plone. The LDAPUserFolder equates group  
records in LDAP with roles in Zope, not with groups.


You're not providing any information about what your application looks  
like and what you're trying to achieve, but you may find more  
functionality (like Zope group support) by using the  
PluggableAuthService user folder in conjunction with the  
LDAPMultiPlugins product.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] not possible to download anything

2008-06-13 Thread Jens Vagelpohl


On Jun 13, 2008, at 10:18 , robert rottermann wrote:


Hi there,

after the dislocation of the zope servers zope.org is reachable  
again from where I am (switzerland)

however it is not possible to download anything.


The Zope Corp sysadmins and Jim are aware of the problems and working  
on it.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] NOTICE: zope.org server move

2008-06-10 Thread Jens Vagelpohl
The zope.org-related servers and services maintained by Zope  
Corporation will be moving to a new home late Thursday night Eastern  
Standard Time.


What services are affected?
---

The most important service addresses include...

 - www.zope.org
 - svn.zope.org
 - cvs.zope.org
 - mail.zope.org and lists.zope.org

How long will the outage last?


The servers will be moved physically to a new hosting provider. There  
will be an outage of about 2 hours for the physical move, as well as  
an outage while the new DNS information for these services propagate  
throughout the internet. Service may be spotty for several hours past  
the 2 hour physical move window. Work is slated to start at about  
11:00 PM Eastern Standard Time (04:00 GMT, 05:00 CEST).


How does this affect me?


If you are doing development on software stored on svn.zope.org, or if  
you want to surf www.zope.org or use the egg repository on zope.org  
you will see an outage lasting at least 2 hours. Please refrain from  
checking in software changes during this period and wait until the  
service addresses resolve normally. Mail to or from the Zope mailing  
lists will be interrupted until the physical move has been completed  
and the DNS record changes have propagated to your ISP.


The Zope Corporation sysadmin team will handle the move, if you have  
any questions please contact me directly and I will clear up any  
issues with them.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Multithreading sessions

2008-05-23 Thread Jens Vagelpohl


On May 23, 2008, at 11:49 , Jon Emmons wrote:
Another thought I had, is that Zope has only one python interpreter  
running,
pretty much forcing all processing to be serial by default given  
what you've

just said.


Sorry, that's all baloney. Just like blindly hiking the number of  
threads or the ZODB database connection pool size. Zope can handle  
more than one concurrent request.


I would take a close look at the Zope database adapter for your  
relational database you are using. Some are not thread-enabled and  
will serialize database access.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] External Method in Zope

2008-04-07 Thread Jens Vagelpohl


On Apr 7, 2008, at 12:18 , Chris Withers wrote:

Jens Vagelpohl wrote:
- doing Perl methods or external methods in Zope has been  
deprecated years and years ago. You will have a hard time finding  
anyone to support that.


I'm guessing you mean perl external methods rather than all external  
methods in general? ;-)


I mean the Perl Methods and Perl External Methods that were part of  
the old Zope-Perl package from eons ago.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] External Method in Zope

2008-04-07 Thread Jens Vagelpohl


On Apr 7, 2008, at 11:23 , vaibhav pol wrote:

Thanks  alot
but i am not using command but i using perl function to modify the  
passwd and shadow file. in my module that's why i want to invoke  
that module as root


There's a few things seriously wrong with your plan:

 - you want to create a way to manipulate a system's password/shadow  
files through the web by a web application. That's insane to begin  
with. Just don't do it. Have you ever thought about the security  
implications?


 - doing Perl methods or external methods in Zope has been deprecated  
years and years ago. You will have a hard time finding anyone to  
support that.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZServer uncaptured python exception

2008-04-02 Thread Jens Vagelpohl


On Apr 2, 2008, at 11:11 , Allen Schmidt Sr. wrote:

Thanks Chris.
Seeing tons of squid messages about the new msnbotand it is not  
following our robots.txt directive. In fact, I have even disallowed  
it completely and it still goes where it wants. And the updated  
version was supposed to have been released end of last weekabout  
the time our zeo clients started pegging 99%.


Trusting that bots actually care about or respect robots.txt won't get  
you very far. If all else fails I suggest you look at your logs to  
find out what IPs or IP ranges those bots come from and block them at  
the firewall level, using e.g. iptables if you're on Linux. This is a  
very simplistic invocation:


iptables -A INPUT -s  -j DROP

At least that way you gain some breathing room to come up with a less  
constrictive solution.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: running in debug mode

2008-03-26 Thread Jens Vagelpohl


On Mar 26, 2008, at 17:55 , Simon Michael wrote:
ZEO clients connecting to one and the same ZEO database server then  
that's pretty dangerous.


It is ? Yikes.

I believe you, as I remember this working for a while and then  
giving zodb errors requiring a restart. I wonder why ?


I wouldn't think you'd see ZODB errors, unless your development  
instance had a different Zope version, but who knows. My main worry  
would be changing persistent objects, even inadvertently, and errors  
you'd get when a production instance with the old production code  
picked them up.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Jens Vagelpohl


On Mar 26, 2008, at 16:19 , Yuri wrote:


On Mar 26, 2008, at 11:19 , Yuri wrote:

> Hi!
>
> I've got a trouble importing a ZClass app to 2.9.8 from 2.6.1.


IMHO you're not investing your time wisely trying to make a ZClas   
application work on a later Zope version. They're unsupported and   
dead. I would keep the old setup running and spend time on  
recreating  the ZClass product functionality as a real Zope  
product, and then  create a script to migrate the old ZClass  
instances over.


Sure, but then I would switch totally to zope3 techs, at least.


Where you move from ZClasses is entirely up to you, of course.


The point is, why a working envinroment in zope, don't works anymore  
just restarting zope?


It seems a database corruption or something not written in the disk,  
so it is worth an investigation.


All works, you restart, boom. Can't recover in any way.

At least there's should not mentioned any fix in 2.9.8, if it does  
not works. It is time comsuming for nothing, and kills any love with  
Zope, imho.


What you're seeing is probably unrelated to whatever "fix" there is in  
Zope 2.9.8. Even if you could prove that this is a new (or old  
unfixed) bug you will probably have a hard time finding anyone fixing  
it, because it's a bug in dead technology that no one wants to support  
anymore.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] running in debug mode

2008-03-26 Thread Jens Vagelpohl


On Mar 26, 2008, at 15:40 , David Bear wrote:
Is it possible to have one zeo client running in debug mode while  
another is
not? It seems that it should be the way most people would make a  
development
environment. One zeo is running in standard mode so you could see  
how the
site performs -- while the other zeo is running in debug mode so you  
can do

file system development.


The terminology is a bit mixed up (what's "a zeo"?), but if you're  
asking about a situation where you have both production and  
development ZEO clients connecting to one and the same ZEO database  
server then that's pretty dangerous. Make a copy of your database and  
create a second ZEO database server to use for development, then  
connect your development client to that one.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Jens Vagelpohl


On Mar 26, 2008, at 12:59 , Allen Schmidt Sr. wrote:
That sounds so easy. We have one ZClass but it is the basis of  
almost our entire newspaper website. The news ZClass was built in  
2000 and put into production when we went live on Zope in Feb 2001  
(just before the guys at Zope Corp said that ZClasss were bad). Over  
7 full years of daily news as ZClass objects. We are in the same  
boat as we want to move from 2.7.5 to a later version. We could  
switch to SQL articles but then we would have to make sure all the  
old URLs still functioned as our content is all over the search  
engines...and convert everywhere there are tools to manage story  
creation, importing, editing, etc. Yuck. We could just make the  
cutover one day and just keep an instance running for the old stuff  
and all new stuff runs from SQL.


When you build a "real" Zope product to replace the ZClasses it is no  
problem to make it behave like the old instances and put them in the  
same place as the old instance so the URL remains the same. Switching  
away from ZClasses does not mean you must change instance URLs etc.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )



Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Jens Vagelpohl


On Mar 26, 2008, at 11:19 , Yuri wrote:

Hi!

I've got a trouble importing a ZClass app to 2.9.8 from 2.6.1.


IMHO you're not investing your time wisely trying to make a ZClas  
application work on a later Zope version. They're unsupported and  
dead. I would keep the old setup running and spend time on recreating  
the ZClass product functionality as a real Zope product, and then  
create a script to migrate the old ZClass instances over.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] repozo, pack and backups

2008-03-05 Thread Jens Vagelpohl


On Mar 5, 2008, at 12:38 , Miles wrote:


Hi,

I'm hoping someone can share their experience of using repozo,  
packing and backups to answer a couple of questions.


I've googled around to confirm that packing means a full backup.  Is  
there any way to carry out incremental backups and then pack the  
database, without carrying out a full backup each time - for  
example, can I continue to get nightly incremental backups if I pack  
nightly but retain the last 2 days' transaction history?


(I transfer the increments to a backup server, and then rebuild the  
database, then take a nightly snapshot to tape, so I really don't  
need a full backup)


I have an inkling this is not possible, but would be useful to  
confirm...


You're right, this is not possible. The only way to prevent full  
backups is to never pack the database.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope/plone behind ISS

2008-02-07 Thread Jens Vagelpohl


On Feb 7, 2008, at 16:04 , TrashMan wrote:

Sorry for question that will already have been made...i'm searching  
about it but i'm confused.


I've a new plone site on windows 2003 platform with IIS up.

For zope/plone behind IIS i must buy enfold proxy or ISAPIrewrite  
(helicontech)??


Other solutions??  I worked so far in linux and i don't  know these  
simple things


You can install Apache on Windows and thus use a reliable tool you're  
probably familiar with already.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to get nice traceback like from old versions?

2008-02-05 Thread Jens Vagelpohl


On Feb 5, 2008, at 11:53 , Andreas Jung wrote:




--On 5. Februar 2008 11:35:09 +0100 Jaroslav Lukesh  
<[EMAIL PROTECTED]> wrote:



Hi all,

with Zope version 2.5.1 I was get nice error messages from source of
page. With 2.9.4 I was get error messages in file log/events.log  
which is
better for security reasons, but these messages are not as exact as  
from

old zope which give me point to failure like that:


Why would Zope 2.9 won't give you the same traceback? or a similar  
one?


Use the error_log object in the ZODB. It contains the tracebacks for  
all those exception types that are not in the (configurable) exclusion  
list.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Z2.log

2008-01-30 Thread Jens Vagelpohl


On Jan 30, 2008, at 18:17 , Tom Von Lahndorff wrote:

Can /log/Z2.log be deleted? On restart is fresh file  
created?


Yup.



Also, is max-bytes supported for logfiles in zope.conf?


What's that?

jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] problem authenticating, even with emergency user

2008-01-25 Thread Jens Vagelpohl


On Jan 26, 2008, at 00:20 , Ben Bartrum wrote:
The live server is a Sun server - the Zope installation was copied  
over from an older Sun server about a month ago, and seemed to run  
fine unless we try to log in.


The root folder of Zope does not have a MySQLUserfolder, but the  
main subfolder - which hosts the website - has.  When authenticating  
to the website (MySQLUserfolder) I get the traceback.  But I can  
also not authenticate to the ZMI (I get access denied with a known  
good password and with the emergency user.)  But I know I should  
have access to the ZMI, because I can copy the Data.fs to a test  
server and login to that.  So somehow now authentication is broken  
for both Zope and MySQL authentication.
This led me to think the problem is in the Zope files, and I ran a  
diff between my test system (Debian) and the live Sun server.


Many files differ, but in a way one would expect - the Python path  
is not the same, so the first line of every .py file is different.   
Also, *.pyc and *.pyo differ - likely because of the different  
Python paths.  But a number of file names on the Sun server worry  
me.   They miss the last letter - for example __init__.p instead of  
__init__.py.  I worry that the system admins (who I haven't met yet)  
may somehow have managed to lose the last letters of some file  
names, although I have no idea how that would be possible.
Is it possible that Zope can run sucessfully with these incorrect  
filenames, and only the authentication is broken?


One thing that comes to mind is broken tar implementations on Solaris.  
Don't use their tar implementation, use gnutar instead.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Counting threads

2008-01-22 Thread Jens Vagelpohl


On Jan 22, 2008, at 23:33 , Peter Bengtsson wrote:


On 22/01/2008, Dieter Maurer <[EMAIL PROTECTED]> wrote:

Peter Bengtsson wrote at 2008-1-22 15:23 +:
Perhaps I'm wrong but I suspect that a Zope I'm running is dying  
because

of running out of threads.


This is very unlikely. It may no longer respond when all its threads
are working -- but it will not die for this reason.


By dying I don't mean crashing and stopping but instead staying up and
running but not responding to anything. Like a coma.


This symptom, especially when these "hanging" threads cause no load at  
all on the system, certainly point to connections to outside systems  
that do not respond for some reason. I have seen this issue with Zope  
instances that make HTTP calls to other systems, or even with a  
hanging LDAP server which accepted connections from Zope but never  
returned. Any software that makes outgoing network connections from  
Zope is a potential suspect.


GDB can help you determine where the hanging condition originates.  
Here's some links:


http://plone.org/documentation/how-to/use-gdb-to-get-backtraces-of-hung-spinning-sites

http://zopelabs.com/cookbook/1073504990

jens

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Counting threads

2008-01-22 Thread Jens Vagelpohl


On Jan 22, 2008, at 16:23 , Peter Bengtsson wrote:

Perhaps I'm wrong but I suspect that a Zope I'm running is dying  
because of running out of threads. They probably die when being  
designated to open an external relational database connection or  
something dodgy.


What are my options for monitoring and debugging what zope's threads  
are doing?
Is there a simple tool to just get a simple readout of how many  
threads are busy?


One simple option is the ZMI Control_Panel Debug screen. Go to / 
Control_Panel/DebugInfo/manage_main on your instance and scroll to the  
bottom. It shows current connections to the Zope server from the  
outside, and how long the connection has been around. You will always  
at least see one entry, which is the request to fetch that debug  
screen. If you have connections beyond a few seconds of age they may  
be stuck.


jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] problem authenticating, even with emergency user

2008-01-17 Thread Jens Vagelpohl


On Jan 17, 2008, at 14:39 , Ben Bartrum wrote:


Hello

A Zope site which is running fine, is refusing all authentication  
with the error below.   I have tried the emergency user and  
restarted Zope, but the emergency user gets the same error:



Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 188, in publish_module_standard
Module Products.PlacelessTranslationService.PatchStringIO, line 51,  
in new_publish

Module ZPublisher.Publish, line 145, in publish
Module Zope2.App.startup, line 222, in zpublisher_exception_hook
Module ZPublisher.Publish, line 105, in publish
Module ZPublisher.BaseRequest, line 446, in traverse
Module ZPublisher.BaseRequest, line 550, in old_validation
AttributeError: __getitem__ (Also, the following error occurred  
while attempting to render the standard error message, please see  
the event log for full details: getUserById)


I bet you're running a non-standard user folder, and for some reason  
the user folder instance is broken. If you can't find why it is broken  
and the broken user folder is at the root of your Zope instance then  
fixing it would involve work in the debugger to delete the old one and  
create a new standard user folder.


jens



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] CMF 2.1.1 released

2008-01-06 Thread Jens Vagelpohl

The CMF developer community is hereby announcing the release of CMF
version 2.1.1.

What is the CMF?

  The Zope Content Management Framework provides a set of services and
  content objects useful for building highly dynamic, content-oriented
  portal sites. The CMF provides the foundation for popular software
  packages such as Plone. It is intended to be easily customizable, in
  terms of both the types of content used and the policies and services
  it provides.

Where do I get it?

  For release files, change logs, installation instructions and more
  please visit http://www.zope.org/Products/CMF/CMF-2.1.1.

  Roadmap and release information can be found at
  http://www.zope.org/Products/CMF/docs/roadmap.

  The CMF mailing list can be reached at the [EMAIL PROTECTED] address,
  to sign up please visit http://mail.zope.org/mailman/listinfo/zope-cmf 
.


  Please file bug reports, feature requests or suggestions in the CMF
  bug collector at https://bugs.launchpad.net/zope-cmf/ .

What has changed since the last release?

  Bug Fixes

- CMFDefault.PropertiesTool: Fix a faulty manage_changeProperties
  invocation which broke the 'Reconfigure Portal' screen
  (https://bugs.launchpad.net/zope-cmf/+bug/174246)

- CMFCore.exportimport.content: Add simple guard against import  
failures when

  the ".objects" file contains empty lines.
  (https://bugs.launchpad.net/zope-cmf/+bug/176328)


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] transactional mail server for zope 2.7

2008-01-03 Thread Jens Vagelpohl


On Jan 3, 2008, at 11:34 , Yuri wrote:


Andreas Jung wrote:


--On 3. Januar 2008 11:25:25 +0100 Yuri <[EMAIL PROTECTED]> wrote:


Is there a transactional mail server for zope 2.7. I mean, if some
transaction fail, it will not send the mail...


MailDropHost is a well-known secret.

-aj


Can I replace the standard mailhost without any problem in zope 2.7?


Yes.


Is this the new standard in 2.11?


No, Zope 2.11 uses a Zope 3-based approach.

jens


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] CMF 2.1.1-beta released

2007-12-29 Thread Jens Vagelpohl

The CMF developer community is hereby announcing the release of CMF
version 2.1.1-beta.

What is the CMF?

  The Zope Content Management Framework provides a set of services and
  content objects useful for building highly dynamic, content-oriented
  portal sites. The CMF provides the foundation for popular software
  packages such as Plone. It is intended to be easily customizable, in
  terms of both the types of content used and the policies and services
  it provides.

Where do I get it?

  For release files, change logs, installation instructions and more
  please visit http://www.zope.org/Products/CMF/CMF-2.1.1-beta.

  Roadmap and release information can be found at
  http://www.zope.org/Products/CMF/docs/roadmap.

  The CMF mailing list can be reached at the [EMAIL PROTECTED] address,
  to sign up please visit http://mail.zope.org/mailman/listinfo/zope-cmf 
.


  Please file bug reports, feature requests or suggestions in the CMF
  bug collector at https://bugs.launchpad.net/zope-cmf/ .

What has changed since the last release?

  Bug Fixes

- CMFActionIcons profiles: Fixed dependency in import_steps.xml.

- CMFDefault profiles: Fixed some dependencies in import_steps.xml.

- DCWorkflow.exportimport: Scripts with invalid types imported
  after scripts with valid types will no longer place the valid
  script twice.  Scripts can also now be specified with meta_types
  other than the hard-coded meta_types.

- CMFDefault.utils: The email validation would reject addresses  
where

  the domain part started with a single letter element.
  (http://www.zope.org/Collectors/CMF/495)

- CMFDefault skins: Prevented the getMainGlobals script to fail  
if not

  content-type header is set.

- AfterTransitionEvent now passes along the new status of the  
object, just
  as StateChangeInfo passes on the new status to after-transition  
scripts.

  (http://www.zope.org/Collectors/CMF/490)

  Other

- Updated to the 0.3 release of five.localsitemanager.

- Testing: Derive test layers from ZopeLite layer if available.


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] HOw to create a Zope Instance ?

2007-10-04 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 4 Oct 2007, at 11:12, Winterflood, Jonathan wrote:



Indeed, but Ben's test shows us they definitely use Zope


That's a known fact. I'm not sure what's newsworthy or interesting  
about that.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHBM3/RAx5nvEhZLIRAmuGAJ0YjwD0iIsNdQAlRKpgkaDNnTWAewCfeGpF
FVnVqvadoAPSXJ4X8f0dak0=
=djyN
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] HOw to create a Zope Instance ?

2007-10-04 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 4 Oct 2007, at 10:40, Ben Bartrum wrote:

Getting seriously OT but this got me interested in what kind of  
company this is, and whether it has anything to do with Zope's Zeo,  
so I used  their search box to search the word Zeo.  The result is  
interesting.


They have nothing to do with ZEO, apart from maybe using it for their  
customers.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHBKnqRAx5nvEhZLIRAi6YAKCP7NIoITyeY5zV9s5aRbh6s/kyuQCgh6S9
QvPHJ9tGYdLdTwor3qjMZ2o=
=zaGa
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] CMF 2.1.0 released

2007-08-08 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The CMF developer community is hereby announcing the release of CMF
version 2.1.0.

What is the CMF?

  The Zope Content Management Framework provides a set of services and
  content objects useful for building highly dynamic, content-oriented
  portal sites. The CMF provides the foundation for popular software
  packages such as Plone. It is intended to be easily customizable, in
  terms of both the types of content used and the policies and services
  it provides.

Where do I get it?

  For release files, change logs, installation instructions and more
  please visit http://www.zope.org/Products/CMF/CMF-2.1.0.

  Roadmap and release information can be found at
  http://www.zope.org/Products/CMF/docs/roadmap.

  The CMF mailing list can be reached at the [EMAIL PROTECTED] address,
  to sign up please visit http://mail.zope.org/mailman/listinfo/zope- 
cmf.


  Please file bug reports, feature requests or suggestions in the CMF
  bug collector at http://www.zope.org/Collectors/CMF .

What has changed since the last release?

  New Features

- PortalFolder: Enabled 'Components' ZMI tab.
  This GenericSetup tab allows to inspect and edit component  
registrations.


  Bug Fixes

- Fixed all componentregistry.xml files to use plain object  
paths and strip
  and slashes. GenericSetup does only support registering  
objects which are

  in the site root.

- Allow email addresses with all-numeric domain names. The RFCs  
do not

  support them but they do exist.
  (http://dev.plone.org/plone/ticket/6773)


Jens Vagelpohl


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGugWYRAx5nvEhZLIRAjnSAJ4z5fR/QkeJHE97cqIiIe7DcEVJ/gCbBrso
q1IGLyfzuApQWsJRnaLphto=
=MKvj
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem importing xml backup file

2007-07-20 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 20 Jul 2007, at 12:06, Vittorio Manfredini wrote:

I have to upgrade to a new server and I export my zope in the xml  
file using

the export option.

On the old system I use zope 2.7 and python 2.4.3, on the new  
system I use

opensuse 10.2 with python 2.4.4 (recompiled by me) and zope 2.10.

When I try to import the file I receive the following error :


Import/Export is *not* an upgrade mechanism, it is only guaranteed to  
work if you use the exact same software versions on both ends. To  
upgrade, copy your Data.fs database file into your new setup.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGoJd8RAx5nvEhZLIRApb6AKC3Rr1jK5T9OtqzeXvU8fI8GybXZwCgrqN2
iE6ZII1VEBca3V8NHi3x7tM=
=rjOV
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Zope 2.10.4 Upgrade

2007-07-12 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 13 Jul 2007, at 01:40, David Ayres wrote:



Thanks to everyone for the replies. In the past, I usually created  
a brand
new instance and just copied over my Data.fs, Products, etc. But, I  
figured

there was a way to do an upgrade. Attempt 1: Failed. :)

If I run mkzopeinstance over my existing instance, will it upgrade the
instance without destroying my data, etc. ?


Why don't you just create a new instance, copy or link all products  
from the old instance and copy the ZODB into it? That way you keep  
your old instance as a backup.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGlyF0RAx5nvEhZLIRAmsdAJ9azJJneG3xJFDTEpiPj9w3jvRtpACgmeam
haF+C83m8ELmyR2O4/wG+Es=
=PJvd
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] CMF 2.1.0-beta2 released

2007-07-12 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The CMF developer community is hereby announcing the release of CMF
version 2.1.0-beta2.

What is the CMF?

  The Zope Content Management Framework provides a set of services and
  content objects useful for building highly dynamic, content-oriented
  portal sites. The CMF provides the foundation for popular software
  packages such as Plone. It is intended to be easily customizable, in
  terms of both the types of content used and the policies and services
  it provides.

Where do I get it?

  For release files, change logs, installation instructions and more
  please visit http://www.zope.org/Products/CMF/CMF-2.1.0-beta2.

  Roadmap and release information can be found at
  http://www.zope.org/Products/CMF/docs/roadmap.

  The CMF mailing list can be reached at the [EMAIL PROTECTED] address,
  to sign up please visit http://mail.zope.org/mailman/listinfo/zope- 
cmf.


  Please file bug reports, feature requests or suggestions in the CMF
  bug collector at http://www.zope.org/Collectors/CMF .

What has changed since the last release?

  Please note: Please read the "Upgrading from versions earlier than  
2.1.0-beta"

  section in the INSTALL.txt-document for upgrading hints.

  New Features

- CMFCore.exportimport.skins: Added the ability to remove whole  
skin

  selections using a GS profile.
  (http://www.zope.org/Collectors/CMF/479)

- Workflow definition instances now have a description field
  (http://www.zope.org/Collectors/CMF/480)

  Bug Fixes

- UndoTool: Fixed 'listUndoableTransactionsFor'.
  The required 'object' argument is now respected. This doesn't  
change the

  behavior as long as 'object' is the site root object.

- CMFCore.TypesTool: Corrected method signature of  
all_meta_types to have
  an interface keyword argument, as per the underlying  
OFS.ObjectManager

  interface declaration.

- SkinnableObjectManager: Changed the way skins are set up.
  Acquisition wrapping no longer triggers 'setupCurrentSkin'.  
This is now
  done on publishing traversal after the BeforeTraverseEvent  
triggers
  'setSite'. This fix replaces a temporary hack introduced in  
2.1.0-beta,

  making sure ISkinsTool is looked up after setting the site.

- CMFCore.CMFBTreeFolder: CMFBTreeFolders could not be used as the
  toplevel /Members container.
  (http://www.zope.org/Collectors/CMF/441)

- Pass 'object' through to TypeInformation objects' 'listActions'.
  (http://www.zope.org/Collectors/CMF/482)

- Removed extraneous "Cache" tab from FS-based skin objects.
  (http://www.zope.org/Collectors/CMF/343)

- CMFCore.WorkflowTool: Using the '(Default)' keyword for a type's
  workflow chain will now reset any custom workflow chains for  
the type.

  (http://www.zope.org/Collectors/CMF/475)

- Use the property API to get the member specific skin, because
  direct attribute access won't work with PAS based membership.
  (http://dev.plone.org/plone/ticket/5904)

- Add POST-only protections to security critical methods.
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0240)

- Allow customization from DirectoryViews to be redirected into
  alternate folders, and use manually-built clones.
  (http://www.zope.org/Collectors/CMF/382)

- Use a utility, registered for
  'Products.CMFDefault.interfaces.IHTMLScrubber', to perform  
scrubbing

  of HTML;  fall back to the old, hard-wired behavior.
  (http://www.zope.org/Collectors/CMF/452)

- Remove antique usage of marker attributes in favor of interfaces,
  leaving BBB behind for places potentially affecting third- 
party code.

  (http://www.zope.org/Collectors/CMF/440)

- Fixed DST-driven test breakage in CMFCalendar by adding an  
optional

  'zone' argument to the DublineCore methods which return string
  rednitions of date metadata.
 (http://www.zope.org/Collectors/CMF/476)

- Favorite: Fixed UID handling broken in 2.1.0-beta.

- CMFDefault: Removed CMFUid dependency inadvertently added in  
2.1.0-beta.


- CMFActionIcons: Fixed interface declarations added in 2.1.0-beta.

  Other

- The CMF now depends on Zope 2.10.4 or higher.

- CMFDefault: Adjusted factory.py to new GenericSetup version.

- CMFUid.UniqueIdAnnotationTool: Annotation handling has been  
switched

  from triggering it through old-style manage_*-methods to using
  events. UID assigning behavior has been made more flexible.  
Please

  review CMFUid/README.txt for information about the current
  behavior and the new features.
  (http://www.zope.org/Collectors/CMF/474)


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGlltDRAx5nvEhZLIRAjz+AJ91FGKJFbXBc0Qyr0kR70Grzh3sWwCeJBP2
wGHEuI+QbGm+Xe5VvzoQ69U=
=6P48
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope

Re: [Zope] Zope 2.10.4 Upgrade

2007-07-11 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 12 Jul 2007, at 05:03, David Ayres wrote:

I recently upgraded from Zope 2.10.0 to 2.10.4. However, the Zope  
instance still reflects 2.10.0 in the control panel.


I installed Zope 2.10.4. Then, in my instance, I changed the  
variables in 'zopectl' and 'zope.conf' to reflect the new 2.10.4  
version and restarted. Did I miss a step?



Taking an existing instance and mucking with the scripts in it to  
point to newer code isn't recommended. However, it can be expedient  
if you really know what you're doing. You need to edit pretty much  
every file under bin/ and etc/ in your instance and do a search/ 
replace, not just etc/zope.conf and bin/zopectl.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGlcz6RAx5nvEhZLIRAlYJAJ4+SgVYVwtS98r3TClp+t7XKI2rkgCglGQD
act77PiH/seLmB9EohtKtVU=
=SJOI
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] a batch of inSaNitY!

2007-06-07 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 6 Jun 2007, at 21:14, SpiderX wrote:

I'm considering upgrading from Zope 2.9.0 to 2.9.7. Has anyone done  
this before that can offer advice? Any tips? I'm on Win32. I have  
custom products installed, custom development, etc etc... can I  
just run the Installer for 2.9.7 and it will upgrade automatically?


Your safest bet is to recreate that setup on a second box and run the  
upgrade there to see if there are any problems. If there aren't, run  
it on your original installation.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGZ8ubRAx5nvEhZLIRAoakAJ9u7LRhkQwab5l9JYfCReTlOCwP3gCfZHF0
fLGM2t2YxpjyOeF/eCDI/3A=
=1bD5
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Re: MemoryError exception when importing a zexp file

2007-05-31 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 31 May 2007, at 13:56, Ben Lobo wrote:
Someone in this thread asked why I'm doing this export in the first  
place: I
want to import it back into zope but into a separate storage file  
so that I
can back it up separately from the main storage. Someone suggested  
that I
might be able to do it by copying the entire Data.fs file to the  
new strage

location, restarting zope and then deleting the bits that I don't want
instead of exporting then importing.

I tried this but it didn't work unfortunately. The new mount point  
just
appeared in the zmi root with a broken icon and gave me an  
'unsubscriptable

object type error when I tried to access it.


Good that I asked. That's not a valid reason to do import/export.

As the other person mentioned, you should copy the database and do it  
that way. If you run into problems that way you need to post useful  
error messages (meaning, something better than "didn't work") and  
paste the full error traceback and all symptoms.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGXs4JRAx5nvEhZLIRAloCAJ92O4GoSGMDeMek0qKk/vEkdwkwawCdFle+
n+jnt5XauqI/JxsyG52zxdg=
=gZuZ
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: MemoryError exception when importing a zexp file

2007-05-30 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 30 May 2007, at 12:12, Winterflood, Jonathan wrote:



Hi,

Failing with 10 GB seems weird... Did you monitor real memory usage  
to see where it failed?
I'm thinking maybe the python interpreter / zope / something is  
limiting its memory usage (IIRC, Java VMs are limited to 128M by  
default)

Could someone confirm/infirm this?


There is no such limiting mechanism anywhere in the stack. However,  
there may always be OS-level limitations imposed by the systems  
administrator.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGXVxkRAx5nvEhZLIRAuZbAJ90Y6NLwZVo/AErmNbGGhIfUzdLmACfZbd4
GAgyEd3UI+0h5vj6820oIA0=
=Igdw
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: MemoryError exception when importing a zexp file

2007-05-30 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 30 May 2007, at 11:31, Ben Lobo wrote:

Thanks for the tip. I tried increasing the swap file to 10GB but  
still got

the same memory error.

I'm now considering exporting the Plone site (cos that's what it  
is) one
piece at a time and reimporting it into a clean Plone site. Any  
thoughts on

whether or not this is a good idea?


I guess the first question should be why you are doing that export/ 
import at all? Is there any good reason for it?


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGXUuhRAx5nvEhZLIRAg8LAJ9EvvNAMjCw8M6KhmnXv6gO23A2iwCfQmvi
00br+QjNySuhxGDF4QQ9dXg=
=qYau
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] MemoryError exception when importing a zexp file

2007-05-29 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 29 May 2007, at 08:36, Ben Lobo wrote:


Hi,

I'm trying to import a .zexp file that's 1.6GB but it continually  
fails due
to a MemoryError exception. I guess that adding more RAM would  
probably fix
this problem but does anyone know if there's any way of getting  
around this

sort of problem without increasing the RAM?


Short of increasing memory on that specific host you could also  
create a sandbox on a different machine with more RAM and then copy  
the database when it's done.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGW9GTRAx5nvEhZLIRAoyRAJwM2QyR764vdHecw/xLNkFUcHWdyACfRK+o
YZIVsaudyBaMUjEgl/X0xkU=
=uFQ8
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 16 May 2007, at 16:52, Paul Winkler wrote:


On Wed, May 16, 2007 at 04:24:56PM -0500, Jens Vagelpohl wrote:

There's a difference between scaling and making something faster. ZEO
makes a single instance slower, right. But you can deal with more
requests concurrently using ZEO. That's what I consider "scaling".


Agreed.  But at the same time, I don't think it makes sense to keep
deploying more and more badly tuned instances. That's what I consider
"blind shotgun scaling" :) You need to scale, but you also need to
tune - and you need to be pragmatic about which is the appropriate
approach at any given point in time.


My perspective is always high-traffic systems. I never even consider  
small sites with few hits, for which ZEO won't do much. I have a  
blind spot for those ;)


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGS46TRAx5nvEhZLIRAtImAJkBSPFTiwPO4k3LeydaI0udXtv2xwCfcyHQ
0qnQuviEBZsbMD9Uin+/d+8=
=kNMS
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 16 May 2007, at 11:04, Paul Winkler wrote:


On Wed, May 16, 2007 at 10:47:11AM -0500, Jens Vagelpohl wrote:

On 16 May 2007, at 10:13, Gaute Amundsen wrote:

Hm.. yes, that's the way we have been inclined.. just skip the
whole ZEO
thing, and go straight for Varnish integration. Lotts of old sinns
that have
to be paid off for that to work for everything however..


I don't think he advocates removing ZEO. That would be silly.


Why? I don't think ZEO is a panacea that magically makes apps faster
in all cases.  If you're not CPU-bound, the added network overhead and
increased chance of write conflicts might be a net loss.  Based on
everything he's said so far, it sounds like Gaute still has plenty of
headroom on his CPU.


There's a difference between scaling and making something faster. ZEO  
makes a single instance slower, right. But you can deal with more  
requests concurrently using ZEO. That's what I consider "scaling".


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGS3aoRAx5nvEhZLIRAn6rAJ9eL6UpxP0KsFgBsnntiltxejKLLQCfTZ5D
xYXbrs8cb0rzyndHeKGiSM8=
=MFcw
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 16 May 2007, at 10:13, Gaute Amundsen wrote:
Zope 2.7 doesn't scale very well with the ZEO. The more Frontend  
server
you get the more Read Conflicts you have. Migration to Zope2.8  
reduced this

problem.

I have build a squid proxy in reverse mode take the Request and  
spead them
per round robin to the ZopeFrontends. This takes quite a lot load  
from the
systems as the squid caches most of the static content (images,  
PDF files

etc).

Hm.. yes, that's the way we have been inclined.. just skip the  
whole ZEO
thing, and go straight for Varnish integration. Lotts of old sinns  
that have

to be paid off for that to work for everything however..


I don't think he advocates removing ZEO. That would be silly.

jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD4DBQFGSyd/RAx5nvEhZLIRAsDDAJiz279yOqezgUZ31H4WF22dSWthAKCSGllN
FzA0ehOb1MlMWoIVOQxQ0g==
=POCf
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How can I reset zope time???

2007-03-24 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 24 Mar 2007, at 09:03, Flemming Bjerke wrote:
That I think it is a vulnerability that a person can irrepairably  
corrupt zope's date system by sending one request with a wrong date  
(in my case using the default open comment opportunity in zwiki).


There is no "vulnerability". I think you're confusing a few things.  
All I read from your description is that you, as the admin, used Undo  
and even mucked with your database while having set the server to a  
different time. That's no vulnerability, that's the admin user  
messing with the database.


Requests don't have anything to do with either the ZODB time stamp or  
any application time stamp. You should take a look at the code and  
gain some better understanding of how the Wiki code generates or uses  
dates. Date stamps are generated by taking the time as set on the  
host machine. They are not generated from requests sent to the server.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGBOm+RAx5nvEhZLIRAtOSAKCVrIpcYvZ/Nh0COEYn3scAbkmWlwCgropL
mVFgB/Qyn+mUNZLqzUqhbWE=
=Obim
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How can I reset zope time???

2007-03-23 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 23 Mar 2007, at 12:20, flem wrote:
I am a bit confused. My zopeserver runs fine, and all undos have  
been erased. What I want is to be able to create an object in the  
zmi which has the correct creation date (e.g. 23rd March 12.20 pm)  
in the zmi (and the undo history as well). Is this simply  
impossible because the timestamp in the zodb is always  
automatically adjusted to the latest date associated to the objects  
already created (i.e. 12th December 2007)?


You hit the nail on the head. The ZODB timestamp is adjusted whenever  
the ZODB record for an object is changed and the application code has  
_no_ control over it. Such change could be effected by a content  
author editing the object, or by an import, or by an undo operation.


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGA9BzRAx5nvEhZLIRAtWEAJ0Wi2op0pbepzPUc+z2Njt4hOtImwCffqxA
fKsoxuBL4drthkAIkvQz6Dg=
=yOWK
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How can I reset zope time???

2007-03-23 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 23 Mar 2007, at 09:01, robert rottermann wrote:
I am not absolutely sure I understand you. I succeeded in  
undoing. My

problem is that zope keeps on with the date 12/12-07. The zodb does
not seem to accept a timestamp that is earlier than the last


That's what I am trying to tell you. Any undo is actually a brand-new
transaction that will by definition set the modification time to the
current time. You *cannot* get back to the old modification time  
using
Undo. This does not mean that Undo won't work at all, it will. But  
you

will not get back your old modification time.


so it migth be enough, to export the folder(s) with your sites
remove the Data.fs to a secure place, restart zope and the reimport  
your

sites.


No. Import will also generate new database modification times. It  
will only make things worse.


This issue appears when product authors naively use the database  
modification time instead of defining their own field in which to  
store modification time data. They would have full control if they  
used their own time stamps. Most product authors simply don't know  
what the possible consequences are, or when/how the database  
modification timestamps are changing.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGA4nrRAx5nvEhZLIRAlo3AJ9sAB/CpqgctBryDQD5vSvTjVqLMwCeOmUo
AUy0tEmUBi9fmTj5pWEOYm4=
=0wAy
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How can I reset zope time???

2007-03-22 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 23 Mar 2007, at 07:41, Flemming Bjerke wrote:

But, now, not only have all my changes the date 12/12-2007 in the
undo history, every object I have changed gets this date as well!
Apparently, zope won't accept to go backward in time.

How do I reset the zope's time?


Undo is transactional, meaning an undo is actually a new transaction
instead of removing an old transaction. What you are trying to do is
not possible, unless you physically truncate the database.


I am not absolutely sure I understand you. I succeeded in undoing.  
My problem is that zope keeps on with the date 12/12-07. The zodb  
does not seem to accept a timestamp that is earlier than the last


That's what I am trying to tell you. Any undo is actually a brand-new  
transaction that will by definition set the modification time to the  
current time. You *cannot* get back to the old modification time  
using Undo. This does not mean that Undo won't work at all, it will.  
But you will not get back your old modification time.


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGA4XFRAx5nvEhZLIRAtVgAKCzR9Chwxwne5A0ncA0kyuckiLH4wCgr0oQ
5jNmLYQn4p8fdBzNV3ALU5M=
=AbR8
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How can I reset zope time???

2007-03-22 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 22 Mar 2007, at 17:11, flem wrote:

Through a zwiki a spammer proxied some information though a zope  
server using zwiki's comments (be aware!). The spammer had dated  
his ip-packets 11/12-2007. And all my changes got the same date!  
So, I couldn't shrink all the undo actions though the database  
shrinker (later I found out that should just use -300). To get rid  
of 10 GB of undo history, I changed the computers time to  
12/12-2007 and then undoed and gave the computer the right time  
again. Fine!


But, now, not only have all my changes the date 12/12-2007 in the  
undo history, every object I have changed gets this date as well!  
Apparently, zope won't accept to go backward in time.


How do I reset the zope's time?


Undo is transactional, meaning an undo is actually a new transaction  
instead of removing an old transaction. What you are trying to do is  
not possible, unless you physically truncate the database.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGArLnRAx5nvEhZLIRAob1AKCRrTDJ8IMwT+6IuEJvFBOszyz7/QCgrl+O
JbXq1Qo7v8jkY3ivN67RZTo=
=pYwG
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] zope.schema field validators with access to context?

2007-03-19 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm currently working on teaching myself Zope 3/Five by converting  
one of my products to as many new technologies as I can put in. I'm  
coming against one issue that must be a pretty common pattern, at  
least for Zope 2/Five applications, which I haven't been able to solve:


I have a schema field where I want to validate the value based on  
information stored on the container where the object with the schema  
in question is stored (or will be stored, in the case of a formlib  
addview). I can see that fields are not context-aware by default, but  
they do have a method "bind" to generate a clone that does have  
access to the current context. However, the programmer has to pass a  
context (any context, really) to this method himself, but when the  
validation/constraints are called up there is no context.


How do others handle this situation?

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF/wXjRAx5nvEhZLIRAto3AJwITSUVoznLqyDR1ZmEurUSR5RWRQCdG0q+
tk7JP4wUKnWq6oTFn2ZvKRA=
=Gk9T
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Cannot Import Base has_attr...Again!

2007-03-18 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18 Mar 2007, at 16:45, [EMAIL PROTECTED] wrote:

--On 17. März 2007 15:16:31 -0400 [EMAIL PROTECTED] wrote:

> I had this problem on another server I recently built...and it  
went away
> all by itself! I'm now rebuilding my home server, and it's  
cropped up
> again. Last time, Maciej Wisniowski suggested I go to a zopectl  
prompt
> and type in "import Products.CMFPlone", but apparently that  
doesn't work
> on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise.  
TIA,

> Tony
>

Consult the plone-users list for Plone-related questions.


I did that last time and no one addressed the issue, so I came  
here. Would you care to address the issue?



The fact that no one helped on the Plone list does not invalidate  
Andreas' assertion that this is a Plone issue and it belongs on the  
Plone list.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF/WJ3RAx5nvEhZLIRAuWpAJ9GeeP3YoAGkbWLugO1xzjyxgomSgCdHZ58
vbdZ1mjfZn9827vjr1h6Z6E=
=t3JN
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] build a safe proxy

2007-03-15 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 15 Mar 2007, at 21:19, Eric Bréhault wrote:
What would you recommend ? What is the 'official' way to run an  
untrusted python code with exec and control what this code can do  
or not ?


There is no official way because running untrusted code with "exec"  
is an insane proposition.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF+bmzRAx5nvEhZLIRArJQAJ9pyWSElVLIzfJJrA1V95gAem7+FwCgthjU
KIBdb/VcWDlWfC0Tzc4dJ2g=
=gVBx
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Data.fs & MySQL DB Blown Up!

2007-03-12 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 12 Mar 2007, at 12:54, [EMAIL PROTECTED] wrote:
My server farm tells me it has nothing whatsoever to do with the  
hard drive or the OS, that both are in perfect condition. I say  
that's nonsense! What do you think?


Sorry, without knowing exactly what you did and what they did there  
is no way anyone can make any sensible comment. Apart from the fact  
that this is not a Zope issue but a systems administration issue and  
off-topic.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF9UI9RAx5nvEhZLIRAv/6AJ94RYVOKEY48+gDp3m/YhbKmw+tZACfUO0x
G/AVa5a8kZtQonWd46r1KJ0=
=BvVh
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


  1   2   3   4   5   6   >