Re: [Zope] Z Search Interface

2017-03-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/29/2017 05:30 AM, Andrew Whalley wrote:

> I am new to Zope and I am using version 2.13 from the Linux Mint 18 
> repository. I am trying to following the Zope2 Book, Section 18, 
> Searching and Categorizing Content which refers to adding a Z Search 
> Interface object to a ZCatalog. However, the Z Search Interface does
> not appear as an option in the Add List. I was wondering whether this
> object has been deprecated, and if so, whether there is any
> documentation on its replacement.

Z Search Methods are no longer part of the "core" Zope feature set in
2.13:  instead, they arenow shipped as part of the `Products.
ZSQLMethods` product:

  https://pypi.python.org/pypi/Products.ZSQLMethods/


Tres.
- -- 
=======
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJY26zDAAoJEPKpaDSJE9HYDqEP/jtsnN9G/x7GAzgzkc6kcocU
WcfSXER4UWrW/O1LNM+lFG5/60Ie66XmgwHSoyIC2Y7MgYJFz6xRc2P2fvBx8OFi
mcTKZZKrtPAUNUIwHAOMmeMCnJY/b3PG0VCz5o8oUvNdf2x3uGYzPKJZQTz6ifwx
uTnmLTu8sBl3VZPPWooK+Ct0pez/0DXjvv8Ouo31kx72MOYAlLprvRN+qauLs0Mw
ZIkRw9ZnCtv9e65K7LosZvSr65ueqkCU4NWYu/9Ai4AIJTCY5/Ho4vyrrOj8hE85
01U7KyH8yapnJipaL9Oj+s2dICnrrfH18ZIUg4oUaXR9s1NVCSa61eomdxXideop
G999VvDPkPvCC1QEr2zQ2+drZQG9nkT7lCrtrw/3pkrSg+2/FnpnK8+C/E6QVl/f
9iWSVSj4jYWf44RhRM2+Fqxxvn1mtwC/BaU934mBCF5do7pPgYLQBjpzGnV3di2s
3Mkyy8KoAsPXne1uo3eGqU0KLlXKcNwHa5ILiUbCyFSEvrsV/OHr7xdojVZqhCrP
HIWrRrSHwPTfh5oEVVKc6iTcoCGi058j3/x3MBRftXGE6cf+QZ18cPZzyws/pxBX
U00WdiTtHMopNNfL4SiSWh5GxMm8NwK8t9cvYLQ3i3kiPhTRNn95GyD5XBRAmyFs
szUXDyQwSNBWCynM2sCJ
=vh1a
-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.org dead?

2017-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2017 05:33 PM, Miguel Beltran R. wrote:
> zope.org dead?

Thanks for the report.  I have CC'ed the infrastructure team's mailing list
.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJYtjN3AAoJEPKpaDSJE9HYjJcP/jyWYhf1GgNGGYs/Wk1YH0kQ
YeZthvOepLHu9recWMD5eM47RyYSV5OA6jgU9QvUKdHAF2V7Fw5VCdH2KNcAcr76
9P0JOqhvGLMBFw1tHJR82Dr0j61AjVoGEf0Efwjvf+cNVklxy7sfKzU5CXE9/LEq
wlaRZZ2LT7ifao8Vo6DNBTqO8+bNYYFB7gy/VyxcdQPkak+R1tuWxfQmGFhPC6B6
y8n08ZKxBmfVSY03lyt2SkBGu6DVkw+kfoPNy1KCP8qN5qijxtOKFNCihrfkf6hP
j5dXr4GFfxhnUHmDRmZ51dlZVNUJucw01Fo/dDhVa31C+xF0Gpp2e/wd3qzzQ5mR
H2cR7GIIBQ+X0M9zicXKpYaZsLB0XJJQ17IKyM9AbEK6fOymIL7/6ycGzdJsogup
TNENIWAuSLT5pTe9aUl73onEvvR9ytSbdq/b0RUXimCOoXl+QCJPdcT8pMIiFNDi
7qNZoD3/IOlOPvMDjVCTKpAtMTN9o5Ly9dcoNjirHlLNGN3eHblz1d3SF0Iv/AG5
Z9LDv2ig3d4QtvZOiyvj6pKaihDMF9Mh4EUF5YGB3TwT6EL6XPPCCiG8LjefePvu
t13y5Rjw0V6uQGPa814edjH+DvlLgZrrX9lZLfW7ebCA1ZZH6wbXsB2SWKDXiKi8
HyEv4DYVq/nBaiN8LLo/
=/M2o
-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 2 Status

2016-10-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/04/2016 08:27 AM, Michael Brunnbauer wrote:
> 
> hi all,
> 
> I used to watch https://pypi.python.org/pypi/Zope2/ for Zope 2
> updates. Last version I updated to was 2.13.24.
> 
> Now this page offers version 4.0a2 - the a indicating alpha status -
> but
> 
> https://zope.readthedocs.io/en/2.13/CHANGES.html
> 
> announces an unreleased version 2.13.25. What does this mean?
> 
> Does Zope 2 still receive security updates? How can I stay informed?

Yes, it still receives them.  The 4.0a2 release you are seeing is part of
an ongoing "refresh Zope2" effort, driven by the Plone community and
friends.  The 2.13.25 release you see in the docs hasn't yet been made:
your options to get to a supported state include a) running from the head
of the 2.13 branch (super stable at this point); or b) applying the
various hotfixes released by the Plone folks:

  https://plone.org/security/hotfixes


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJX9A9wAAoJEPKpaDSJE9HYrFEP/3ZV8ehXZBtb9TKMurW7HmGA
trKAs+gGOLru7HUIYohDpCTOyaKTsXpvNAR/y1UmX+jULe0aAzThde6zt26WlYbH
XnkysCxOIdhb+PicE0ZfAOKKJPg83AKkaW83BaUFuwBkfZyW4g3guW79Qiv9V1VD
clam4WG04O4hKzFBx00yfwhbekNRsBKQ1PZvWN0bi5eVoVssurNGbwZamOOiJ24e
jvzYTDlT3FhUW9vUyAG84lOdXRQJtx/SSJk37RzBBE51CvjWfgcsJ3R1IcelI16Z
fnBm5LfjHXuwW+kVQF0FpIfrKQzgy2/gozDqaSk+4M1y2G6dmfyTi5z7FU1Dmv83
5tgbAZHOCxokhz+zq/kdVdADYqEFTjVl28r+ijv9yDBpODBUnNZxyFHtb4wfVLHL
VhWHis3AnejJDJIoPgDMM0RGI6wN4Dfv3+ndd7tgFppOwozmKslvKsJr+SDDhFA5
YMcSTKRqdroHm6NXKQrdL3OV39aZaDVNZqUY16ACoSgdpmJxDqtnadGC34lzHZfs
pEviG0DwZ6KWxVc0fWtE5O1+cco/kCsmH080V1O+GJKfg8LMvp9ehUiOtPUCl8ec
BDoJFvBhHcDBedWQ9wchg95YxloF5V3QCX9he/XL3AXUI6+F25zrbPu/9pK/b2ED
4v7mtFyoFXtpeVGA22uW
=kAh3
-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] Fwd: change IP server

2016-09-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/30/2016 08:37 AM, Gemerson Monteiro Maciel wrote:

> I am newbie with zope

Welcome!

> And I wonder, if I change the ip of a server that already has Zope, I
> need to change any configuration file for it to recognize the new ip
> address?

Check for hard-coded IP addresses in the 'etc/zope.conf' file of your
Zope instance.  The default 'http-server' configuration binds to port
8080 of all available IPs, which should require no changes when moving.

Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJX7ntlAAoJEPKpaDSJE9HY5N8QALlRhvLSbtsP+E/u/y7DTGYM
tNbaec1Brev9cPJePFz6OWs2ueU3fjcRv/6VaMuB36vvcUjuDAF1imnDemWiijkP
cV1UhtOd8mUR2LRBb6eLtkY08mxrbhaTiZNZv6oTDvJ84B7fWDU8ls5A8qQQe79n
PfZEvVIXY6jAwHcpHfQ1RFbb0582UAes/epSYeKVUf5cwwy7OHZCEZc/H6r4aHgJ
Sx/anKZI+lJ8mek01wXv3Aq7Dy3ldSAS1tngx2uCJq5q6/RIP1cma3Mt7e1z2/PW
wH92DHEiAVngxz4TjIZmIBT3IJLAJK9gJYjAaTF1bonO3HT63tPviwtsJsv68BmD
ynch5gP/Jf4q/nX5VWg2+lFqIFfO0IrogSlgVkc9EqGo5h22FNbm35h07ld0M7XI
o+mU24Hf4VOvDz4uCrxngy6QdLYSCpkCztvySUltvlyArvXoMbRhGKDgDcHM9qaq
694Tysc/hr+3gFRJvCsgUksqHEHfMm7jYSb9UsLJKLDecOi6R5S9VPaNt/5cBmqj
esWWKXn4PfF0hXHiM0SXLoFdqcucip9Kh/V2UgeeBSHDs6mHfHBou6bGgFcCsh2Q
vN2ThX9MDCrzv8u7izHpFTtNMxzp2Q0MSGV5ACBM6uB2jr6Dz8wPKWTdCcT/FwIL
T9j31A97tiE8x1TtvBif
=g55D
-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] ODBC adapter

2016-07-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/08/2016 10:11 AM, Miguel Beltran R. wrote:

> With the help of Tres Seaver I have working my site. Thanks again
> Tres!!!
> 
> I know that egenix have the most complete and well working ODBC
> adapter, but ZpyODBCDA do the work for my needs

I'm glad you are up and running!


Tres.
- -- 
=======
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJXf8eYAAoJEPKpaDSJE9HYYrQP/0lf//tyn+UcOpIenBc1vEXI
bqgB9J8H9KPz3LsmPnjt03039qzStsvpq2XbrZXxhpPeVKq16OvW7ysGEccScaBp
g6Za0L+nD0Uy6risKGL9LpKBT3JrhRMz+WYrUEJmCoNr/vsMXS8Nh6Az4pyJanxJ
/HwiM2G8RM8XJvtUP52DpE5dtOVTrv4qg1DeoUpZF+RZTNCoTDDuvzMDteZHfRB3
yFqdW/qr85Ab0W2oNnviZqBpYqe4kLrakJXstwgE9CjYBVktvBSSXVKigMN4qUI7
zY+mS6u5uRTXUN3pC9KDk1+9TDExa6v7U+7ljfx6arDmmLHAMQ1DnsvlCvTqnisE
OxkqRrIlWYzs9IMbIOCpyladMI1z/deYWrJH1W6IoqXHzKLDNmTkzobw/jyU2V7o
wDdJdA3xaa9nKDD3XRgx/iJGHZKw1JwdoJroFdVxeJXBZx1foi2JJ2JsiFFMgXRi
bfXX10oW08TNnYrHwvlVgQfSMfNRsU5xhjUFfx6N3pO7UA+PPw8fAetqxAcqSVs/
LGOkHID3CrqWN2NoQkPW7TvjkmzLnA7+LbibzZIbmk8fPxa9vQzvbdrGOmC5hbP9
uOvMaaUgzL58bmz7g+fiEO69bEXdTj6yCComdCXxGGk0YrRH1zo+/VYokn9kdZVI
weoofDAUor5gJ6R2tOgI
=Ztad
-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] ODBC adapter

2016-07-04 Thread Tres Seaver
On 07/04/2016 12:08 PM, Miguel Beltran R. wrote:

> Using zope 2.13.23 ZPyODBCDA 1.0.9.dev0 ( 
> https://github.com/tcurvelo/Products.ZPyODBCDA )
> 
> I have tried to install ZpyODBCDA but when I try to start the
> instance i got this error
> 
> (control-emisiones3) 
> N:\zope\control-emisiones3>"N:\zope\control-emisiones3\Scripts\runzope"
>
> 
-C "N:\zope\control-emisiones3\instance_zope\etc\zope.conf"
> 
> 2016-07-04 10:48:05 ERROR Application Could not import 
> Products.ZPyODBCDA Traceback (most recent call last): ... 
> "N:\zope\control-emisiones3\instance_zope\Products\ZPyODBCDA\pyodbc_db.py", 
> line 37, in 
> from Shared.DC.ZRDB.TM import TM ImportError: No module named ZRDB.TM
> 
> 
> What module do I need to install?

Products.ZSQLMethods split off in in the Zope 2.13.x series.

 https://pypi.python.org/pypi/Products.ZSQLMethods/

You might submit an issue to the tracker for Products.ZPyODBCDA
suggesting the add it as a dependency.



Tres.
-- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com

___
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 2.13.24

2016-03-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/14/2016 02:34 PM, Tres Seaver wrote:
> On 03/14/2016 09:30 AM, Michael Brunnbauer wrote:
> 
>> hi all,
> 
>> can somebody help me? I used to install Zope2 with
> 
>> ./bin/easy_install 
>> --index-url=http://download.zope.org/Zope2/index/2.13.23/ Zope2
> 
>> and the other ways to install it never seemed to work. I can pay
>> for support or to get things done.
> 
> Sorry about the lag.  I made the release, but cannot get in to run
> the index builder on download.zope.org.  I need to raise an issue with
> the hosting company about that.

Looks like it resolved itself.  I was just able to build the index.


Tres.
- -- 
=======
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJW5woqAAoJEPKpaDSJE9HYC+wQAJY9BQ7ji/c3KHOnB+NSd4es
c201QuKajWb9cVs37HbSdGJvzXoj6V/gwf/gOUcOzBN97ybuo9MppDHhwJDS2/fA
bf8fM92Mkl7ug+D4h1MVP7Wij7+oxrirxUr7ctJpC1rm8UezI9zeIoEOSUl2/HYr
j0/GQQUMsi2syieLo6yNpzG8zuiJb8pDDeDFzuR4klGPG7/PUS03UtF9nicSR8u1
5/RAhspjisjMiljiRDOyUzAWSFjQZe92uNrNhMmEbea+7qkDurRblkG54LHdJR4Z
sp1lHYG7X4BdEl0oMEJZudCtZYJ9AHsMios+mmG07uTF7NX6sHOaeFugh7/iMS7Q
c+ecW8LAYoLqBf0+jgGxLk+ksiKj/e2YjjbfTOxE4NNBd77ECPxrkarcI+6Pl3fs
FF4mVpkW8SqE06ih3IX3VfxLKkU1vfPrGkTOreuhDhfXsNFyLPIFv27NVKFHCIWq
Ndk2EmZplCKRr+cYPr7nh6ieEpvxKm3v5CxIeJ4TdX3IouS8T7j45vwTQLMsWkz8
gRVu25FvrEj6A6sMXN/V0DOrZXLuCyK/lzhx2IgwluwtvldY5+G1aQRTkgVMAjFp
GxV0chLB2m3/1dci94dptgvvmTmpcGAGbELeeNalXqbLhLWPsYdI4eVkX3L6v2G6
UJdxzcOb3Jt0of0x5c0h
=F1KF
-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 2.13.24

2016-03-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/14/2016 09:30 AM, Michael Brunnbauer wrote:
> 
> hi all,
> 
> can somebody help me? I used to install Zope2 with
> 
> ./bin/easy_install
> --index-url=http://download.zope.org/Zope2/index/2.13.23/ Zope2
> 
> and the other ways to install it never seemed to work. I can pay for
> support or to get things done.

Sorry about the lag.  I made the release, but cannot get in to run the
index builder on download.zope.org.  I need to raise an issue with the
hosting company about that.


Tres.
- -- 
=======
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJW5wQgAAoJEPKpaDSJE9HYRRMQAKrke5sy5Cex8zOOVTJtNC9z
Z7N7ItqqX84ZpZjZxJ1Wbee0yM0UVayUqw7X4LsY4BA45ME4+r1mUJUCZr2A6IQf
JfMqxurDC0DxBHninWd6zg1KtcPe8/2QgRBm/7qwmu8f1SGPXGKooPoPGd3j49rP
W4rCLLSJfu6MiolxJp2K+nK05xg/RtoCPvozTvHVjcUUu6us31TNMh8g6O6r5e6y
/lubCLyQDsrUspNpJVQhi0CN6NP7waCwGBe19xM0ACFiqiuP4hd/3zA4Sy/6cbep
WOGZV4tJd7YOTyS6CuLzTVlycQPUMKKgkzt7X/iAMwaMyNKLFpSQRDVBrl6RKkpY
lTi0Uv/pfid0JN9DWl4QowkDLW3gktm2u3oq0PzCShJ5Z/d4Xd4PvyrIMpA6q8Fg
RqlBIJItaCJaGqCkkDf0A2VaQo1268JPyTrzJaMfn25btbF8/S6vyU0+C5gnGvxL
esyClzFt1MSkOAiRGgH5OTuRR4haGCLYYi9nGc4LE4w8FLYeevGU98r0oRzJkn3q
prRFEFfCI1qESj3dQT9+n4DLcvk3yWF7pycWXS+l/nppu68BHebb6Smxv0hYxf2N
10lLAUJbXsoVDJQ61JDk5i5iQ5bfj8xynbPfSEdaju+9lp67p+OzPh4c3DWYJ5cu
Myorv4PuqZLG2K9sinEj
=+WIF
-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-CMF] Pending pull requests GenericSetup

2015-10-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/26/2015 07:04 AM, Maurits van Rees wrote:
> Op 26/10/15 om 09:27 schreef yuppie:
>> Hi Maurits,
>> 
>> Maurits van Rees wrote:
>>> Just a friendly reminder that there are two pending pull requests
>>> by me for GenericSetup.
>>> 
>>> Pep8, mostly in tests: 
>>> https://github.com/zopefoundation/Products.GenericSetup/pull/21
>>> 
>>> Add unsetLastVersionForProfile and purgeProfileVersions. Call 
>>> purgeProfileVersions for base profiles: 
>>> https://github.com/zopefoundation/Products.GenericSetup/pull/18
>>> 
>>> I know, everyone is busy, no problem.
>> 
>> what exactly are you waiting for?
> 
> Well, you seem okay with it now, but I am not sure about Tres. They
> are my pull requests, so it's nicer if I don't merge them myself.
> 
> But yeah, if no one merges it or voices last minute concerns, I will 
> merge them tomorrow.

I merged the PEP8 one.  Ironically, it causes conflicts with the other
one (#18).


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJWLirFAAoJEPKpaDSJE9HYO24P/2DwpoLjDarUKKBYbn6b1k+5
czVqAgKdYa9Qa5A7Y2nMGpaO4jXAzXoqQLH76FQ7Tcq0SfO/9TND0qFdskFDqEY/
K9YzXzj7xSdf/IRymT1Bvqoxf8lgG/3GDWWkkhzdxknn0KW02TIU1GLf5D7RjPBN
NFNowgEY9enOcvFQjdEhKgZ2lpNiLNYEiltP695R3CM3r9eGgOwF+WIOaMCN9Y5d
VRY4D08cpsWA6xuzCseSp7guDOcLk+Y214J6w8L6ry5kr3mTAN46WULu41kq4seN
UARLbG9T/H8zkq9W3cYlbDnsob0tx6Ww28hAWF2upWs/88sYDfsWa5fugC30y9cy
o+XR6GJwzjh2gBwTgGfPK/HluSeZXouXbHgq0pko9c4puyfB/HMG8yGNeHY8jGZw
PNPwZ/h+acV+KoWWEMPzQIvDcgEpNwYqizZ49BeMS/svsVrdi2e5QeLU9MZGxhIa
AQXpSOS2ZALg/6DIfBJnOnQZhDP3PDRx88aBISTlseDTBpvOyStNsF9/peFD5K5n
pHQSvGQu5Yb+q3OIrti3++raax2lBK8xg86BVoVE1xUf9EYGpKRxFHjnc5X1Cj9E
yX49d0TPykLJD49ovO5IxwG4KiKV++clOwkJrwxycvj/uQclW1z1NlvRqxWwSp5p
AOslei4QzDCgdUG8bufC
=7Iy8
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup: Apply profile dependencies only once

2015-09-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/22/2015 06:30 AM, yuppie wrote:
> -1
> 
> I agree with the goal to try to respect pep8 rules and to use tools
> that help doing this. But this is a massive reformatting that adds a
> lot of noise if you use blame or similar techniques. And I use often
> diffs between different versions to understand the history of the
> code.

I'm -1 on that one, too, for essentially the same reasons.


Tres.
- -- 
=======
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJWAb/mAAoJEPKpaDSJE9HYlN4QAIaUNifw3HY9DXKEwms+y3yg
hMHDtK4Y6kXZgTKQU6BvTtz9jdLhZJoAqgTgFDpjn8LCdMCgLyYa/J7ABDEWdaDk
0pWVQJCg34lIPwHHxyGV6LuV2q7Eqzt6Ht2BzeXKmzcX5650cIAnKtfrVpHfCvqW
2flThW0dl6tTds8qIml6UrQY6f2yndTGOsnTHwPIcnFJ1jgP7hj8mhS9FR6j2wx1
9NkiXbXbJFDKKU0l5QQplEGhWrBiJdeZvJl7lCluKmr3PUhnc+PNW6Cn68izxZzC
9rz0KUUvqdkMcUwEzULDu847Ubo0iN2UcdS2o0dipfBdpQ8F6s4D9e/Bc2gcZHhh
Khx7VbZfU8vQI2k2Xu2BProy4oJdANf6lvuLnHJFKJdFYCpdt9n3W8Kc/IRYnLPV
TCseACQZ71vkAtbWH8OBtrLmNCfaEn5N6+ckIhlX7kEOMXiFRLalxKsdxpKbl32b
Yin+0Nt+iX41D4zZ6rANLmhROqj+GSvP7lzt2yA4U03fuCOFp5jLL6T3mS89Ht99
9U1wZX0GJYqcQmt0evppQdlcutJkZ3cq6l9ebU1C+YnEuhzkZvwj0bCaQgqr/lNY
x3ctaxDx+MQ0uX0udT8NSMws/bWEUugojCm3hPKHOzZEwUJtsK26C0KDhAsxwT8N
SDC4yNcuvHKDHYw2oJx0
=PTvJ
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup: Apply profile dependencies only once

2015-09-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/10/2015 11:43 PM, Maurits van Rees wrote:

> I thought I would add a link to my branch on Launchpad, but apparently
>  only the master and 1.6 branches are synced, so mine is not visible: 
> https://code.launchpad.net/zope-genericsetup

The mirroring bits aren't (yet) automated in Launchpad's Git integration.
 I just updated manually via:

> $ git remote -v launchpad
> git+ssh://git.launchpad.net/zope-genericsetup (fetch) launchpad
> git+ssh://git.launchpad.net/zope-genericsetup (push) origin
> g...@github.com:zopefoundation/Products.GenericSetup (fetch) origin
> g...@github.com:zopefoundation/Products.GenericSetup (push) $ git fetch
> origin remote: Counting objects: 61, done. remote: Compressing
> objects: 100% (31/31), done. remote: Total 61 (delta 34), reused 22
> (delta 22), pack-reused 8 Unpacking objects: 100% (61/61), done. From
> github.com:zopefoundation/Products.GenericSetup * [new branch]
> maurits-apply-dependency-only-once ->
> origin/maurits-apply-dependency-only-once $ git checkout
> maurits-apply-dependency-only-once Branch
> maurits-apply-dependency-only-once set up to track remote branch
> maurits-apply-dependency-only-once from origin. Switched to a new
> branch 'maurits-apply-dependency-only-once' $ git push --all launchpad
>  Total 0 (delta 0), reused 0 (delta 0) To
> git+ssh://git.launchpad.net/zope-genericsetup * [new branch]
> maurits-apply-dependency-only-once ->
> maurits-apply-dependency-only-once



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJV8uiCAAoJEPKpaDSJE9HY04QP/jcMG0C8LUVl1f1M0UpGoFMJ
VhZeWMmvLQteaJQw5vXahnmFrn1UaqjIyKkoZcpPoi00vUXcR3cvKgWsJ0Q7AmW+
7dAn0Zt9CSjHNGOOos4ke6+JHKGP2ITL+pJiRSASQz70sCsF1WPU4xK7K2tNFnQd
7AYndav7t3z0YQnywMmwa3eb7h8fbcF7qydU5zqeylaxFwtG+rbnej2h4FSR1tON
/S9UXxlJ64vkJRkS54Hh6ra2fX3PCwMo6lX3dHxS3E9qEMT3AGvihEq43icg8tMP
7xhc7ansg1frlt698l/m+OiVyVP66OHuniN4XwBPuGHV0O0njlY0VRAGw/XpDw8h
cSxkXK135qmPkREzm0fo0cWI0Aswa5r8N11p84cETDuPY16MjaGDvRnGjkd65sJg
3c0B/0YxNRqssf7pil2FTQKVXf/Q8w0bBn+3lcBcyV2IdCiCey+Cb70Wv/Mh9NkZ
PpTp+iEiQIStWfLod/8jFloUBbtEBqH4lEWm+QGBiJ+IvbfH1sQAO+1/5yk5Hh4I
9wSnGAmR6+GBT00xGeDOtucHUb39azkrNTUKEgsO3akayFunKnGq07mm7QVpjm+n
bzg4vtufbi0atpMQRIfQtA720TjmVfWSFkXWAnUqt0t76nMfdaqSdZ9kXbKs0nGK
dC4QlOeTt7ZXHTpvednr
=RH2J
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope] Zope 2: traversing and modifying DTM doc in folders?

2015-08-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/11/2015 02:05 PM, Dan Gaibel wrote:
 Greetings, I have a developer here trying to fix a problem with some 
 legacy Zope 2 (2.8.6) material. Basically, she is trying to change 
 properties on a DTML document, but so far cannot get the script to 
 recursively search through folders to act on every document in the
 hierarchy.
 
 Any advice is greatly appreciated!
 
 Best,
 
 Dan
 
 
-
-
 Hello, the things we want to do is to find every media file (DTML 
 document) in a folder structure and change their format. They are a
 few folders deep and the number of folders that contain the file is
 unknown, so I tried to use a recursive way to get access to every
 document.
 
 So this is what I did, I wrote a script named changeType with
 parameter object, which is initially 0. Then when object is 0, just
 set object = context. If in object we found that there's another
 folder called f, just called changeType(f). The script is shown as
 below:
 
 #parameter object = 0 from Products.PythonScripts.standard import
 html_quote request = context.REQUEST RESPONSE =  request.RESPONSE
 
 if object == 0: object = context
 
 folders = object.objectValues(['Folder']) for f in folders: fds =
 f.objectValues(['Folder']) if(len(fds) != 0): f.changeType(f) 
 ...(methods to change format)
 
 But this causes an error:
 
 Error Type: AttributeError Error Value: ‘str’ object has no attribute
 ‘objectValues'


You likely want to use 'ZopeFind', which handles all the recursion for
you.  E.g.:

for _, dtml_doc in context.ZopeFind(obj_metatypes=['DTML Document']):
# do something with 'dtml_doc' here.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVyj6LAAoJEPKpaDSJE9HYMI8P/1kXr5HkXlQaX35MM3JPBFG4
cMfDUwumSfD2LQF9NDJPGMWZszu//DBLJ4iQ8Sis7Vu0F5aq9EdruZ8/O3yFYwEh
Asv4p8G0d+M3XX19JUHuH0787xq2Zcf/Jx0lQHBY1gnfg6Jt/xlbL4owaoRqR/gN
zu1iPdc8f00LEKoB7XryXhVilbkkJqn8/wXjNReVBsKwOnCH/E7FPBTKairyzdm0
0Azz5tiRyYvXrndsHsLjok7gBUAWx+aOyJOqqSs/dZmMMj522DDcaXbjfy2jmrr3
JbpccAUTNFIIxKDlgWeoSGNE0fVWaSG/oWnn68IpRWDlpEUrvVjZJZXSBinI0uD/
urXA+1u/r9vinZKjzT/q5qTmrSbuIHd6A2bo2kYTCkTbp8e9gD8Kx8VHWDQjPQCI
tY+iFRxGUAut5oSbdm2fhVx3WhK6qf1SLGCGiEt5x5+Nxyut2d9lPByGpJWmI1Rd
ioJkY1XiE4omsn6blZQfBUauSEkTPEfR+fEtGsj6xDBUv0Uoovjumk+QlV03Zgq+
GJMOUzhBxqxst5QoU6mW5xPV98uQ7Bcspo741Gme+lAjYFoaDSuw8arNWP8clX4P
Gx4LcGoJF4X6kdXIYFwRD4mw+QsTFjD4enDzIUqpIrUL94I6M7nRre0SmDpL5FQk
dSu4D/EGtNxMtkOh/XWp
=6+2r
-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 2.13.23 installation

2015-07-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/01/2015 11:08 AM, Michael Brunnbauer wrote:
 ./bin/easy_install ../Zope2-2.13.23.tar.gz works but seems to use the
 wrong requirements so Zope2 does not start.
 
 How am I supposed to install Zope2 this time? Which INSTALL.rst, 
 INSTALL-buildout.rst or INSTALL-virtualenv.rst am I supposed to read
 (please provide URL)?

To use './bin/easy_install', ou need to follow 'INSTALL-virtualenv.rst',
but read between the lines.  E.g.

  $ $ bin/easy_install \
--index-url=http://download.zope.org/Zope2/index/2.13.23 Zope2

If you want to use pip:

  $ ./bin/pip install \

https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVlE0nAAoJEPKpaDSJE9HYm94P/jNXluw2A9W0mAOZHITAdpMM
EXuwTj32GKygwM3xPDILd2utvkh+W/RwwUilJGHQKjTL42dlDXNRC80YbscwSOFm
bf0S9Ycms3ggvrE0mUQ2w5flHDqE3YKiHNmt3zG0fKamDMZLt8OKJLIbkARVbyjE
YgEF1LmlIubuwFwbgFxX98d8cEGJOH02mgWWtfEJTJCfdIx2sRYoX9tkbPeUYCDV
ejP37HWyyL3CK1D3Th0Dz6NW2ohNnH5lUk4w/2VH3ZzwjRFL765Wy8Dmqb5AGcQ7
DXYsK87GekK4NY9JLFdglTBy1Y4x0SvnZElm+TwyaO/x+jvElJuirgrxfrdpOBGa
ulrLnil9S+hmQwcPR4KiZT4L+FrWmeZWjxt8FQ3s57i0q/HRAY2q4gahNeDiD03+
Fv7xWO4D7GUSeKE9+wPwDinoFbHa+EC39VVHEgew8LFRpu5yBpHAmw9aLG85Td6w
tQ/LgD90vtLO6ajQz1iai5SmRBhVsRknIIYa0ZZOIfISk+q35yc7j+WlMd3PlocA
EY9s+vMsLtC0IchFjZtaZjEcL2xdgmwayoWqhxaLA5sSYXIUTyddQDDCpuMuFkUP
Ml5R6ZsQqD3OLHgJOS/5v2VPq6Ylro8+VLhfCwOtBALpwavowEcT/b9/gZ+1u0oW
e2fK8+rvfVSciyEKzx+o
=BGlf
-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-Annce] Zope 2.13.23 released

2015-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On behalf of the Zope Foundation and its members, I'm pleased to
announce the 2.13.23 release of the Zope2 package:

https://pypi.python.org/pypi/Zope2/2.13.23

One key feature is that Zope2 should now be installable via pip, e.g.:

- From the changelog:

- - Provide a pip-compatible ``requirements.txt`` file for the release.
E.g.::

$ /path/to/venv/bin/pip install \

https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt

- - LP #789863: Ensure that Request objects cannot be published /
traversed directly via a URL.

- - Issue #27: Fix publishing of ``ZPublisher.Iterators.IStreamIterator``
under WSGI. This interface does not have ``seek`` or ``tell``.
Introduce ``ZPublisher.Iterators.IUnboundStreamIterator`` to support
publishing iterators of unknown length under WSGI.

- - Document running Zope as a WSGI application. See
https://github.com/zopefoundation/Zope/issues/30

- - LP #1465432: Ensure that WSGIPublisher starts / ends interaction at
request boundaries (analogous to ZPublisher). Backport from master.

- - Fix: Queue additional warning filters at the beginning of the queue in
order to allow overrides.

- - Issue #16: prevent leaked connections when broken ``EndRequestEvent``
subscribers raise exceptions.

- - LP #1387225: Zope 2.13.x w/ zope.browserpage 4.x doesn't start.

- - LP #1387138: Zope 2.13.x w/ zope.pagetemplate 4.x doesn't start.

- - LP #1386795: Fix ``zopectl start`` with zdaemon 3 and newer.

- - Updated distributions:

- - Acquisition = 2.13.9
- - DateTime = 2.12.8
- - Products.BTreeFolder2 = 2.13.5
- - Products.ExternalMethod = 2.13.1
- - Products.Mailhost = 2.13.2
- - Products.StandardCacheManagers = 2.13.1
- - ZConfig = 2.9.3
- - zLOG = 2.11.2
- - zope.dublincore = 3.7.1
- - zope.mkzeoinstance = 3.9.6



Tres.
- -- 
===
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software Excellence by Design http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVkazmAAoJEPKpaDSJE9HYKd4P+wRQqhyGpbok8PG5QegqhISU
Qoyx35ppixD2PrwZU9iRe+dVSSasTF5F9QeC74HO95WMMfByAFGIYd1l0UTQTAA1
tEAsvc+2Uzj5ZlAC9ry+dF6oEHB6QiY56NJNxSMcCyUSJjk0PPHA26SnoxV8IXAg
kwBZA6cmcA3x4Vj0UnNlVhWcMPKhQjXpthor0DIOPmkZJXpufk7uKmldUtAE1Jic
NTySXsapT6CMKUM2bfEMDFgbx/qEE/yuhmnxRN5+GCLCBmYQG21IpoI5SUrFx8ip
U9PWw96ckRGFAsfJD74Rxd2YciTqOeuOtzL7ohrnTSLA78arUBNBYxSHcKHvHCo8
5/f1PrcBJVX4Qac8BHBXrsMAcCczm8JmBlOMjj0dH/XL9lrgXbKQoyyPgH8Puqbm
aJd3FSnmL+qvSlB4qHaK9gjHKRz7hOSjXZ2rqMrSX31Tsy8Pnp4sKSVidDGjz04Q
4nogyH3IJM7LLZGqmz1EmOsYzv0WF1t0sL4EM7gcrjhupokrQYMAsAnVtu6I9YIB
VAHlHbaVFnQMibyboWf4xi35vlIi7bGBcBnzRqRo7oc/+wIqd8g5+f6RNGIAbp2A
3K4jsF40P/S+3dAZiZ24r529ftfspaUnvbOMjeSruxzIq5g6wAgQSsMrnctIBb6G
qBpGLYYsoBejxtwstojh
=01nf
-END PGP SIGNATURE-
___
Zope-Announce maillist  -  Zope-Announce@zope.org
https://mail.zope.org/mailman/listinfo/zope-announce

  Zope-Announce for Announcements only - no discussions

(Related lists -
 Users: https://mail.zope.org/mailman/listinfo/zope
 Developers: https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope 2.13.23 released

2015-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On behalf of the Zope Foundation and its members, I'm pleased to
announce the 2.13.23 release of the Zope2 package:

https://pypi.python.org/pypi/Zope2/2.13.23

One key feature is that Zope2 should now be installable via pip, e.g.:

- From the changelog:

- - Provide a pip-compatible ``requirements.txt`` file for the release.
E.g.::

$ /path/to/venv/bin/pip install \

https://raw.githubusercontent.com/zopefoundation/Zope/2.13.23/requirements.txt

- - LP #789863: Ensure that Request objects cannot be published /
traversed directly via a URL.

- - Issue #27: Fix publishing of ``ZPublisher.Iterators.IStreamIterator``
under WSGI. This interface does not have ``seek`` or ``tell``.
Introduce ``ZPublisher.Iterators.IUnboundStreamIterator`` to support
publishing iterators of unknown length under WSGI.

- - Document running Zope as a WSGI application. See
https://github.com/zopefoundation/Zope/issues/30

- - LP #1465432: Ensure that WSGIPublisher starts / ends interaction at
request boundaries (analogous to ZPublisher). Backport from master.

- - Fix: Queue additional warning filters at the beginning of the queue in
order to allow overrides.

- - Issue #16: prevent leaked connections when broken ``EndRequestEvent``
subscribers raise exceptions.

- - LP #1387225: Zope 2.13.x w/ zope.browserpage 4.x doesn't start.

- - LP #1387138: Zope 2.13.x w/ zope.pagetemplate 4.x doesn't start.

- - LP #1386795: Fix ``zopectl start`` with zdaemon 3 and newer.

- - Updated distributions:

- - Acquisition = 2.13.9
- - DateTime = 2.12.8
- - Products.BTreeFolder2 = 2.13.5
- - Products.ExternalMethod = 2.13.1
- - Products.Mailhost = 2.13.2
- - Products.StandardCacheManagers = 2.13.1
- - ZConfig = 2.9.3
- - zLOG = 2.11.2
- - zope.dublincore = 3.7.1
- - zope.mkzeoinstance = 3.9.6



Tres.
- -- 
===
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software Excellence by Design http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVkazmAAoJEPKpaDSJE9HYKd4P+wRQqhyGpbok8PG5QegqhISU
Qoyx35ppixD2PrwZU9iRe+dVSSasTF5F9QeC74HO95WMMfByAFGIYd1l0UTQTAA1
tEAsvc+2Uzj5ZlAC9ry+dF6oEHB6QiY56NJNxSMcCyUSJjk0PPHA26SnoxV8IXAg
kwBZA6cmcA3x4Vj0UnNlVhWcMPKhQjXpthor0DIOPmkZJXpufk7uKmldUtAE1Jic
NTySXsapT6CMKUM2bfEMDFgbx/qEE/yuhmnxRN5+GCLCBmYQG21IpoI5SUrFx8ip
U9PWw96ckRGFAsfJD74Rxd2YciTqOeuOtzL7ohrnTSLA78arUBNBYxSHcKHvHCo8
5/f1PrcBJVX4Qac8BHBXrsMAcCczm8JmBlOMjj0dH/XL9lrgXbKQoyyPgH8Puqbm
aJd3FSnmL+qvSlB4qHaK9gjHKRz7hOSjXZ2rqMrSX31Tsy8Pnp4sKSVidDGjz04Q
4nogyH3IJM7LLZGqmz1EmOsYzv0WF1t0sL4EM7gcrjhupokrQYMAsAnVtu6I9YIB
VAHlHbaVFnQMibyboWf4xi35vlIi7bGBcBnzRqRo7oc/+wIqd8g5+f6RNGIAbp2A
3K4jsF40P/S+3dAZiZ24r529ftfspaUnvbOMjeSruxzIq5g6wAgQSsMrnctIBb6G
qBpGLYYsoBejxtwstojh
=01nf
-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] Pack ZODB via cronjob without ZEO

2015-06-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/19/2015 08:28 AM, Jürgen Gmach wrote:

 what is the current ( Zope Version: 2.13.21, python 2.7.9, linux2) 
 recommend way to pack ZODB via cronjob/automatically given that we do
  not use ZEO.

You could trigger the pack through the ZMI using curl or wget.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVhEN1AAoJEPKpaDSJE9HYcMUP/1iJqE4R8X/258UmBJ4LI6hl
zkk7y1eqch0Vk7s9L6n3OPYdC6k9WElxOOEIg8LXQnHzbNJHaXp2pgXBmFLfcdRV
KbDQwZ9rACuUXtW5fNyQybZly69Q8cXdXxHkg1ac7K4KtKX+dhz0/x+TFcqsUwmW
dwS+3YdeG7avFDOBBXFTvyWOfHVDeJNkvG3CTD8BNdici+2AB1NWn2C5hHeFPHLh
I6aU6yIMRYke+WY8+EGdspybuYjBbHjRSu0Tc7IGGnUahFGpRhxz6EcaK+UUrBuP
KehPsREyieCmoV675YE5fVxKbrb8HS9xYgtETqE1U5cdROOjROYqVuMO06gzDlmb
zXOVKjOEptjeE4LP5IKDA4A6fVlcaMP/6/pXOsZldiQcFERpJu5rxZcLyQitqd3E
uXsU7c28xFltUtiQcrwsfqlP/wDLOdf+IWufjCbgdfTGHOUpC3jwJAEGmSBz1gcZ
1XsZ0J4DZFrsMmgDrvl3hucbVb/xh3AtTLCJy3okodi09gyo7tBf1w3yMhQUYXiN
eXQI3NCUtm2USoP4Vx4gjP2Rb4YT06DH1yaCmo0DwxBCI5AredUQc0JBcwfpgsqi
YvdYqOrsazJ8PqefFXt4TrIHc3cyTdZuO2w5zWGwKVSgF1assc0peUvaMi6MpNsL
6K3nZwGr+O3u0C5fo07c
=cmz8
-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-CMF] Failure - CMF-trunk_Zope-trunk - Build # 770

2015-06-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/13/2015 10:07 PM, Jenkins wrote:
 CMF-trunk_Zope-trunk - Build # 770 - Failure:
 
 Check console output at
 https://jenkins.starzel.de/job/CMF-trunk_Zope-trunk/770/ to view the
 results.

Looks like a transient networking issue:

 
 Initializing. Error: Error downloading extends for URL
 https://raw.github.com/zopefoundation/Zope/master/ztk-versions.cfg:
 ('http error', 503, 'Connection timed out',



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVfQqAAAoJEPKpaDSJE9HYgvgQAIBLFBpr93tD/KAJv0S4o0Ow
wzLuTj6uN5UkmsfvN9836doUuCzQzaZoNON1Zkef8A7WYD5AcZOIXQVQVqQZnph+
W8GwEDvqnqAo2qn1KIZoGLwHxwZJRFClwdOFrGGoIsFIV7YQ7HHjxcsj7Y7YzxBr
0K/cCHc2P+fFjkgaIn/pJaDqgk2/yTp1r7No0SMHa/aFZlWH1k3yr+6sizYof1lu
/e1hjk1GTEiYqu1HU/9lNLQWMOjVMs66XOhvzYVud34a1F4F95/EFd92XVyE6fjd
o2MS/2tlu6A+lFRd26u20APh23B8aJ6s/w+xc3BKWWk1k/jaxBIi1wjz5mvZTdyk
CdltGKECy+8pe7m3EfcLc2/5PHZ3Rm6kiwctlHzQZmCAG/P8wx+SKFwgi+WEQ3Md
0+NlzP20Vb5cjmJkmUpsZMISv7ZOxk8eLy5EPBUixy9WRjfeUkoSwKaaa984TY7W
uNJ/74wT7MD2hs1zopYVKECvsKacUDp+Pn/e0pskupTy8ec1SIJ/ja8c8faXHUFt
yQMUFVQmoj7uvB87rIMbcUOtzZqd5vXUimxb9bbCDhANdoRWn+MOA7ll+0etsyHE
Lroy5IT5ECrlR/lIsOStKnOe4HXpSvWAXBz/zTe44zDGoMdsBqo6d4jek+hVVPt7
dljSE9qODs+ddv0s4X+m
=bHxy
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] CMF package releases

2015-06-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/11/2015 05:55 AM, Maurits van Rees wrote:
 Hi,
 
 Tres has moved CMF to github, thank you very much, so I thought I 
 would have a look at which packages could use a release.
 
 ===
 
 Looking at the CMF 2.2 branch only two packages have changes (other 
 than version bumps, manifest updates, etc):
 
 Products.CMFTopic 2.2 branch: - Only a test fix, from 2011. - last 
 release: 2.2.1 (2010-07-04)
 
 Products.DCWorkflow 2.2 branch: - Raise proper BadRequest exception 
 instead of a `Bad Request` string.  Needed for Python 2.6+, otherwise 
 while raising this string exception you get a second exception. -
 last release:  2.2.4 (2011-11-01)
 
 So a 2.2.5 release for Products.DCWorkflow would be good.
 
 ===
 
 Looking at CMF master (2.3) there are lots of changes.
 
 Products.CMFCalendar master: - lots of changes - last release: 
 2.3.0-beta (2012-03-21)
 
 Products.CMFCore master: - only changes due to github move, nothing 
 that needs a release - last release: 2.3.0 (2015-02-20)
 
 Products.CMFDefault master: - lots of changes - last release: 
 2.3.0-beta2 (2012-03-31)
 
 Products.CMFTopic master: - lots of changes (only a few in 
 CHANGES.rst) - last release: 2.3.0-beta (2012-03-21)
 
 Products.CMFUid master - lots of changes (none in CHANGES.rst) - last 
 release: 2.3.0-beta (2012-03-21)
 
 Products.DCWorkflow master: - lots of changes (none in CHANGES.rst) - 
 last release: 2.3.0-beta (2012-03-21)
 
 Products.GenericSetup master: - fixed compatibility with Setuptools 
 8.0 and later - last release: 1.7.5 (2014-10-23)
 
 five.localsitemanager master: - Don't complain if the site root has
 no Acquisition parent. [davisagli] - Removed zope.site dependency.
 Using Zope 2.12 it is an indirect dependency and using Zope 2.13 or
 later it is no longer required. [yuppie] - last release: 2.0.5
 (2011-02-06)
 
 So:
 
 - CMFCore is perfectly up to date. - GenericSetup almost, could use a 
 release very much to gain setuptools 8+ compatibility. - 
 five.localsitemanager could use a release, though it is not core CMF.
  - All others could use new beta releases.
 
 ===
 
 I would love at least a Products.GenericSetup master release.  I can 
 do that myself by the way.

Thanks very much for the spade-work.  I plan to work on CMF + Zope
releases at Sunday's PloneSymposium JP sprint day.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVe2grAAoJEPKpaDSJE9HYKsIP/1mn7BH5N/XFAXdSMcBDvT6s
gc2M6kt0yZMpy30gj5xFtkiDscok5v2d276b5Lu+/Zch3Hvru9qt3fALaj70Lfwq
ZosZTbQ/sW+2cI2aTdwUtba8cycgxwr+tGKBS35Hl40lv2YsmBJVP0Blz1JhJF0y
+zUcfrseLdw9kGOiDxvc/aUsXQvQehbUcQYMbH3vktyDAnLU+60PO5ewZwMs9IWL
pAjRAxTGw72NhQuFjZ8msM2XpQEgBDH0VNQkPt8dS4uxTPkWczQkPeROxUB8C49j
ebPl4ha4iZU3JfsJaiNkmFHueZDmycEFeTfPujbqepy82jDYH3tAu3+dOLKMSXGH
1akk5rSmRZdQRxkTd0UmWWNdDfS28TJ4Rn5jehfPvCN0lc6grmLW3cBrtvN+uK8X
qYzimiHcUkT8pPLB0K3tgqZxtE/noiHFLye3D1SLYyM0i7J8392D+mKsCKfU9moZ
lw9mjdwtJrUu4l5pFbIuXP0i5kk9uFBeHJ3GIcCcUIurRtoChn/Jo/OuOPMFpCcU
kVZ2tZL3AYRAXiT9cX4UkLMMQUFchqeMORzonRM+gnVweiompks9/3MFexiPpYbS
5fVcMXYJgYcVyczKtqhsjagQ5OdILvYlZ+UUiT8itwG8LRqJLp1t4ivhiQOujd4L
IBpeZY/+9OkJW2pRUJQj
=cedu
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Still Failing - CMF-trunk_Zope-trunk - Build # 764

2015-06-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/08/2015 06:58 AM, Maurits van Rees wrote:
 Jenkins schreef op 08-06-15 om 04:09:
 CMF-trunk_Zope-trunk - Build # 764 - Still Failing:
 
 Check console output at
 https://jenkins.starzel.de/job/CMF-trunk_Zope-trunk/764/ to view the
 results.
 
 Tests should pass next time.

Thank you!


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVdkt3AAoJEPKpaDSJE9HYXjoQALjTdqU8AQNxJI2+iuNAPimK
Fp/y5PeAhQ4FSz9QnqeHIG+hAwVAZ+cniiM8XYvmTT8a4lWa0oxbcQNswIbmw0QB
TYzHSNvM5fC7kwvu5eZlaY3dVhETN5BknGEmRbeP0e3EWUxGr7c9AXy7kENKTYXe
a11LuI2C0Tmg58/QoMkLAeGBgBwNK/StX2bzm4u5wQ/jAVpnmDDOffVqHJPCHo/B
gJzjTVrmvB3OLuBRJrqdNGFdG3IvaHE/7SRGograHvbBGeVricjfVhE1HSCBS9PB
U+6Fohe88SioeOxqs02iJriuJlBJJFp1uA2nw7/TlbwKKhcRp81i9BzOFMgQcJXM
lCffVesb9J1XbqZi0wPwbyUEsFAiGg0AdnWjjPGypCxWrI6otDxAEzopHePzILTJ
LpCU2CFzLh4l0II+SdvJYkMEpwtuudU187yoVPgtFkVy7bMa0tAeP5lEUVZlXkGO
uO63XLXJbwHlHP2J/CEfm3PUP/IfQ3VuXjrKmt34xtPjFYA6xkHU30pLEBm64Jmu
nBNi05s3tfvTV2NFJbqYqvRZRnCy1dbATIpBZonGe/rStv+k/8I4wX5XKYqxSFZ/
Kgu7vcTsaDXa00zIgwlDdv9hyvzWoT4iTZiR9Vw66pUNS0wKhhqmdwwLqM3e6sZl
mumexI6gGMyO0XIiKaLh
=AzJg
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope] PAS scripted auth

2015-06-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/01/2015 05:01 PM, Sebastian Tänzer wrote:
 Hello Tres (maintainer of PAS) and Zope community,
 
 I’m trying to get PAS replace CookieCrumpler to do authentication to 
 Zope2 from a python script/Product or external method.
 
 Is there a how-to or tutorial somewhere how to get started on this?
 
 What I want is to authenticate a user through a web login form as 
 Cookie Crumbler does (but I’d like to to it from my own script that
 does other things,too).
 
 I’ve
 
 - installed PAS - replaced the default acl_users in my folder - added
 a ZODB user folder - added a CookieAuthHelper
 
 Now, how do I authenticate the user to Zope if I have a username and 
 password (i.e. from request.get(‚username‘) etc.)

You can check credentials from trusted code by calling the
'ZODBUserFolder' instance's 'authenticateCredentials()' method, passing
in a dictionary containing 'login' and 'password' keys.  E.g.::

   zodb_users = self.unrestrictedTraverse('/acl_users/zodb_users')
   creds = {'login': login_name, 'password': password}
   authenticated = zodb_users.authenticateCredentials(creds)

   if authenticated is None:  # creds don't match
  show_error_message()
   else:
  userid, login = authenticated


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVbczTAAoJEPKpaDSJE9HYT+4P/3bu4hMoDyBHMzjt82G9C/Ik
jmCCCWJidZcYTHdW6mhXtmkZENd2eFiPuJCPrusH7hU+PuDk9ymPAQu5FOh2w5wb
YjsJtrBIDIYEdDq1ArsqOvbwjLeSb0YLHuORrIB7lh2Ic9BKuYtX93FgcLdhq4Fn
oeQvRZ965YtSXwGi4F4TGS5Fr52m8rWDh5/qs/Km1OsGFgI5cF0Aam5nF3vN3IVt
ykFsxtA19/I+FWBKkrTKEuhZTIjqKAONGY3eApsgEhEySklo/FblRSLWmUqWAZXQ
uAl7CSJZD1Qi2yUU/z2T0H6e+RIIk8nbrFVzl3BZjj1QbMJmVpOy+BRFC8VzrC5i
HVHJdVzshVQrORH1qt87S8hHUlk/CwAJng8ALBlF8uBgt2atwbuED6EqSSiMQXj/
eJMesN1aKF8p0I/nG2ItBb/Y0HmiX4y5NcAvKDvhmvqS4rc4GPm67IADQw73nLVC
tcXjHx4EeqYmDP0fs4RwEX5PWrpBuTc3etdd2/YIMBr6WhUPX0uDdUM+Bq9Z/ngL
Cof7CBa2I4FTIr82xd07eS0EqdUq0J992Chk1eMfxegqFTrkI8bJ9/JZuL1l+0pK
tSa8qSQCwR3ClCneDpFLzG0A6QGQoj2nyzkGb6nql/xwPdr7qgMW+fAwdzjDI7ab
2Oytr7Uz6TG/jYjoJzjU
=OSbv
-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-CMF] A Tale of Two Repositories

2015-05-25 Thread Tres Seaver
I have cloned the root CMF buildout repository to Git, and pushed to
Github[1] and Launchpad[2].  This one was involved enough that I'd like
some extra eyeballs on it before clearing out the SVN 'trunk':  in
particular, I think it is possilbe that some of the historical changes
(removing the products as direct contents, replacing them first with
'svn:externals', an later with 'mr.developer' checkouts), could be messed up.

If you have the zen, please clone from either Git location and poke around.
 I tried to preserve important tags (those matching releases) and
branches (the release lines) but left some of them behind.  Please check
for correct e-mail addresses in the logs, too.

Note that the only current CI build is failing even though it is checked
out still from SVN[3].  I haven't looked into it yet, but the likelihood is
that it will be a relatively shallow fix.


[1] https://github.com/zopefoundation/CMF-buildout
[2] https://code.launchpad.net/zope-cmf-buildout
[3] https://jenkins.starzel.de/job/CMF-trunk_Zope-trunk/750/


Tres.
-- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] A Tale of Two Repositories

2015-05-22 Thread Tres Seaver
On 05/14/2015 03:14 PM, Tres Seaver wrote:
 
 Proposed Github-Launchpad Workflow for CMF
 ==
 
 A Tale of Two Repositories
 --
 
 .. blockquote::
 
It was the best of times, it was the worst of times, it was the age
of wisdom, it was the age of foolishness, it was the epoch of belief,
it was the epoch of incredulity, it was the season of Light, it was
the season of Darkness, it was the spring of hope, it was the winter
of despair, we had everything before us, we had nothing before us, we
were all going direct to Heaven, we were all going direct the other
way – in short, the period was so far like the present period, that
some of its noisiest authorities insisted on its being received, for
good or for evil, in the superlative degree of comparison only.
 
 At present, the various CMF projects (``Products.CMFCore``,
 ``Products.CMFDefault``, ``Products.CMFCalendar``,
 ``Products.CMFTopic``, ``Products.CMFUID``, ``Products.GenericSetup``)
 are the only Zope Foundation projects actively maintained on
 ``svn.zope.org``:  all others have migrated to Github.  In the case that
 any other previously-languishing project becomes active, it is first
 moved to Github (e.g., [1]).
 
 The CMF projects are in this state because one of the main developers is
 unwilling to participate in the project if it moves entirely to
 Github[2], but is willing to continue if a proposal is in place to
 maintain a second public repository, against which his contributions
 would be made[3].  This proposal aims to satisfy that request by hosting
 the second, synchronized repository for each project using the new
 Launchpad Git hosting option[4].
 
 Repository Details
 --
 
 For each of the projects listed above:
 
 1) Create a Git repository from its Subversion history, and push that
repository to Github;  this step will use the same scripts used for
other ZF repositories.  E.g., the branches, tags, and trunk for
``Products.CMFCore`` will be hosted on Github at
https://github.com/zopefoundation/Products.CMFCore
 
 2) Push the new Git repository also to Launchpad.  E.g., the same
repository will be pushed to
https://code.launchpad.net/~zope-cmf/Products.CMFCore
 
 3) Remove all entries from the project's trunk and active release
branches on ``svn.zope.org``, leaving behind only a
 
 4) Add one-way synchronization (mirroring) from the Github repository
to the Launchpad repository, with the synch happening on a
ZF-maintained host.  This explicit syncronization can be retired once
the Launchpad Git integration has added its own mirroring (already
announced as underway on [4]).
 
 Contributor Workflow:  Github
 -
 
 Github-based contributors will follow normal Github workflow patterns:
 
 - Fork the repository of interest via the Github UI.
 
 - Check out the fork, e.g.:
 
 .. code-block:: bash
 
$ git clone g...@github.com:username/Products.CMFCore
$ cd Products.CMFCore
 
 - Make their changes on a branch, test them, and commit.
 
 .. code-block:: bash
 
$ git checkout -b bug-12345 master
$ vim Products/CMFCore/DynamicType.py
...
$ tox
...
$ git commit -am Clean up dyanmic types.
 
Fixes #12345
 
 - Push the changed branch back to their fork on Github:
 
 .. code-block:: bash
 
$ git push origin bug-12345
 
 - Create a pull request from the branch of their fork to the appropriate
   master / release branch of ZF's repository via the Github UI.
 
 Contributor Workflow:  Launchpad
 
 
 Launchpad-based contributors will follow normal Launchpad workflow
 patterns.  (URLs below assume the contributor has applied the Git
 configuration described in the Configuring Git section of [4]).
 
 - Clone the repository, e.g.:
 
 .. code-block:: bash
 
$ git clone lp:Products.CMFCore
$ cd Products.CMFCore
 
 - Make their changes on a branch, test them, and commit.
 
 .. code-block:: bash
 
$ git checkout -b bug-12345 master
$ vim Products/CMFCore/DynamicType.py
...
$ tox
...
$ git commit -am Clean up dyanmic types.
 
Fixes #12345
 
 - Push the changed branch back to their fork on Launchad:
 
 .. code-block:: bash
 
$ git push lpme:Products.CMFCore
 
 - Create a merge proposal from the branch of their fork to the
   appropriate master / release branch of ZF's repository via the LP UI.
 
 Maintainer Workflow:  Github
 -
 
 Maintainers will work with the Github repository as the primary
 repository for a CMF project, using the normal patterns for other ZF
 repositories hosted at Github (checking for contributor status, etc.)
 
 - The canonical location for bug reports will be on Github.
 
 - We will enable continuous integration for pull requests and merges via
   Travis-CI.
 
 - After review by a maintainer, and assuming the CI passes

Re: [Zope-CMF] A Tale of Two Repositories

2015-05-22 Thread Tres Seaver
Products.CMFTopic is now moved to Github / Launchpad:

$ svn log -r HEAD \
  svn+ssh://svn.zope.org/repos/main/Products.CMFTopic/trunk

r130523 | tseaver | 2015-05-22 19:01:00 -0400 (Fri, 22 May 2015) | 8 lines

Note source moved to Github/Launchpad.

See:
https://github.com/zopefoundation/Products.CMFTopic.git
https://git.launchpad.net/~zope-cmf/zope-cmftopic/+git/zope-cmftopic

as described in:
http://permalink.gmane.org/gmane.comp.web.zope.cmf/19202.



Tres.
-- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] A Tale of Two Repositories

2015-05-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Products.DCWorkflow now moved to Github/Launchpad:

$ svn log -r HEAD /
  svn+ssh://svn.zope.org/repos/main/Products.DCWorkflow/trunk
- 
r130527 | tseaver | 2015-05-22 21:02:17 -0400 (Fri, 22 May 2015) | 8 lines

Note source moved to Github/Launchpad.

See:
https://github.com/zopefoundation/Products.DCWorklfow.git
https://git.launchpad.net/~zope-cmf/zope-dcworkflow/+git/zope-dcworkflow

as described in:
http://permalink.gmane.org/gmane.comp.web.zope.cmf/19202.
- 


- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVX9HsAAoJEPKpaDSJE9HYmdIP/10iBJi8zeTwkTGxtFq5aGd6
yAaxBikf7ECLT69oLWh0lzIH40JGy4WGSyca0MEXx3BVqF88I8wpVHqNErQr2obj
XuX3ChF0k7nO136CW0BYzas8FRUP3Qeck57kGxCQritK6ilZSyiJRAvALoJt+bTr
M+K4CF65GYDsywohG9LP+RkDWiCGtIbNbfFOQxr/yP43EW9Bxs2KczTRjJsXQcQr
fCLvq+FPsF2n2f6a+t0bbuNZxDR0PGdeFSKv4NzBtJUMCmJsF+eF1d4YcZHNIdoD
QYAy0BqzkRKvVphRa+1eq2bMGJSdQKSPp2JO1JNOqs9j/uJdktOTg2+SjT8D6UN7
lGslVmybIp9G2m1Tq1vzo4uHEEgqXSDuxic6ziX+UXQ0mDPCJxAUiod5QaINVR0B
BPQsB0iEKIOsYVZthnZ5naybM69yC0B6n7iAfzzvsqaWCKotxUG7DAn5QbZRzveo
oNhkLdnsP+QbnI1OxePq5nYJh3VDi6I+6n9zRUqKT86hpfjyUgm8XNcbwBPXoq7Z
zfjYOheBOlTnmgCvQSQlYSB1FSCvJUkzf0b2u0P9NCVOxtuGpXhISnCJSlozBxMc
yT0u593MTDoSiCthjPseCtoSCiDVeLEgrxu946BbIRCd6/oh7wYjyotPHD1mTKxs
Fh9EaxvBa7adQePCbllr
=q0rV
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] A Tale of Two Repositories

2015-05-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Products.CMFCore is now moved to Github / Launchpad:

$ svn log -r HEAD \
  svn+ssh://svn.zope.org/repos/main/Products.CMFCore/trunk
- 
r130521 | tseaver | 2015-05-22 17:04:03 -0400 (Fri, 22 May 2015) | 8 lines

Note source moved to Github/Launchpad.

See:
https://github.com/zopefoundation/Products.CMFCore.git
https://git.launchpad.net/~zope-cmf/zope-cmfcore/+git/zope-cmfcore

as described in:
http://permalink.gmane.org/gmane.comp.web.zope.cmf/19202.
- 



- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVX5oyAAoJEPKpaDSJE9HY9RMQALoNMqbcwB/r6AOHGEE/qDZ8
JQLoI/438MQiILq0kTruaGvzmKKAda6SL0+9+tsJPheJ2KUiVHl6yc6BTbAYv+Xp
hRafirK2qzIkc3/69xQHVfCJglAC4AqPeimd7/dNcx5H3fCnrq1Akvtl6LGLQPp8
LaTWs+a/9IaMh/zaXSl8oD0OeHwIYbBJ9XlpIbdlsq4K99CzK6zl0Qwjt+RnJZF7
4YVudeoDUmbU0DFznz6yztPL89yI8xA0Bigw4OSN/0XVSw9p3PMt2wSp/5/JCqQ9
K9b4Y3jD1imvdbPS45mksJ1yBkvN1diveBOBxuQO7kS//Af+17precIMb43pP3fm
kxcFAn/fR+n7ySiXc9wc9tsgMNmB7TKaA1udd98AunnKgBLY9pJcoJgL/voN2TDO
DaRewmL89WVtpVX9gAhOO6S7yoSQIfSg1rkjVx3XD8cVcI3MFZoen4jm6SiLDqDu
wE2xrLXZ6AFttSvYPjeAtoXOx8CF8N6vE33FIR3O5bh6g49C3alptRsNqaQMSn9Q
eZHlJtzI2+OqkA9sxMIAiTrGfKblAYDcSG2b+rmyHR9vLFn4pt8nDZmXabodgNdb
mpndSvsb7rgTLOhdHP10LgvkYDpVKXwOCE02t4cWHWe+NaFcdVejuAi6yAAcP7q8
Oq2MdmIh8Ajk7wsVKEMP
=hMh/
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] A Tale of Two Repositories

2015-05-22 Thread Tres Seaver
Products.CMFDefault is now moved to Github / Launchpad:

$ svn log -r HEAD \
  svn+ssh://svn.zope.org/repos/main/Products.CMFDefault/trunk

r130522 | tseaver | 2015-05-22 18:45:38 -0400 (Fri, 22 May 2015) | 8 lines

Note source moved to Github/Launchpad.

See:
https://github.com/zopefoundation/Products.CMFDefault.git
https://git.launchpad.net/~zope-cmf/zope-cmfdefault/+git/zope-cmfdefault

as described in:
http://permalink.gmane.org/gmane.comp.web.zope.cmf/19202.



Tres.
-- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope] ZCatalog queries performance

2015-05-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/19/2015 04:54 AM, Sebastian Tänzer wrote:

 Let’s say I want to display an accordion with all events of a month 
 displaying quite a lot of data about the event (30-50 events on one 
 page, collapsible jQuery accordion). At the moment I get the results
 and put the objects into the result set via unrestrictedTraverse
 using getPath(). Would it be better to only get the path and get the
 object in the template? Does this make any difference performance
 wise?

Nope.  Doing it in trusted code (an actual method, and ExternalMethod, or
a view) would be faster than either a script or a template.  Measure it
to decide whether to switch, however.

 Which data of the event objects would I keep as ZCatalog meta columns 
 and which not? Documentation is not really helpful on this.

It is super application-dependent.  The costs for maintaining extra
columns of metaata are relatively small (bloating the Record object, and
therefore its pickle, mostly).

 The tricky part is that events are linked with different locations 
 (event location, selling points) that are not children of the event 
 object but objects in a different folder. The event object itself
 only keeps the links to these location objects and I get them when
 iterating over the result set in the template.

If you can define a URL-addressible method of the event which returns or
redirects to those objects, you can get away with hard-wiring that in
your template, using 'brain.getPath()' as a prefix.

 Any advice what would be the best way for this performance-wise? Is
 it okay to get the object itself via traversal? Is there a faster way
 to get the object data?

Fetching the object is fast if it is already in the ZODB cache, but slow
if not, nd may cause other, more popular / important objects to be
evicted.  Where possible, design for catalog queries which don't need to
fetch the object.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVWxWLAAoJEPKpaDSJE9HY0aQP/1mC0Ll5//c24XQPcvMwS18Y
/gZfOe/IeL61CRrI2Sv+RMQ6N6gXpL8oM/KsWU2wphfPVYC96VxiD28ubhmWVk+f
GFbmN4YchYSNHND2kzcjxyHd1+U6+c/NhkcfgL9GtLZBsSNtMZut2pV7sN7VvjhJ
0F1Kwu6HxZ5yvEjZOk0tzDfrhh0I4Y3elFTwJkHXq/Z/3xN+NTVNpYXRAw5AWGJC
A0Y/ll/cx1+JIKlMbjhMNqG+k61JGD8MdZXIvBwJ7jij1VIGYfYG5/7wZieMjCTL
/SBMkOnODchSzSk2wV1B0ZgpbgTf+DYuZRzKCrYc7QOktfQhqEBOS5ljIjpWkDcq
wqsxPBD0uyu/K3+dd4egL3Fcvg5DDfm9//Qo2B8JAkLWO5XeJ4UiyZHLYWZXSpXI
SdjL2zFnhTZhp9pxIv+V4W/XrzMEDAr3UOFlrikiGd4oxTBffFuxuSr2mvpqshTQ
TaS8Vgty9SmqMaPuvMZPc7FoPExsC4k4sNO9XgSXKT/5xo3FErLTWVCL1/qVHN3I
6wHvSrh8n1Z/m60P6OaUzIHF/97sjbxOO75d0RZCnaTFWt2TizrrsrwaBZ2p6Yyo
83l5QxPLDge6EZNb1MMewZ9vW8EamDhkR2pKTsQTEVDj2p4gVhmh+J5pjN6BKj50
D98HPv4JrWhf965/Pay4
=Sv38
-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] ZCatalog queries performance

2015-05-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/17/2015 11:09 AM, Sebastian Tänzer wrote:
 What are the alternatives?

The most performant implementation would be to generate the URL for the
image using a fixed suffix (relative to the result object).  E.g., ::

  ul
li tal:repeat=event context/listEvents
  a href=event/getUrl
   img src=string:{event/getUrl}/event_image /
   span tal:content=event/titleTITLE/span
  /a
/li
  /ul

You could achieve that fixed suffix either by mandating a fixed object
ID for the image, or by adding a method / view to the event which
redirected to the actual image URL.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVWNHiAAoJEPKpaDSJE9HY/nYQALbHx3WvyjEk/6rsgomcWJhN
va4ZgWEjQtFuSlzHOf30CGKIEwNX+EAYWw6juMznQo/4Yq5b2g4Ur8cA9q1gYgFB
2ZwW4/W4wKsaAJxQ6sckinAKhlWGJugXdpcxnbbU3V0ePoUtgPsO0GVIlPoDV+WF
/qEnWYWTu+7xHf/DV5iiHKTqYM0Oqv1aNTuZd9s8/emHoDuU8RpzVLscZuJEYk+B
5mdFFSfNJ9wer79fxQH8yM+8Vz6IkVx4XCCTa9/9QM9qHTVLqvv+AllbtolQ4gms
ASkisuW7p/XvJgK5bMbUFvEkDZQQDMFAuRKe2lnVT6rAFXiR04fHk6GKKtW3WyEb
Cdq4GYcKz4ZYdF4l2QV8h+FOZRAf6qWW9CCiRsuihaiYB57Uk8hI/GPk00TXL78z
rmOWtZ86d7hlCarP8k+T+1b5b+RQUB8danop21ys3SeH+FMiEPxjIuhY0i43n6xQ
dg6HJ8ry7KihYipaRJrC0tqVFluToWFdLUaM1qRSJHpcKi3TpHKiKXGzNSHzeI1y
GD7zb3HF+lYqsy74wPWIp/flSmJxJMg5givfHt96/sFvaaNstvjIY6KiKUUW0JMy
8b/fF4ufHu2ZGoT8TSMCZRa4KpNMcat9Edo/MsgOeir65a3PnFj9Br8DmpZJwTbV
9KZEKY4Aq+EJq+RPmH2D
=U40Y
-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-CMF] A Tale of Two Repositories

2015-05-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/15/2015 07:07 AM, Maurits van Rees wrote:
 Tres Seaver schreef op 14-05-15 om 21:14:
 Contributor Workflow:  Github -
 
 Github-based contributors will follow normal Github workflow
 patterns:
 
 - Fork the repository of interest via the Github UI.
 
 If they have contributor acccess to the original repository, they can
 of course create a branch in this original github repository.

I class contributor as distinct from maintainer, based on exactly
those rights, although we might want to adopt a pattern where even
maintainers function as though they were contributors, submitting pull
requests for review by another maintainer.

 I was going to say: the same is true for Launchpad, but on Launchpad
  we should of course not do any manual changes to the original 
 repository, because it is meant to be only touched by the automatic 
 synchronisation.

I don't have enough Git-fu to work out how to automate two-way
synchronization, which is why I described having the LP repository be a
read-only mirror.

 The Launchpad repository will be synched automatically, whether by
 the cron job or by the built-in Launchpad mirroring.
 
 Does anyone know if we can make the Launchpad repository read-only 
 except for the synchronization?  This would prevent accidental
 commits. Well, I guess the access rights can be tweaked.  If the repo
 can only be written to by one Zope Foundation or CMF account, this
 would prevent accidental commits by individual contributors.

If Launchpad supports it, then having the commit rights restricted to the
mirroring process would be great.

 Sounds good to me.
 


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVV7x5AAoJEPKpaDSJE9HYz6YQAIFqpC3pHG8lr1RE3N3DNtw/
Ijyo9tlRhIlKWIX4HGcOk9IqW3+E95Y4jZlgbYIREONc0+GDJAMZcT0qhEZrcihD
93aT55dutC3SqFx/QHqQoPLI8jjumYjnXxbUxPwajSfTR8Hffi62LsGmQjjCk6cK
bM3N7HjCaYiFNy/sAV0hIFCbS8Ps1s1EzdcQF8HJV/ls2B2X26CQR9zoe4OQBSJB
Zb/KrTHr0HY/FVMRyV4JNw6oMgbDtQ5sEzmQ6drUtsKIHyBfK2qMqwlIgqc4e4KS
RsXg34ZxEA5ll+wmW0iqF7LE+IIbtNI5NVXo3IZU+aZtRKAWYpxQ8AzsyD5G/mzA
OEVKXuWn7n7u6qwzcRYrHtyUk1VmxrBNN86zpeRU2bJYSK03Pp55XKfiq/OeeHn2
vQBlXfpng4yw9PkCgoSYLtpXKvfcRQZ30IC8eeQcLuO78xYZSWapT7rg1cXFcd9H
0Ug5pxWkarRSZZMrsivoQTcbvRK3nFsgMPi787BSknk6L6DzXJNysRO/Tghd5HGP
D4Sx5iRVYVbw07IHsv/7QsVDWtuL8RvoSddalOy3fuMiDYWUrPQDK4t1KF4Uf5q4
DKVT65+00tYYmnBnFXSeUHHHFSWshf61fsUFcFqvRnYDhltZKBCNMg6Kruj+eHG+
6xW3qWt+x8g+KEPRkk6i
=RY1y
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] A Tale of Two Repositories

2015-05-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/15/2015 07:55 AM, Charlie Clark wrote:
 Am .05.2015, 12:11 Uhr, schrieb yuppie y.2...@wcm-solutions.de:
 
 thanks for working on this issue. I'm not very happy about the
 proposed solution because it makes the GitHub repository the primary
 repository and the canonical location for bug reports. But
 compromises never make everybody happy.
 
 For the record, like yuppie I'm not happy with Github as the canonical
  repository either. Is this because it's easier to use travis-ci? Or
 simply because it's more convenient to have everything in one place?

Moving the bug reporting to Github is open for debate:  I prefer it,
largely for the ability to close bugs via commit messages.  The
canonicalness of the actual repository is slightly spurious:  the true
canonical version is the local repository of the maintainer who makes
relesaes.

 I'm happy about your proposal because it looks like a practicable 
 solution everybody can live with.
 
 I can live with it because I haven't made a commit in at least two
 years.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVV7z1AAoJEPKpaDSJE9HYOYsP/j/Fa2uWJRRDriHtlWKFQF5e
t+l9XveK2RxwMrmo1WGsDbzefjZ6YwyePG5lLpLk67zFtNNlaOPtfy+CLfMvzFrh
wn5gsgGG9mZWHLTEfvS9Vm5lRjuWZHRrpS6UqUCVTyrKeS+R3sheZl4UVbO4CL98
4+e+Rz8DoTyZqdCLnyNebFG0PtIuf3lsNgLf2B6dHDKF2lmA+sHEJSM6xmDBeajS
rf7IjZrSnWs0IUXFUhiwBVYCq+XC2qDYWy1zk2/kIGjsX1AwF/t22AF27GPAUoWR
9iowop4N8CNphqVQWO1oOgQPNsQYH1h1asvTRNbLepDzqNHae+yhkAQ66frSnb29
zcbYwGoWGlv6pE5BQhdoGgp0jHkCOoCrHQOUEjzDStiJxjbd8lvJ0wJM/cwgU0CX
Zalu+ecmOUy7kx2nHBrMCrI8fJ1DGw/grDpdB+9fu7L3hfwcjOrQkFer9RQXwTek
VU4vOCihQGfySR5rQVGHiy4ltI/hDnPfyye8zEs//sl0J6AFM5oT6CT2FrDwqCXN
EJZcjzybQ2jy9JVpD+EIPMQj8oNwfOPSN/QwYIZ7UjfftNvdw1kWZI2hdbOH35c5
tq73j/Uq+1IrFby37Run9RZySQb+7VbaHQrKDy9MEJnOys4IcYtCjugrfAvoWjGR
4a/6vTKTbTlIWQFi+fQi
=FRNt
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] A Tale of Two Repositories

2015-05-14 Thread Tres Seaver
 and pushing the appropriate tag for the
  release.

Maintainer Workflow:  Launchpad
---

When reviewing a Launchpad merge proposal, the maintainers fetches the
proposed branch, e.g.:

.. code-block:: bash

   $ cd ~/projects/CMF/Products.CMFCore
   $ git checkout -b contributor-bug-12345 master
   $ git pull lp:~contributor/+git/Products.CMFCore bug-12345

and reviews / tests it locally, e.g.:

.. code-block:: bash

   $ git log -p
   $ tox

Once review and testing are complete, the maintainer merges the
branch via the command line, e.g.:

.. code-block:: bash

   $ git checkout master
   $ git merge --no-ff contributor-bug-12345

The maintainer pushes the target branch *to Github only*, e.g.:

.. code-block:: bash

   $ git remote -v | grep origin
   origin   g...@github.com:zopefoundation/gcloud-python.git (fetch)
   origin   g...@github.com:zopefoundation/gcloud-python.git (push)
   $ git push origin master

The Launchpad repository will be synched automatically, whether by the
cron job or by the built-in Launchpad mirroring.

References
--

[1] http://comments.gmane.org/gmane.comp.web.zope.devel/30569

[2] http://permalink.gmane.org/gmane.comp.web.zope.cmf/18242

[3] http://permalink.gmane.org/gmane.comp.web.zope.cmf/19025

[4] https://help.launchpad.net/Code/Git


-- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope] manage_renameObjects with remote ZEO

2015-05-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/05/2015 01:42 PM, Sebastian Tänzer wrote:
 Hello Zope community,
 
 does anyone know how to rename a OFS.Folder object from a remote
 python script (i.e. command line)? I’m trying this via
 ZEO.ClientStorage, but it fails with The object emrenametest1/em
 does not support this operation.“ ,triggered by OFS/CopySupport.py,
 line 537, in _verifyObjectPaste.

That error occurs because the object being pasted is of a meta_type which
cannot be created within the target folder.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVSUmpAAoJEPKpaDSJE9HYjR8P/0EJQ1qublRfPp2OGHewEezI
mBXBdtibaXDb2VG6P4nThMFmqmbkHS/kmvGzn3grqTHIYXsevrU/NMoESMp2lrbn
Mcfv3fx0OGp/Fuge2HuRs4M8fSV4mPP8l+0jom4LadQ+wKicFaIdjKr326CpIDH9
Ee/vi3uWNOYCVV0OGbmsfQBSmTXrQWDbAQkyPHq5UDzSp+sQjjl3yv6oGhz4Ddip
f9AeY2FpsY57ylEN4Y85fbA+HxSadYeKyY0zW5f8sZc+rOFi9DJyNqov2xcAiV3N
UnN39nyfsF0ZBdu8EKXQaBKVQZO/udLjz4UY97kuatL4QBOYXEYA5u6ZLlZ1e2BF
jH3zOqgIuPF+R5TDy2K/SQGYUE/U4VwPl+ybVgC0xCmG7VyVMIAAa6Kk5DscM+mY
Ced9ZC+8dOXDvt6AXRJlto5kEQjdbnljZHU5syCqGNsRm31c5+6/lOh+xKMG0OWL
e8CGsFw9xKu6nmV67YHqWgXYOOK2wARtvg3Di9gY/gW3mArybWvDUXsLNDo+Qd3F
U15Q2MmP6tQ6n1lnJRjMff1M4MQer/E/KAG4BMXHXP4GTY56oIHrN6KDJ+Lo0X5a
6z9LJf4A9Dk54AXMZTvXxJQHMg6OJBITiiewc4ETbuHSPM7emjwHJ1x5eRv2+cst
Mtnm6wIjy9R4pVHxn+5m
=9rg7
-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] Start up failing with ZopeCtlOptions instance has no attribute 'transcript'

2015-04-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/01/2015 06:37 AM, Sebastian Tänzer wrote:
 Zope2 was installed using a simple pip install Zope2

If you didn't install it with the Zope2 index, you probably have
incompatible versions.  E.g.:

  $ pip install Zope2

will be borked, but:

  $ pip install \
 --index-url=http://download.zope.org/Zope2/index/2.13.22/ Zope2

will work.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVHIn8AAoJEPKpaDSJE9HY730QAIQlAjcrujZP/XnfR9O6Taez
a2xC6ytUhbDyge853WxezFO4kk9e+Ufoupa5/l/AFYAwWFwZ5Iqv5R10JOlSHN1o
kSl0jbfJCZ8DtP4KSppeccghm3WHiASrHFOEr9QPWkMO7AHe387e3nR6foERUg9m
6Mn+2TKDPPbJHz5S8tdfiIsUBCP4rwIrtNv5iw68oL2/D4SlfMZSfKJqCjAZvOXG
UAjXZRKsmvVWzjCeUFIXkMQ8rN+aVA6V0upcBNZChtbbLfmEk0vCCVenT9aFrRkD
aP5s6XgwAJQPkIaSc/fOMUhhHf/eMGBrEk24KOr4Oc4at0uF8MC4xyIfwwtOzcB+
NYkKv5sV5mkiP0NyGkBl/Yb9ysvd3EEFgXCckQHintkQm+Dlo0YQJh83KHHGTa2w
XE9IcsFaJKdFxx2KQaB5FKyMEZnUSIHTxjnF2sq0WckyjmIdXWM/Wq+a9VqSHoYo
bZptb2uMbtt9AnCLqy0Scnz2dfWeFi1HXqI1XUcKbIg5IsrGi2Jl0kpEWx6GUHv8
H8ZmlVYX5S9idd1snn7IdSVNqhxzJQNTGRFs6aE5kmIB7KIT3f7JiFGj+T3KSQ7n
k3id2yhMS3gB9IoiHeH4WR3WPJMuEJZ86ZUwjBdqJOPrxL3PIYKznK7KV1OkKnmM
yoJOYCSN74k4Ot3bwLn5
=0kRb
-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 - pro/contra

2015-03-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/17/2015 03:01 PM, Simon Michael wrote:
 What and where is current Zope2 ?

- --- % --
$ /opt/Python-2.7.9/bin/virtualenv /tmp/zwiki
New python executable in /tmp/zwiki/bin/python
Installing setuptools, pip...done.
$ /tmp/zwiki/bin/easy_install -i
http://download.zope.org/Zope2/index/2.13.22/ Zope2
Searching for Zope2
Reading http://download.zope.org/Zope2/index/2.13.22/Zope2/
Best match: Zope2 2.13.22
Downloading https://pypi.python.org/packages/source/Z/Zope2/Zope2-2.13.22.zip
Processing Zope2-2.13.22.zip
Writing /tmp/easy_install-TDMWMj/Zope2-2.13.22/setup.cfg
Running Zope2-2.13.22/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-TDMWMj/Zope2-2.13.22/egg-dist-tmp-RMdvZU
warning: no previously-included files matching '*.dll' found anywhere in
distribution
warning: no previously-included files matching '*.pyc' found anywhere in
distribution
warning: no previously-included files matching '*.pyo' found anywhere in
distribution
warning: no previously-included files matching '*.so' found anywhere in
distribution
creating /tmp/zwiki/lib/python2.7/site-packages/Zope2-2.13.22-py2.7.egg
Extracting Zope2-2.13.22-py2.7.egg to /tmp/zwiki/lib/python2.7/site-packages
Adding Zope2 2.13.22 to easy-install.pth file
Installing runzope script to /tmp/zwiki/bin
Installing zopectl script to /tmp/zwiki/bin
Installing zpasswd script to /tmp/zwiki/bin
Installing addzope2user script to /tmp/zwiki/bin
Installing mkzopeinstance script to /tmp/zwiki/bin
...
Finished processing dependencies for Zope2
- --- % --

I can install ZWiki into an 'INSTANCE_HOME/Products' directory:

- --- % --
$ /tmp/zwiki/bin/mkzopeinstance -d /tmp/zwiki-instance
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.

Username: zope
Password:
Verify password:
$ cd /tmp/zwiki-instance/Products/
$ git clone https://github.com/simonmichael/ZWiki.git
Cloning into 'ZWiki'...
remote: Counting objects: 10939, done.
remote: Total 10939 (delta 0), reused 0 (delta 0), pack-reused 10939
Receiving objects: 100% (10939/10939), 22.94 MiB | 1.60 MiB/s, done.
Resolving deltas: 100% (6526/6526), done.
$ cd ..
$ bin/zopectl fg
2015-03-17 22:12:15 INFO ZServer HTTP server started at Tue Mar 17
22:12:15 2015
Hostname: 0.0.0.0
Port: 8080
2015-03-17 22:12:16 INFO Zope Ready to handle requests
- --- % --

But when I try to add a ZWiki in the ZMI:

- --- % --
2015-03-17 22:12:32 ERROR Zope.SiteErrorLog 1426644752.520.65415236047
http://localhost:8080/manage_addProduct/ZWiki/addwikiform
Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module App.special_dtml, line 185, in _exec
  Module DocumentTemplate.DT_In, line 627, in renderwob
  Module Products.ZWiki, line 430, in listWikis
  Module Products.ZWiki, line 439, in listZodbWikis
AttributeError: ZWiki
- --- % --

Reported at: https://github.com/simonmichael/ZWiki/issues/3


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVCOBcAAoJEPKpaDSJE9HYuM8P/ReMw7eBdWAwJAgylhS+BIJK
7bOfA0tmZpijaRuGNKqq4+EXEVn8zIZZVQC5MpWbpXLYG96S4dl0ajQCZYwSabLe
m4M7FNH22Sktf6zS+yCl1boUXIYhalEe+rZcr1tnpXxs9Iw0APh6x/RNkbn4WMaC
T4SGFtLpLjR4rzsFqfdJncLL7apv0VWeYs6yNKphZjd+7/2hSBKQw04G9uMro8Wg
9ZN6imos+YcAG8AgRL5Y23DqUou0wokrOp3H8WpTVajLffoG2henfpCOgDRwPpWM
s8Y5sBE9FBE44GN5hPR60r4uSTrzmwaPaW+7gN7soOVs7o6860V0VGjXljUWq7Ov
rh+5ybMlJtv1vGPf4iV4FChIe+OgcrfO/6WI14RW+xM1oFGNEC3rNwMaZFyFyfU5
g/35W4XVIzAHXu9vXTlCZXedhQx2VNfgUjURPdz/gmO8i4+F79FvlmhAShZFZb6d
rsiUIo/Y/WX9Xdv458V45rE/BfCJl12xXcd/ht77HkLdWnK3n1CIABPnFx6wfz/5
XMlphI31uC0zqjpMihty0BY+AUnibqHnjHCSAdHZpo3+Xlw05UJekMY64SLiphWX
mqQX9Imi/GHptc/2knGgxgfIrsuIc1AwZQSFZnYV7id3KkngS/3JEwudE7o4Ayer
ZXCiV4YE+5CHeeS5NDJp
=pPNr
-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-CMF] Successful - CMF-trunk_Zope-trunk - Build # 611

2015-01-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/22/2015 07:21 PM, Maurits van Rees wrote:
 Since 2 February 2013 each day there is a summary of test reports to 
 this list with always zero reports.  Does anyone know what is going on
  there?

The only nightly builder still running for CMF is Patrick's, and he
hasn't been able to get its reports to propagate to the 'cmf-tests'
mailing list.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlTBtswACgkQ+gerLs4ltQ59uQCfVIUOrUbxZVMhz2rZCmiz0NOP
xesAoIUlmaLAcbb3TjhFeL0EFWOerl1F
=+xtI
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope] Zope.org fading away ..

2014-03-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2014 05:12 PM, Tres Seaver wrote:
 There are two problems with HTTPS on mail.zope.org:  our own
 certificate is expired, and the issuer (StartCom) has an intermediate
 certificate which expired even longer ago:
 
 http://www.sslshopper.com/ssl-checker.html#hostname=mail.zope.org/

I have added a new certificate and updated the intermediates.  Chromium
is now happy with https://mail.zope.org/, as is SSL Shopper:

 http://www.sslshopper.com/ssl-checker.html#hostname=mail.zope.org

but Firefox will likely be unhappy over the next 6 - 12 hours due to OCSP
propagation delay:

 https://forum.startcom.org/viewtopic.php?f=15t=2654



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMiHF0ACgkQ+gerLs4ltQ5giwCffH3MtWl2prY3zS3t+mKZqTac
PHgAoKoiT8hqPKqiCaf45MH5qYGRj7ki
=ZOzo
-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.org fading away ..

2014-03-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2014 05:12 PM, Tres Seaver wrote:
 Our SPF record says that mail should only be coming from them, so
 Google is bouncing those messages.  We need either to fix it so that
 mail comes from the 'mail.zope.org' IP, or else add the other host to
 our MX list.

I just double-checked, and the SPF record looks right:

-  % --
$ dig -t TXT zope.org

;  DiG 9.8.1-P1  -t TXT zope.org
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 34927
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;zope.org.  IN  TXT

;; ANSWER SECTION:
zope.org.   600 IN  TXT v=spf1 mx a:cvs.zope.org 
a:grok.zope.org
a:hetzner04.zopefoundation.org -all
-  % --

The 'hetzner04.zopefoundation.org' IP is the one that list mail appears
to come from:  it should pass the SPF check.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMgeyoACgkQ+gerLs4ltQ4aaACfX3KaslKix4YzVqMraqc63hTx
TuMAn280TrBCo7JU3UYOmrT+/JVpBlbE
=8m8Q
-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.org fading away ..

2014-03-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2014 01:39 AM, Jean Jordaan wrote:

 I've been unsubscribed from the Zope mailing lists due to excessive
 bounces. So for some reason despite my clicking ignore, I trust this
 message 100s of times, gmail doesn't like the mails zope.org sends.

Some mail appears to be coming from a host (hetzner04.zopefoundation.org)
which is not one of our MX hosts:

 $ dig -t MX zope.org
 ...
 ;; ANSWER SECTION:
 zope.org.  600 IN  MX  0 mail.zope.org.
 zope.org.  600 IN  MX  5 mail2.zope.org.


Our SPF record says that mail should only be coming from them, so Google
is bouncing those messages.  We need either to fix it so that mail comes
from the 'mail.zope.org' IP, or else add the other host to our MX list.

 When I try to visit the mailing list web interface, Firefox is
 stopped in its tracks by Secure Connection Failed An error occurred
 during a connection to mail.zope.org. The OCSP server has no status
 for the certificate. (Error code: sec_error_ocsp_unknown_cert)

There are two problems with HTTPS on mail.zope.org:  our own certificate
is expired, and the issuer (StartCom) has an intermediate certificate
which expired even longer ago:

  http://www.sslshopper.com/ssl-checker.html#hostname=mail.zope.org/

 When I try to use the Kontakt (sic) form at http://zope.org/, it 
 pops up an empty div: div class=pb-ajaxdiv/div/div.

Ugh, I don't recall now where the software lives for that.  CC'ing the
infrastructure list to verify.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMffFEACgkQ+gerLs4ltQ62CQCeMV2/kkHD8zPUGdBfQUgoAgMN
oj0AoITHdNoJdtTDtvBIv6exqmDIgLbm
=F6dx
-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 2.13.21 misses bootstrap.py

2013-11-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/15/2013 09:22 PM, Jesus Cea wrote:
 I am not familiar with zc.buildout, but I have quite bad experiences 
 installing zope 2.13 using virtualenv (basically, zope needs to use 
 specific pinned versions of products, and that would be fine if they 
 were notified to pip, but they are not).
 
 So I tried to install 2.13.21 using zc.buildout, following 
 instructions at 
 http://docs.zope.org/zope2/releases/2.13/INSTALL-buildout.html, but 
 it failed just at the very beginning, since there is no
 bootstrap.py script anywere.
 
 I have a previous 2.13.19 around, and it has a bootstrap.py and a 
 buildout.cfg. But 2.13.20 and 2.13.21 miss that file.
 
 So, how is current Zope installed?. Could you update documentation?.

In a virtualenv::

  $ bin/easy_install \
--index=http://download.zope.org/Zope2/index/2.13.21 Zope2

In a buildout::

  $ cat buildout.cfg
  [buildout]
  extends = http://download.zope.org/Zope2/index/2.13.21/versions.cfg
  



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKG3E8ACgkQ+gerLs4ltQ4f9ACgh9BK4DhjZ/k3BkP7vdytTKfb
PtoAn1LmLiEOcRPQGD/aqNE0+8wOjCKj
=9VSl
-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-dev] svn.zope.org issue

2013-10-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/11/2013 08:21 AM, yuppie wrote:
 Hi!
 
 
 Where can I report problems with svn.zope.org?
 
 For some days now I have trouble making checkins. Commits are 
 successful, but somewhere in the post commit hook things go wrong. No 
 mail is send to the checkins list and my svn client freezes - I guess 
 because the server doesn't signal the commit is finished. Other
 people seem to have the same issue, the last checkin mail to the list
 was sent 2013-09-17.

The ZF infrastructure committee is working on moving SVN to a new host.
Report problems to infrastruct...@zope.org.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJYMb0ACgkQ+gerLs4ltQ7SKwCgmACy6IPOT1eCX/LTIs2lcLQC
22sAoL2rCgelzJ9hd3BDhE8NQBj+BbfA
=/Wgl
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 1, OK: 9

2013-10-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/08/2013 07:00 PM, Zope tests summarizer wrote:
 
 [1]FAILED  winbot / z3c.tabular_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-October/079153.html

Transient github failure:

 
 fatal: unable to connect to github.com: github.com[0: 192.30.252.131]:
 errno=No such file or directory


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJVnpwACgkQ+gerLs4ltQ5XZgCeIfK/wW6o97VFMRhtroymGOHl
2hEAnRtLOmPoaibbkYnl5nXrCCm7BcRK
=IVBr
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 1, OK: 9

2013-10-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/01/2013 07:00 PM, Zope tests summarizer wrote:
 [1]FAILED  winbot / zope.app.wsgi_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-October/079033.html

Failure in buildout phase::

 Develop: 'c:\\buildslave\\zope.app.wsgi\\build\\.'
 Installing test.
 While:
   Installing test.
 Error: There is a version conflict.
 We already have: webtest 2.0.9

Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJMdroACgkQ+gerLs4ltQ5MDgCdF5E7uAlCblkYBLgLjfJGf2du
4PAAoKHbJUGLQzUEhzH8EdWN8iaPNHVv
=y37n
-END PGP SIGNATURE-

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


Re: [Zope-dev] please move z3c.formwidget.query to github

2013-09-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/22/2013 11:27 AM, Vincent Fretin wrote:
 Can someone please make a new release?

Releases can be made only by one of:

 malthe, optilude, davisagli, laurencerowe, timo, esteele

- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlI/M3YACgkQ+gerLs4ltQ4aIQCeLTrcoCxUzDe3M3c98y9t4DmS
LzYAoNWgpyb1W/LEXYDzWiWWZPD4YaHj
=HrN6
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - OK: 8

2013-09-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/21/2013 07:00 PM, Zope tests summarizer wrote:
 This is the summary for test reports received on the zope-tests list 
 between 2013-09-20 00:00:00 UTC and 2013-09-21 00:00:00 UTC:
 
 See the footnotes for test reports of unsuccessful builds.
 
 An up-to date view of the builders is also available in our buildbot 
 documentation: 
 http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds


 
Reports received 
 
 winbot / ztk_10 py_254_win32 winbot / ztk_10 py_265_win32 winbot / 
 ztk_10 py_265_win64 winbot / ztk_11 py_254_win32 winbot / ztk_11 
 py_265_win32 winbot / ztk_11 py_265_win64 winbot / ztk_11 py_270_win32
 winbot / ztk_11 py_270_win64

Yay!



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlI+Tq4ACgkQ+gerLs4ltQ57JQCfaojpXeeQCmMFhuAb5etsoePS
zm0AnR8Q3FYxrsqnfUFu6V/VVU9KxPH0
=ztKD
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 6, OK: 12

2013-09-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/18/2013 06:40 AM, Marius Gedminas wrote:
 On Wed, Sep 18, 2013 at 11:11:50AM +0300, Marius Gedminas wrote:
 On Wed, Sep 18, 2013 at 01:00:02AM +0200, Zope tests summarizer
 wrote:
 [6]winbot / zope.testbrowser_py_265_32
 
 The fix that was supposed to fix this didn't because 
 https://github.com/Pylons/webtest/pull/87/files#r6427276
 
 We're waiting for https://github.com/Pylons/webtest/pull/88 and
 WebTest 2.0.9 now.

FWIW, WebTest 2.0.9 went out Wednesday:

 https://pypi.python.org/pypi/WebTest/2.0.9


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlI8UDAACgkQ+gerLs4ltQ7ElgCePY2PC6fHHpf9p/jZAXWZdYe5
ThMAoIyTyVjI8PzbERIPVKMpKhK4KTop
=Gnik
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 4, OK: 8

2013-09-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/09/2013 11:53 AM, Marius Gedminas wrote:
 On Sat, Sep 07, 2013 at 08:27:04PM -0400, Tres Seaver wrote:
 On 09/07/2013 07:00 PM, Zope tests summarizer wrote:
 [1]FAILED  winbot / zope.app.authentication_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-September/078621.html



 
[2]FAILED  winbot / zope.app.http_py_265_32
 https://mail.zope.org/pipermail/zope-tests/2013-September/078622.html



 
[3]FAILED  winbot / zope.app.publication_py_265_32
 https://mail.zope.org/pipermail/zope-tests/2013-September/078620.html



 
[4]FAILED  winbot / zope.app.wsgi_py_265_32
 https://mail.zope.org/pipermail/zope-tests/2013-September/078623.html


 
All four show the same failure in the bulidout phase:
 
  % --- 
 c:\buildslave\zope.app.wsgi\buildcall C:\Program Files
 (x86)\Microsoft Visual Studio 9.0\VC\VCVARSALL.bat x86 Setting
 environment for using Microsoft Visual Studio 2008 x86 tools. 
 Develop: 'c:\\buildslave\\zope.app.wsgi\\build\\.' Installing test. 
 While: Installing test. Error: There is a version conflict. We
 already have: webtest 2.0.7  %
 ---
 
 Could be my fault.  I released zope.testbrowser 4.0.3 to PyPI a few
 days ago, and it has install_requires = ['WebTest = 1.3.4'].
 
 OTOH it wasn't me who added that = constraint, that happened a year
 ago: 
 https://github.com/zopefoundation/zope.testbrowser/commit/699a18bb2868d23cd7ab3da80cf394b75f977d91

  I just made a release with all the accumulated changes.

Looks like that was Adam:  maybe we should be trying to push out a
version of z.tb compatible with current WebTest?


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIt9rkACgkQ+gerLs4ltQ4G+ACeJA6XZdZzR0EXWWWuiHAGJNTY
TPQAnAgR9Uj3L1IqT5a1+sLrDugHAF8c
=vHtg
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 1, OK: 8

2013-09-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/08/2013 07:00 PM, Zope tests summarizer wrote:
 
 [1]FAILED  winbot / zope.app.wsgi_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-September/078639.html

Same failure as yesterday::

  Installing test.
  While:
Installing test.
  Error: There is a version conflict.
  We already have: webtest 2.0.7

Odd that the other three cleared up (or didn't they run?)


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlItMpcACgkQ+gerLs4ltQ599gCffh0g1nBUURxpDXFFEoaupA2+
uPIAoLWsd3X8o4UR3tU3nXDo/J8xaAtB
=1TqS
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 4, OK: 8

2013-09-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/07/2013 07:00 PM, Zope tests summarizer wrote:
 [1]FAILED  winbot / zope.app.authentication_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-September/078621.html
 
 
 [2]FAILED  winbot / zope.app.http_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-September/078622.html
 
 
 [3]FAILED  winbot / zope.app.publication_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-September/078620.html
 
 
 [4]FAILED  winbot / zope.app.wsgi_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-September/078623.html

All four show the same failure in the bulidout phase:

-  % ---
c:\buildslave\zope.app.wsgi\buildcall C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\VCVARSALL.bat x86
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Develop: 'c:\\buildslave\\zope.app.wsgi\\build\\.'
Installing test.
While:
  Installing test.
Error: There is a version conflict.
We already have: webtest 2.0.7
-  % ---



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIrxFgACgkQ+gerLs4ltQ4R+QCfTmElgT9bLTKi//6JtRWoZ17S
+l8An2nWUfe7sGMijMkDqSAVIeMH5A6/
=E0GF
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 9, OK: 11

2013-09-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/04/2013 07:00 PM, Zope tests summarizer wrote:
 [1]Failure - zopetoolkit_trunk - Build # 379 Fixed -
 zopetoolkit_trunk - Build # 389 [2]Still Failing -
 zopetoolkit_trunk - Build # 380 [3]Still Failing -
 zopetoolkit_trunk - Build # 381 [4]Still Failing -
 zopetoolkit_trunk - Build # 382 [5]Still Failing -
 zopetoolkit_trunk - Build # 383 [6]Still Failing -
 zopetoolkit_trunk - Build # 384 [7]Still Failing -
 zopetoolkit_trunk - Build # 385 [8]Still Failing -
 zopetoolkit_trunk - Build # 386 [9]Still Failing -
 zopetoolkit_trunk - Build # 387

Anybody understand what caused those errors?  There isn't any activity
during the range of time represented by those failures.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIn1y4ACgkQ+gerLs4ltQ7wbgCfQm179NVXtzqG6reuHXLM09Us
3IYAnR8WFF9mFvoW/a5fS+Hq4VSbrZy8
=be6K
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 10, OK: 9

2013-08-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/27/2013 07:00 PM, Zope tests summarizer wrote:

 [1]FAILED  winbot / z3c.layer.ready2go_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078456.html
 
 
 [2]FAILED  winbot / z3c.viewtemplate_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078457.html
 
 
 [3]FAILED  winbot / zc.ngi_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078455.html
 
 
 [4]FAILED  winbot / zope.app.pagetemplate_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078458.html
 
 
 [5]FAILED  winbot / zope.app.session_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078453.html
 
 
 [6]FAILED  winbot / zope.catalog_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078454.html
 
 
 [7]FAILED  winbot / zope.pagetemplate_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078450.html
 
 
 [8]FAILED  winbot / zope.principalregistry_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078451.html
 
 
 [9]FAILED  winbot / zope.site_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078449.html
 
 
 [10]   FAILED  winbot / zope.testrunner_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-August/078452.html

All failed during the 'git' phase:

  fatal: unable to connect to github.com:
  github.com[0: 204.232.175.90]: errno=No such file or directory



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlIdTWwACgkQ+gerLs4ltQ6UNgCfZxr7bKzF4ZNA2kTpWXfhawGd
ccoAoNM1HBXwqqVHEgZdJgE3BZe6OA+E
=HWX+
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 3, OK: 9

2013-07-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/29/2013 07:00 PM, Zope tests summarizer wrote:
 [1]FAILED  winbot / z3c.contents_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-July/078036.html
 
 
 [2]FAILED  winbot / z3c.layer.ready2go_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-July/078034.html
 
 
 [3]FAILED  winbot / z3c.pagelet_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-July/078035.html

All three fail so:

- - % --
Building lxml version 3.2.3.
Building without Cython.
ERROR: 'xslt-config' is not recognized as an internal or external command,
operable program or batch file.

** make sure the development packages of libxml2 and libxslt are installed **
- - % --


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlH3BpgACgkQ+gerLs4ltQ7NUACgtrho5hAck9WVyIPNxfbYIUIm
HpEAoMvh5fhL1tByAcGLoZiynYFjw9IZ
=UeqT
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 3, OK: 9

2013-07-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/19/2013 02:21 AM, Marius Gedminas wrote:
 [3]FAILED  winbot / zope.schema_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-July/077887.html
 While: Installing. Getting section tox. Error: The referenced section,
 'tox', was not defined.
 
 A simple mistake in buildout.cfg.  Fixed.

Ouch, that was my bad.  (I don't know why it took more that a week to
show up, though).  Thanks for the fix!


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHpqpsACgkQ+gerLs4ltQ4Z0ACgvwEKIfaAS3ypJSDfXhQDF0/8
OmoAoIHcUzynYKbQ1/J3fhKtiaj1D37A
=oYNG
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 5, OK: 8

2013-07-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/16/2013 06:53 AM, Marius Gedminas wrote:
 Perhaps manually installing setuptools = 0.7 into c:\python2*_64
 would fix the failing builds?

+1.  Let's just get past the distribute / old setuptools mess and get on
with our lives.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHl0ncACgkQ+gerLs4ltQ4OnwCeMQxGaJC2DPeibq1mGbf4iTqW
2fsAoKvfK1zVOD7LY9vqbC8i2sCr7/Ju
=yL1D
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 14, OK: 7

2013-07-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/11/2013 03:55 AM, Patrick Gerken wrote:
 now I have to create a virtualenv with --distribute, then I have to
 upgrade setuptools

We should be upgrading all our projects to zc.buildout 2.2, which drops
'distribute'.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHexM0ACgkQ+gerLs4ltQ6wyQCgkrbTYpPBYdzsJC4nE1ME+UgB
ZvQAnjvNL0CRY5Td7DcWdxhNa0ySIwLo
=yMRe
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 14, OK: 7

2013-07-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/11/2013 01:05 PM, Wichert Akkerman wrote:

 FWIW I tried to upgrade a few projects to zc.buildout 2.2 today but
 had to revert to a buildout 1.x due to conflicts with an OS-provided 
 pkg-resources sourced from distribute that I could not uninstall.

Patient: Doctor, when I drink iced tea I get a cold stabbing pain in my
eye!

Doctor:  Take out the spoon!

(In other words, if the system python is hosing you, quit using it).

If the system python provide command-line flags for suppressing
site-paacakges, you might be able to use them to bootstrap.  Or build a
virtualenv '--without-setuptools' and use that to boostrap.  Or just
build your own Python and be done.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHfT/EACgkQ+gerLs4ltQ44JQCePWPiYBa4hG1RP+XlwAAxigVq
0jYAn0PkuUFKTaG6kpWCMh3F4DA0NViD
=nDCl
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-CMF] [dev] some small changes

2013-07-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/05/2013 04:48 AM, yuppie wrote:
 Hi!
 
 
 I plan to work on the following changes. Please let me know if you
 have questions or objections.
 
 
 Fix dotted names of CMF interfaces: 
 ===
 
 CMF defines many interfaces, so we added some submodules like
 _content and _tools. This was meant as a transparent implementation
 detail, it's recommended to import from interfaces, not from the
 submodules. But unfortunately the full path shows up in several
 places, e.g. on the Interfaces tab you see
 Products.CMFCore.interfaces._content.IFolderish instead of
 Products.CMFCore.interfaces.IFolderish.
 
 GenericSetup has a special _getDottedName() method that tries to find 
 the short version. This hides the issue in profile exports.
 
 AFAICS this could be fixed by setting __module__ explicitly for each 
 interface, e.g. for IFolderish
 
 __module__ = 'Products.CMFCore.interfaces'
 
 Is this the right approach or will this cause new trouble?
 
 
 Add 2 new portal types for member areas in CMFDefault: 
 ==
 
 - 'MemberArea' will be a special folder type that uses the normal
 Portal Folder class, but a different factory that replaces parts of
 the createMemberArea() method. And a different default view that
 replaces the 'index_html' Document currently added by
 createMemberArea().
 
 - 'Members' will be a special folder type that uses the normal Portal 
 Folder class, but limits sub-items to 'MemberArea' objects and has a 
 special default view that replaces the 'index_html' DTML Method 
 currently added to the members folder.
 
 
 Simplify content views in CMFDefault: 
 =
 
 - remove registration and lookup of schema adapters (e.g. 
 DocumentSchemaAdapter, LinkSchemaAdapter). Use these adapters
 directly in getContent().
 
 - rename '@@view.html' to '@@view', '@@properties.html' to 
 '@@properties' and so on. This allows to remove some method aliases.

That all sounds fine to me.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHW4h0ACgkQ+gerLs4ltQ4Q3ACffh7hOfwQd5AaRPT/0ebwFsdx
X1kAoNbayTq+p53HRbenMG0nG6rqSHxI
=zEdB
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-dev] Maintenance of zope mailman

2013-07-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/02/2013 02:16 AM, Patrick Gerken wrote:

 last month, all Mailing lists were unavailable for a week. On twitter,
 I saw it took some time to set up due to time constraints. Are there
 plans to increase the admin team to avoid time constraint issues?

Yes, indeed.  There is a new infrastructure committee, and an
associated mailing list for it, consisting of the voumnteers who are
managing the foundation's hosts and services.

 Regarding Mailman itself, after we lost regular cmf tests, I set up
 my jenkins to run tests for CMF too. Unfortunately I cannot send mails
 to the cmf-tests mailing list. My subscription request from 5.5. is
 still in the moderation queue. Do we still have moderators for
 mailman?

I approved that request.

 I expect that both services do not involve a lot of ongoing work. The 
 administration is probably time intensive in the beginning to get to
 know how everything is set up. If thats the case I happily volunteer.

Thank you for volunteering!  I just now sent you a Mailmn invitation to
the infrastructure list.  Please accept and we can work out the details
on that list.




Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHTCbkACgkQ+gerLs4ltQ79AACfcrz6XvLNrqdNaP0HkRRbBgLS
o4kAoNkP6UN9gvCKQDW2G67fYgOdwIe6
=/jNU
-END PGP SIGNATURE-

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


[Zope-dev] PyPI ownership

2013-07-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If somebody is running a script which is auto-adding me as a PyPI owner
to every ZF-owned package under the sun, please stop:  I've removed
myself now twice from all the 'zope.app.*' packages.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHRpV8ACgkQ+gerLs4ltQ7j4wCfdVjPf3k90sW8jY3P3ZdgOSx5
cq8AnjGx8Tk8Xhi1pqUkhE4WMLg7yEPm
=YczZ
-END PGP SIGNATURE-

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


Re: [Zope-dev] RFC: branch updating zc.buildout and bootstraps to use setuptools 0.7

2013-06-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/04/2013 10:13 AM, Leonardo Rochael Almeida wrote:

 On Mon, Jun 3, 2013 at 10:25 PM, Tres Seaver tsea...@palladion.com
 wrote:
 [...]
 
 I would like some help getting the manuel + renormalizer + doctest
 tests working, or at least getting the spurious output differences
 smoothed away so we can see real semantic changes, if any.
 
 Which tests do you need help with? zc.buildout ones on your branch or 
 Zope repo projects running with your branch?


I need help with the buildout tests themselves:  the combination of
manuel + regext nromalizers + doctests makes my head hurt.


 If the former, wouldn't it be better to (also) contact the buildout 
 development list [1]?

Ugh, Google Groups  I guess that is the right place to ask, though;
I had forgotten that there was a separate list.


 If the latter which steps do we need to follow to get to the failures 
 you need help with?
 
 [1]
 https://groups.google.com/forum/?fromgroups#!forum/buildout-development


I
 
haven't gotten far enough with it to try building the ZTK projects,
etc.  It needs to pass its own tests first.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEUEARECAAYFAlGuAYYACgkQ+gerLs4ltQ4rIQCXR0lHLq9vSgbFLgljbl+ws1uL
9QCgtdLevOwQtbVTYm8Z8/fIFuWgkIk=
=PRCv
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope-tests - FAILED: 86, OK: 5

2013-06-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/02/2013 09:00 PM, Zope tests summarizer wrote:
 This is the summary for test reports received on the zope-tests list
 between 2013-06-01 00:00:00 UTC and 2013-06-02 00:00:00 UTC:

I'm not sure where we are with these failures.  I can't reproduce the
exact failures on fresh checkouts, but I believe we are in a weird state
due to a combination of factors:

- - distribute / setuptools merger
- - PyPI now HTTPS-only
- - PyPI CDN caching?

I think we should be aiming to switch our bootstraps over ASAP to pick up
setuptools 0.7:  it doesn't appear to be simple at the moment to get that
installed, as there is no 'ez_setup.py' in the beta location:

  https://bitbucket.org/pypa/setuptools/downloads



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGsjhoACgkQ+gerLs4ltQ4+SACglPxJ5J5b7eJV5yUfADFVjeAR
bJsAoNJYhnaciMoGMqkP14KRGsFiO7ux
=qGub
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 86, OK: 5

2013-06-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/03/2013 09:04 AM, Adam GROSZER wrote:
 On 06/03/2013 02:37 PM, Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 06/02/2013 09:00 PM, Zope tests summarizer wrote:
 This is the summary for test reports received on the zope-tests
 list between 2013-06-01 00:00:00 UTC and 2013-06-02 00:00:00 UTC:
 
 I'm not sure where we are with these failures.  I can't reproduce
 the exact failures on fresh checkouts, but I believe we are in a
 weird state due to a combination of factors:
 
 - - distribute / setuptools merger - - PyPI now HTTPS-only - - PyPI
 CDN caching?
 
 I think we should be aiming to switch our bootstraps over ASAP to
 pick up setuptools 0.7:  it doesn't appear to be simple at the
 moment to get that installed, as there is no 'ez_setup.py' in the
 beta location:
 
 https://bitbucket.org/pypa/setuptools/downloads
 
 
 I think it's the first. It seems to be a distribute vs setuptools
 fight. I recently installed distribute in site-packages, but that does
 not seem to help.

Would it help to update to setuptools-0.7 in the 'site-packages'
(removing distribute completely)?  I have the feeling that the faster we
put setuptools-0.6 and distribute behind us, the better off we will be.

I've played with it some this morning:  the major issue for our buildouts
is to get an 'ez_setup.py' selected which doesn't look for setuptools-0.7
on PyPI -- I don't quite know why, but it is only available here:

  https://bitbucket.org/pypa/setuptools/downloads

The attached file woks for me using e.g.:

 $ /path/to/python bootstrap.py --setup-source=file:///tmp/ez_setup.py




Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGsr2oACgkQ+gerLs4ltQ4fcwCcCKice5D4MObbCuUEkeq88AT3
F+UAoI5Jlfwa44MsmfpPOO4Z1i9kVfO0
=Iiof
-END PGP SIGNATURE-


ez_setup.py
Description: application/httpd-cgi
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] RFC: branch updating zc.buildout and bootstraps to use setuptools 0.7

2013-06-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The bloody state of the winbot at the moment seems tied to issues related
to setuptools 0.6, distribute 0.5.4x, and zc.buildout.  I put in some
effort today on a branch to end-run the whole old-setuptools / distribute
bit by updating buildout2 to use the newly-availabe (but not yet released
to PyPI) setuptools 0.7.  This version is the first release after the
merge of old setuptools and distribute, and should be the preferred
target for future work.

My branch of buildout is here:

  https://github.com/tseaver/buildout/tree/use-setuptools-0.7

with a pull request to the main repo:

  https://github.com/buildout/buildout/pull/123

One issue that has to be worked around in the near term:  the 0.7 release
has been published via the bitbucket downloads page:

but not pushed to the cheeseshop.  I uploaded a hacked version of
'ez_setup.py' to deal with that interim problem here:

  http://dist.repoze.org/ez_setup-0.7.py

and my buildout branch uses that version.

I would like some help getting the manuel + renormalizer + doctest tests
working, or at least getting the spurious output differences smoothed
away so we can see real semantic changes, if any.

I'm assuming that it will take some days (weeks?) to get them passing, by
which point we can hope that the 0.7 release has been pushed to PyPI
(relieveing the need for a double-secret version of 'ez_setup.py').

Thoughts?


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGtQgUACgkQ+gerLs4ltQ59zwCeOScg3hciUGN3IyAltHfM0+eS
x/QAoMlUvQ5ifgiWnhuyQXqqdcP3Jjag
=BbxG
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 81, OK: 12

2013-05-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/28/2013 09:00 PM, Zope tests summarizer wrote:
 [1]FAILED  Failure - zopetoolkit_trunk - Build # 278 
 https://mail.zope.org/pipermail/zope-tests/2013-May/075192.html
 
 
 [2]FAILED  Still Failing - zopetoolkit_trunk - Build # 279 
 https://mail.zope.org/pipermail/zope-tests/2013-May/075193.html

These are both failures against PyPI, likely due to the recent CDN /
https only changes there.  I think the rest are likely the same.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGlZvIACgkQ+gerLs4ltQ4OkACfengs86pQXkVEJ+VyRs0eWayz
H8cAnRK31Y/6orQgcWCtTHd/ozwHqvgC
=+Fbv
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 3, OK: 12

2013-05-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/21/2013 06:28 AM, Marius Gedminas wrote:
 [1]Still Failing - zopetoolkit_trunk - Build # 270
 One zope.session failure:
 
 File
 /var/lib/jenkins/jobs/zopetoolkit_trunk/workspace/src/zope.session/src/zope/session/http.py,
 line 442, in zope.session.http.CookieClientIdManager.setRequestId 
 Failed example: expires  now + timedelta(0, 55 * 60) Expected: True 
 Got: False

Hmm, I changed that yesterday because the old test code (using
'time.mktime') was failiing on my box, likely due to an odd mix of naive
and GMT times.  The *actual* cookie being set by the code-under-test is
correct -- we just have a problem writing good assertinos about it.


 [2]winbot / ZEO_py_265_32
 
 One failure:
 
 File c:\buildslave\zeo\build\src\ZEO\tests\testZEO.py, line 1162, in
 ZEO.tests.testZEO.client_has_newer_data_than_server Failed example: 
 len(client_errors) = 2 Expected: True Got: False

This is another place where I have tweaked the test code, trying to
remove race conditions:  the test is trying to make assertionas about
errors being logged, and does a bunch of sleeping trying to ensure that
enough stuff gets logged.  Again, it is a bad test, and not a real
issue with the code being tested.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGbepAACgkQ+gerLs4ltQ56IACeIrEUbC/TC+Y0d+AvjVom6rID
GkEAn2nNosl/7EhWpymlf2n/zcN6avi+
=ZYlR
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 9, OK: 12

2013-05-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/20/2013 01:57 AM, Marius Gedminas wrote:
 On Mon, May 20, 2013 at 01:00:01AM +, Zope tests summarizer
 wrote:
 [1]Still Failing - zopetoolkit_trunk - Build # 269
 Same old issue with sys.path lacking persistent.

I fixed this by removing the checkouts of the non-ZTK packages from the
buildout.  I made this change after spending an hour this morning trying
to isolate the differences between the way the working set was computed
in the ZTK buildout vs. one of the failing packages (zope.traversing).
In the end, I couldn't figure out why the presence of the '.egg-links'
for persistent / BTrees / ZODB / ZODB3 / ZEO in the 'develop-eggs'
directory was causing the breakgage, but I also lost my will to care.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGaNk8ACgkQ+gerLs4ltQ4o+QCgj5gbqOSVo5mxV5spX39dnfu+
WzEAoM96PBxU0EMxAS6XewF5DpCm1Alw
=U369
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 100, OK: 12

2013-05-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/18/2013 09:00 PM, Zope tests summarizer wrote:
 This is the summary for test reports received on the zope-tests list
 between 2013-05-17 00:00:00 UTC and 2013-05-18 00:00:00 UTC:

Jason fixed the distribute_setup.py link earlier tody (about four hours
ago).  The majority of the winbot tests should go back to green today.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGYvVwACgkQ+gerLs4ltQ6fWwCg1kHBbb8Z0AEopPF8Hoit7z63
abgAn1691XdPvNyoF35nKlPdFy2wND8E
=kD2q
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 63, OK: 8

2013-05-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/17/2013 09:00 PM, Zope tests summarizer wrote:
 [1]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074888.html
 
 
 [2]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074889.html
 
 
 [3]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074890.html
 
 
 [4]FAILED  winbot / ZODB_dev py_270_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074891.html

The failure here is in a new test:  I just pushed a '/' - os.path.sep
fixup.  The other 59 look to be the same distribute_setup.py calls out
distribute 0.39 issue:

  http://python-distribute.org/distribute_setup.py

CC'ing Tarek and Jason.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGXpusACgkQ+gerLs4ltQ7lOQCgqcKskTTlwhAVaUSStUVufUtW
VVEAmgOHxX3we9rmnoDNtWMG7suXUCgE
=vNET
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 79, OK: 12

2013-05-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/15/2013 09:00 PM, Zope tests summarizer wrote:
 This is the summary for test reports received on the zope-tests list
 between 2013-05-14 00:00:00 UTC and 2013-05-15 00:00:00 UTC:
 
 See the footnotes for test reports of unsuccessful bui

A sampling shows all these are tied up with the distribute has no
cli.exe on Windows problem.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGU9hsACgkQ+gerLs4ltQ6yggCeOSk3yKRrrGuEqgvOFW1jPd83
gMUAn3OAts5eZC/C43dogkK2P80maOpI
=Vbf5
-END PGP SIGNATURE-

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


Re: [Zope-CMF] [dev] CMFDefault: renaming type action urls

2013-05-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/13/2013 04:06 AM, yuppie wrote:
 Hi!
 
 
 This just affects configuration. If you use your own profile, you can
  use different names. But nevertheless names shouldn't be changed too
  often and without a good reason. So I'd like to make sure there are
 no objections:
 
 We are in the process of replacing skin methods by browser views, but
 we still show the old skin method names in Action URLs. I'd like to
 get rid of type specific names and would prefer more generic names. A
 detailed list is at the bottom of this mail.
 
 Part of that change would be adjusting the Method Aliases and adding
 an upgrade step to make migration easier.
 
 
 Cheers,
 
 Yuppie
 
 
 
 Types: Discussion Item, Document, Favorite, Link, News Item Action:
 object/view old: url_expr=string:${object_url}/discussionitem_view 
 old: url_expr=string:${object_url}/document_view old:
 url_expr=string:${object_url}/favorite_view old:
 url_expr=string:${object_url}/link_view old:
 url_expr=string:${object_url}/newsitem_view new:
 url_expr=string:${object_url}
 
 Types: File, Image Action: object/view old:
 url_expr=string:${object_url}/file_view old:
 url_expr=string:${object_url}/image_view new:
 url_expr=string:${object_url}/view
 
 Types: File Action: object/download old:
 url_expr=string:${object_url} new: =
 
 Types: Document, Favorite, File, Image, Link, News Item Action:
 object/edit old: url_expr=string:${object_url}/document_edit_form 
 old: url_expr=string:${object_url}/file_edit_form old:
 url_expr=string:${object_url}/image_edit_form old:
 url_expr=string:${object_url}/link_edit_form old:
 url_expr=string:${object_url}/newsitem_edit_form new:
 url_expr=string:${object_url}/edit Action: object/metadata old:
 url_expr=string:${object_url}/metadata_edit_form new:
 url_expr=string:${object_url}/properties
 
 Types: Folder, CMF BTree Folder Action: object/view old:
 url_expr=string:${object_url} new: = Action: object/folderContents 
 old: url_expr=string:${object_url}/folder_contents new: = Action:
 object/new (Action is deprecated) old:
 url_expr=string:${object_url}/folder_factories new: = Action:
 object/localroles old:
 url_expr=string:${object_url}/folder_localrole_form new:
 url_expr=string:${object_url}/sharing Action: object/rename_items
 (Action is obsolete with browser views) old:
 url_expr=string:${object_url}/folder_rename_form new: = Action:
 object/edit old: url_expr=string:${object_url}/folder_edit_form new:
 url_expr=string:${object_url}/properties


+1 overall.  I've lost some context, so a couple of questions:

- - An empty value for 'new' means that the alias is being deleted?  If so,
  do we make a distinction between a download view for files / images
  (setting 'Content-disposition: attachment') vs. the bare URL?

- - Why have an alias from 'object/edit' to 'string:${object_url}/edit


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGQ7HAACgkQ+gerLs4ltQ7USwCg1L1MB+/kp9DJYAhmCNjk1+5E
3FwAoNHhY0hfMG30ntmHI8fAg4DmO1KN
=5hV3
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-dev] zope-tests - FAILED: 8, OK: 8

2013-05-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/11/2013 09:00 PM, Zope tests summarizer wrote:

 [1]FAILED  Still Failing - zopetoolkit_trunk - Build # 264 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074326.html

I fixed an unpinned version for a new downstream dependency today.  I
think that will get us back to failing due to persistent / BTrees
mismatches. :(


 [2]FAILED  winbot / ZEO_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074325.html

These tests are so slow and hard to work with that I lose patience with
them.  It looks like the ZEO tests are re-using some ZODB doctests, but
without benefit of the renormalizers / checkers ZODB uses.  I will look
at exposing those items in ZODB, and have the ZEO tests reuse them.


 [3]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074335.html
 
 
 [4]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074336.html
 
 
 [5]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074337.html
 
 
 [6]FAILED  winbot / ZODB_dev py_270_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074338.html

I whacked another couple of Windows-only moles this weekend
('ZODB.utils.u64' returning a 'long', some file-not-closed bugs I
introduced while trying to remove 'tempfile.mktemp').  I think I need
keys to the winbot, or at least the ability to kick off a test run
proactively.


 [7]FAILED  winbot / zope.app.content_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074339.html
 
 
 [8]FAILED  winbot / zope.interface_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074340.html

Github was offline.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGO8LkACgkQ+gerLs4ltQ70RQCfap+HV93JBbFNNGy3M44NFZws
PXoAoNNTSrd+KhMzSo+p61Wnw7ozkrC1
=Oc7Q
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 5, OK: 8

2013-05-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/10/2013 09:00 PM, Zope tests summarizer wrote:
 [2]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074321.html
 
 
 [3]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074322.html
 
 
 [4]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074323.html
 
 
 [5]FAILED  winbot / ZODB_dev py_270_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-May/074324.html

These are all Windows-only failures, due to my attempt to clean up the
use of 'tempfile.mktemp':  I have reverted that change, and expect those
tests to pass now.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGNz7kACgkQ+gerLs4ltQ4jSQCeOwKOlVul9Dykks4JyMeIozp8
jB0An0HW00rmSeXtKcsDGD0CNkdCIp2U
=3zmJ
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 4, OK: 12

2013-04-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/25/2013 04:36 AM, Marius Gedminas wrote:
 On Thu, Apr 25, 2013 at 11:21:37AM +0300, Marius Gedminas wrote:
 On Thu, Apr 25, 2013 at 01:00:01AM +, Zope tests summarizer
 wrote:
 [3]winbot / z3c.contents_py_265_32
 
 Same old -- and I just managed to reproduce it at last.
 
 ZODB.utils.newTid(None) returns '\\x03\\x9e8\\x9a:\\x12\\x88',
 i.e. the repr of an 8-byte string instead of the 8-byte string
 itself.
 
 AFAICT it's because repr(persistent.timestamp.TimeStamp(2013, 04, 25,
 11, 30, 0)) changed in persistent 4.0.5:
 
 https://github.com/zopefoundation/persistent/commit/e692af8281466fa309aae9273864039dcb287383

  This was fixed in ZODB 4.0.4a4:
 
 https://github.com/zopefoundation/ZODB/commit/8dfbff499d109b1cf86d1b4b2b98a6cf8d17ce43

 
https://github.com/zopefoundation/ZODB/commit/994af0c5f9df63d403a0e21d80eec51d69686bc4
 https://github.com/zopefoundation/ZODB/commit/19e851c2230a20cfcebc68fca37ce2c0bb716b92

 
https://github.com/zopefoundation/ZODB/commit/2ce7b945003ca8494f970a6946e4143dc18848e6
 
 So latest stable ZODB3 (3.10.5) is incompatible with the two latest
 stable persistent releases (4.0.5 and 4.0.6).
 
 What should we do?  Release ZODB3 3.10.6 with a backport of these 
 patches?

ZODB 3.10 bundles its own version of persistent:  the standalone one
shouldn't be used at all if ZODB 3.10 is in play.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlF5NGgACgkQ+gerLs4ltQ5EmgCbBmbeaDMs/6pyN0SQc3jcIlzj
AakAoLwmtyjODMmz3JXHxGXy8rUMElAl
=5GSE
-END PGP SIGNATURE-

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


Re: [Zope] LocalFS import error

2013-04-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/20/2013 02:38 PM, Babylakshmi wrote:
 Hi,
 
 I am getting the following error while starting zope: Any help to fix
 this error is highly appreciated. Thanks, Babylakshmi
 
 2013-04-19 16:30:32 ERROR Zope Could not import Products.LocalFS 
 Traceback (most recent call last): File
 /usr/local/zope/lib/python/OFS/Application.py, line 715, in 
 import_product product=__import__(pname, global_dict, global_dict,
 silly) File /usr/local/zope/lib/python/Products/LocalFS/__init__.py,
 line 44, in ? import os, LocalFS File
 /usr/local/zope/lib/python/Products/LocalFS/LocalFS.py, line 52, in
 ? from OFS.content_types import find_binary ImportError: cannot import
 name find_binary Traceback (most recent call last): File
 /usr/local/zope/lib/python/Zope2/Startup/run.py, line 56, in ? 
 run() File /usr/local/zope/lib/python/Zope2/Startup/run.py, line 21,
 in run starter.prepare() File
 /usr/local/zope/lib/python/Zope2/Startup/__init__.py, line 98, in 
 prepare self.startZope() File
 /usr/local/zope/lib/python/Zope2/Startup/__init__.py, line 257, in 
 startZope Zope2.startup() File
 /usr/local/zope/lib/python/Zope2/__init__.py, line 47, in startup 
 _startup() File /usr/local/zope/lib/python/Zope2/App/startup.py,
 line 46, in startup OFS.Application.import_products() File
 /usr/local/zope/lib/python/OFS/Application.py, line 692, in 
 import_products import_product(product_dir, product_name,
 raise_exc=debug_mode) File
 /usr/local/zope/lib/python/OFS/Application.py, line 730, in 
 import_product raise sys.exc_info() KeyError

Likely the version you have for LocalFS is not compatible with the
version of Zope.   See:

 http://www.joonis.de/content/LocalFSForZope213


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFy/XEACgkQ+gerLs4ltQ4MAACgnfiWC9DceQgmXgH0tMeeVleP
aP0AoIyOe3H1SybpTnDR7qnL0KDh6JRK
=DjgW
-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-dev] zope.lifecycleevent dependencies

2013-04-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/17/2013 11:59 AM, Souheil CHELFOUH wrote:
 Hello all,
 
 I've been poking the dependencies of several zope packages and it
 appears that :
 
 zope.interface = 4.0 contains IObjectEvent and its implementation 
 ObjectEvent zope.component = 4.0 contains import of IObjectEvent and
 ObjectEvent zope.lifecycleevent = 4.0 imports IObjectEvent and
 ObjectEvent from zope.component, and doesn't import anything else from
 this package, only in the tests.
 
 We could free zope.lifecycleevent from the zope.component dependency, 
 making it a test dependency only

+1.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFu7FsACgkQ+gerLs4ltQ5oRACeK73oh/ihQznzvx/JfZIRZYPI
rREAoL96RAeVFu4S86Hi/OSCdO4vS70u
=DzI1
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 3, OK: 12

2013-04-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/06/2013 09:00 PM, Zope tests summarizer wrote:
 
 [1]FAILED  Still Failing - zopetoolkit_trunk - Build # 225 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073719.html

AFACT, these failures are bugs in z3c.recipe.compattest:  it is
generating the test scripts without full expanding the transitive
depencencies of the tested packages.  None of the separate buldouts fail.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFhkIIACgkQ+gerLs4ltQ7xhgCg3NkGvCxl0Qf0L4TcNFO6Ejz5
SYoAn0yl8eG53jrb9PIXcDXEZSsn93zq
=se8y
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 8, OK: 8

2013-04-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/03/2013 09:00 PM, Zope tests summarizer wrote:
 [1]FAILED  Still Failing - zopetoolkit_trunk - Build # 222 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073673.html

Ugh.  I think Marius had some clue to this one, but I'm baffled.


 [2]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073684.html
 
 
 [3]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073685.html
 
 
 [4]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073686.html
 
 
 [5]FAILED  winbot / ZODB_dev py_270_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073687.html

Looks like more renormalizer fun.


 [8]FAILED  winbot / zope.security_py_265_32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073675.html

Network failure during 'git pull'.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFdvFgACgkQ+gerLs4ltQ50KACeI7zMeX6JqKFBVjhfzH+r9l0b
piMAoNVY+Mf+dAF1HvVDAHhvqRxISaj7
=O1Bu
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 6, OK: 8

2013-04-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/01/2013 09:00 PM, Zope tests summarizer wrote:
 [2]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073653.html
 
 
 [3]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073654.html
 
 
 [4]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073655.html

These all look to be a borked renormalizer:

- --
Expected:
Traceback (most recent call last):
...
POSKeyError: 'No blob file at BLOB STORAGE PATH'
Got:
Traceback (most recent call last):
  File c:\Python26_32\lib\doctest.py, line 1253, in __run
compileflags, 1) in test.globs
  File doctest blob_transaction.txt[150], line 1, in module
blob_storage.loadBlob(blob._p_oid, s1)
  File c:\buildslave\zodb_dev_py_265_win32\build\src\ZODB\blob.py,
line 645, in loadBlob
raise POSKeyError(No blob file at %s % filename, oid, serial)
POSKeyError: 'No blob file at
c:\\buildslave\\ZODB_dev_py_265_win32\\build\\parts\\test\\tmp\\testwzejdj\\blobs\\0x00\\0x00\\0x00\\0x00\\0x00\\0x00\\0x00\\0x05\\0x039db52c5b76ebab.blob'
- --



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFa54YACgkQ+gerLs4ltQ5ragCgia5bO4cz2pIECPSM4x2ABeqo
8v8AoNbeyXGMpHipBQ22iA2qS3/XVze6
=OmZ3
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 7, OK: 8

2013-03-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/29/2013 09:00 PM, Zope tests summarizer wrote:
 [2]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-March/073603.html
 
 
 [3]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-March/073604.html
 
 
 [4]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-March/073605.html
 
 
 [5]FAILED  winbot / ZODB_dev py_270_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-March/073606.html

Due to re-adding UTF8 in the changelog -- the code in setup.py which
tried to make that work was ugly and untested.  Let's just leave MvL's
name in its ASCII transcription, please.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFXH+AACgkQ+gerLs4ltQ6FLQCgqC/MlOWJr9GERC+jVY7iRMB+
JZUAnAtS0rs9COMwDkexSigvrsOHHH/4
=rg0i
-END PGP SIGNATURE-

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


Re: [Zope] Product CalendarTag on zope2.13.19

2013-03-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/27/2013 11:44 AM, Giampiero Benvenuti wrote:
 Hello!
 
 I'm running a zope2.13.19 instance on my mac. I intstalled the product
 Calendar version 1.0.19
 
 I adjusted the file __init__.py
 
 Change the line:
 
 from ImageFile import ImageFile
 
 with:
 
 from App.ImageFile import ImageFile
 
 so far so good.
 
 Still, one problem is this type of error:
 
 SyntaxError: Non-ASCII character '\xf1' in file
 /Applications/zope21319/Products/Calendar/CalendarTag.py on line 139,
 but no encoding declared;
 
 Is pointing to lines containing non ASCII character such as this one:
 
 'pl':
 ('StyczeÒ','Luty','Marzec','KwiecieÒ','Maj','Czerwiec','Lipiec','SierpieÒ','WrzesieÒ','Paºdziernik','Listopad','GrudzieÒ')

  What is the best way to take care of this issue? Of course, the
 fastest is to get rid of some languages... not good.
 
 It could be nice to release a complete working version of the
 product.
 
 Please give me some hints.

You could add the encoding at the top of the Python module.  See PEP 263:

  http://www.python.org/dev/peps/pep-0263/



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFTJMwACgkQ+gerLs4ltQ6sugCeNDKMadJOIa1IlmdoIvIImO+4
+FcAnAzX7dZrorjmoJCmSvBYV4U+a7mH
=hmSL
-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-dev] request for more package migrations to github

2013-03-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/22/2013 08:13 AM, Sebastien Douche wrote:
 On Fri, Mar 22, 2013 at 10:23 AM, Jan-Wijbrand Kolman 
 janwijbr...@gmail.com wrote:
 Here's the list:
 
 groktoolkit grokcore.errorview grokcore.permission 
 grokcore.registries grokcore.resource grokui.admin hurry.query 
 hurry.workflow z3c.bcrypt
 
 Don't understand why Grok packages (or 3rd party packages) must go on 
 the Zope Foundation repos.

By virtue of the contributor agreement, they are all ZF-owned (well,
half-owned) projects.  If there are projects which should be spun out of
the Foundation, we have an open item for the repository committee to
draft a procedure for such cases for the new board's action.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFMYygACgkQ+gerLs4ltQ4P3QCgl8edHtniWOpbJ9cl+LjQ8Ha2
QC8An2Jeqd48OgW59RzX2Hd0yjuj+eUv
=AXbC
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope-tests - FAILED: 6, OK: 12

2013-03-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/21/2013 03:11 AM, Marius Gedminas wrote:
 ValueError: _p_serial must be an 8-character bytes array
 
 So that's, you know, *interesting*.
 
 I've no clue, and also cannot reproduce locally.
 
 I wish we knew what `serial` actually was.

That smells as though somehow the new 'persistent' module is being used,
in spite of the fact that ZODB 3.10.x bundles its own version.  The
separately-released version is strict about non-bytes values as OIDs / TIDs.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFLS7gACgkQ+gerLs4ltQ5AOwCfblpOaMpaUZM8v0u3/a4k2cDg
2cgAoJoHOpDuFCJLq5ygUC6633mHTY7p
=pC8Z
-END PGP SIGNATURE-

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


Re: [Zope-dev] [zopefoundation/zope.container] 9100fc: Tagging 3.11.2

2013-03-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/19/2013 01:48 PM, Stephan Richter wrote:
 On Tuesday, March 19, 2013 08:38:23 AM GitHub wrote:
 Commit: b2ae9a9bd5e3dc214f13c6ae77fa06ad55102aba 
 https://github.com/zopefoundation/zope.container/commit/b2ae9a9bd5e3dc

 
214f13c6ae77fa06ad55102aba Author: Matthew Wilkes
g...@matthewwilkes.name
 Date:   2013-03-19 (Tue, 19 Mar 2013)
 
 Changed paths: M setup.py M
 src/zope/container/_zope_container_contained.c M
 src/zope/container/_zope_proxy_proxy.c
 
 Log Message: --- Comment out the C extension. This should
 build conditionally, but this is just for testing
 
 I have actually some pypy attempts in a local version as well. The big
 problem is that the ContainedProxy must inherit from
 zope.security.proxy.ProxyPy and 
 zope.persistent.persistence.Persistent. Both of those classes define
 __slots__ so they cannot both be base classes. The only way to fix
 this, I think, is to change the Python implementation of the security
 proxy or Persistent to not have slots and only define the slots in a
 derived class.

Please don't attempt to mess with the persistent class:  the slots there
are crucial to performance.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFI1VEACgkQ+gerLs4ltQ4KHgCbBkreu1q7MT/FwYbHATZbCkdO
oXsAoIAVLwX3JeEZHqfHEi9JUn6Hzpdy
=SDMg
-END PGP SIGNATURE-

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


Re: [Zope-dev] Version Numbering for Ported Packages

2013-03-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/13/2013 12:05 PM, Stephan Richter wrote:
 On Wednesday, March 13, 2013 11:31:10 AM Tres Seaver wrote:
 FWIW whenever I get a failure notification from Travis about a 
 package that doesn't have a .travis.yml, I uncheck the Active
 checkbox in Github repo settings.
 
 Unless the project already passes all its tests when run manually
 from a checkout, please do not turn on any automated reporting.
 Having seventy or so of those messages show up directly in my inbox
 on a travel-to-Pycon day was major suckage.
 
 Please note that I always turn off E-mail notification for Travis in
 the config file. Marius mentioned to me this morning that the messages
 were due to having turned on Travis but the package not having a
 .travis.yml file. I have worked all morning to rectify that and add a
 .travis.yml to all ZF GitHub packages.
 
 The set of packages now migrated to Github (including zope.app.*,
 z3c.*) is far larger than the set which is actually being cared for.
 I didn't expect to see most of those packages migrate at all,
 because they are de facto abandoned (not used by Zope2, Grok, or any
 other active project).
 
 We only moved packages that are still checked by winbot and the pnes
 that we ported because we use them in our project.

250+ of them?  OK, I retract my concern then, if you are actually using them.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFAo2AACgkQ+gerLs4ltQ7NHACg14Y8J1ATNDjdiOEuKHlD+YJE
DI0An0flX3L5TriqfWbIf5BKbu6LK4x3
=0/KI
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] [zopefoundation/zope.security] 82fd54: Changed strategy to hide wrapped to not use the se...

2013-03-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2013 11:33 AM, GitHub wrote:

 Oh yeah, all tests pass now on py26, py27, py32, py33, and pypy!


Woohoo!  Nice work.  BTW, how did you break the import cycle due to the
zope.location monkeypatch?



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE9/poACgkQ+gerLs4ltQ41BgCggEXl0utNEQAydRv1rws1xPrt
+28AoJZvfxTNgRvKBhHXstxxDvTzcurE
=2XB9
-END PGP SIGNATURE-

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


Re: [Zope-dev] [zopefoundation/zope.security] 82fd54: Changed strategy to hide wrapped to not use the se...

2013-03-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2013 02:02 PM, Stephan Richter wrote:
 On Monday, March 11, 2013 11:56:10 AM Tres Seaver wrote:
 Oh yeah, all tests pass now on py26, py27, py32, py33, and pypy!
 
 Woohoo!  Nice work.  BTW, how did you break the import cycle due to 
 the zope.location monkeypatch?
 
 I moved the patch to  __init__.py. I know, not 
 zope.location.LocationProxy gets fixed up all the time instead of 
 waiting for decorator to be imported. But it did break the cycle.

I was thinking of adding a ZCML directive which did the monkey patch (so
that it wouldn't happen at import time at all).

BTW, I merged the branch to the trunk and made a zope.security 4.0.0b1
release just now.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE+G9cACgkQ+gerLs4ltQ4J2wCdEJzJ2D4eIKZWxlmNdbJZyVgh
mV0AoMIvVLKGZ6y/cgkoBz88w+iYbs0T
=tf3G
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Version Numbering for Ported Packages

2013-03-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2013 08:40 PM, Stephan Richter wrote:

 Fred asked about the reasoning behind recent version numbers as we
 ported packages to Python 3.
 
 We decided that any package that depends on an alpha or unreleased
 package should itself be an alpha release. There are 2 packages that
 started the avalanche:
 
 * zope.security: Tres wanted 4.0.0 to also have PyPy support, so he
 only did an alpha release to unblock the porting effort. Today, I
 finished the PyPy support and he released 4.0.0b1.

If that release doesn't bust anything over the next day or two, I will
likely push out a 4.0.0 final by the end of the week.

I have one question:  the zope.location import-time monkeypatch is a
wart in zope.security:  could we add a ZCML directive for doing that at
configuration execution time instead?


 * ZODB: We currently do not have a release for a ported ZODB. For any
 package requiring the ZODB directly or indirectly, we added a snapshot
 sdist of the py3 branch into the package to demonstrate the tests
 passing. (See the zodb- dev mailing list for the current status.)

We are essentially blocked on figuring out how to deal with instance /
moudle attribute names in pickles:  they need to be native strings
under both Python2 and Py3k.  I'm pretty hopeful that Pycon will let us
figure that out.

 Of course, the alpha releases are really stable, all the tests pass
 under Python 2.6 and 2.7.

I'm agreed for the most part.  Can we make it a priority to fix the
failing nightly tests?  Also, is somebody running / reporting tests via
Travis?  Where are those results going?



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE+jm8ACgkQ+gerLs4ltQ7Q8QCghZgjXHdpaCZ0zay2cvrY6N1o
oUAAoJA9rptCLM1JAszEv93MfF7qghrq
=1jPL
-END PGP SIGNATURE-

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


Re: [Zope-dev] [zopefoundation/zope.security] 82fd54: Changed strategy to hide wrapped to not use the se...

2013-03-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/11/2013 10:29 PM, Stephan Richter wrote:
 On Monday, March 11, 2013 02:00:55 PM Tres Seaver wrote:
 BTW, I merged the branch to the trunk and made a zope.security
 4.0.0b1 release just now.
 
 Yep, saw that. There are some uncovered lines for which I have to add
 tests left. Also, I just noticed while prorting zope.publisher to PyPy
 that proxies cannot be adapted, which is a big issue for any view
 libraries.

Ouch.  That lying about my type bit is hard to get over.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE+k/oACgkQ+gerLs4ltQ6wWwCfWvfDbILY76o51rmRsdaJ7390
yx0An3Qyrc7VO53TtOSt1WSllDwdBYb4
=+4m5
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope generations updating objects with method name change

2013-03-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/10/2013 04:19 PM, Joshua Immanuel wrote:

 My application is based on Grok. Whenver, I change a method-name or
 add a method to a Model, Grok fails to load the previous version from
 the ZODB. I resorted to writing simple generations (zope.generations)
 to update the stored model objects.
 
 For 'method name' changes, this basically means: 1. create new object 
 2. copy every single attribute of old-object to the new-object 3.
 delete old-object 4. save new-object
 
 How does everyone else do this? Or is there a way to make
 grok/zope/zodb not persist the method-names and signatures in a
 content component (grok Model)?

Method names are not stored in the ZODB at all:  only the instance
attributes are stored.

What you report doesn't correspond with how ZODB is designed, nor with
how Zope has been using it forever.  For instance, I can create a class
inside a module:, derived from Persistent:

  # foo.py, v1
  from persistent import Persistent
  class Foo(Persistent):
  def __init__(self, bar, baz):
  self.bar = bar
  self.baz = baz

and make instances of it, adding them to another persistent object:

  from ZODB.DB import DB
  from ZODB.FileStorage import FileStorage
  db = DB(FileStorage('/tmp/data.fs'))
  conn = db.open()
  root = db.root()
  from foo import Foo
  root.foo = Foo('bar 1', 0)
  import transaction
  transation.commit()

and then later modify 'foo.py', adding methods to the Foo class

  # foo.py, v2
  from persistent import Persistent
  class Foo(Persistent)
  def __init__(self, bar, baz):
  self.bar = bar
  self.baz = baz
  def spam(self):
  return self.bar * self.baz

and still load the previously created object from the database::

  from ZDOB.DB import DB
  from ZODB.FileStorage import FileStorage
  db = DB(FileStorage('/tmp/data.fs'))
  conn = db.open()
  root = db.root()
  from foo import Foo
  assert isinstance(root.foo, Foo)
  print root.foo.spam()

If that isn't working for your models, you must be doing something very
weird.  Possible issues:

- - Do your model classes derive from Persistent?

- - Do they have attributes with multable values (e.g., native Python dict
  or list)?  If so, does your code mutate those values without telling the
  containing object it has changed?

- - Are you remembering to commit the transaction?



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE9UFkACgkQ+gerLs4ltQ6euQCeORe7UvO3a4VK8oAP+pvd7Rce
lL8An1TxxJcb48YjFa9Ih67U7N1Y57cl
=2eUa
-END PGP SIGNATURE-

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


Re: [Zope-dev] zope.security with Py3

2013-03-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/08/2013 02:18 PM, Stephan Richter wrote:
 On Thursday, February 14, 2013 03:42:06 PM Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 02/14/2013 03:15 PM, Tres Seaver wrote:
 The work to create a compatible pure-Python proxy is partly done
 (I added tests for all the features of the C version I could
 discover). The version I have in my sandbox doesn't pass all those
 tests, so I haven't pushed it.
 
 I put that work on a branch:
 
 https://github.com/zopefoundation/zope.security/tree/pure_python_proxy


 
Likely I won't get back to it this week.
 
 Hi Tres,
 
 do you see yourself working on this again soon? I was going to port
 some packages to PyPy, but got quickly blocked by zope.security.

No, I don't think I will be working on that package in the near future (I
pushed changes merging the trunk and fixed the coverage today).


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE6S1AACgkQ+gerLs4ltQ75/ACbBoPUgnPVEFPBLorH5SRiYnXX
vfIAmgKOsillJ0VLZzZsxsQ2L48z48PI
=C34r
-END PGP SIGNATURE-
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zope-tests - FAILED: 11, OK: 12

2013-03-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/07/2013 11:51 AM, Stephan Richter wrote:
 On Thursday, March 07, 2013 05:46:48 PM Marius Gedminas wrote:
 I'm not sure that's the right thing to do.  Perhaps page templates,
 when given a file on disk with \r\n, should normalize the line
 endings to \n?
 
 Opinions?
 
 I think we should retain EOL characters as long as clients (i.e.
 browsers) understand them, which they do.

With template source, tools may require platform-specific line endings.
For rendered HTML / XML, no tool / browser that wants to work with the
'net at large can have such expectations, which makes preserving them a
non-use-case.

+1 to Marius' proposal to open template files with 'U' in the mode.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE4yVoACgkQ+gerLs4ltQ6mEgCffTFzG8t0Pj1zMjSclJAo6bKE
t5oAoMvDejWwpKceqfG5ilogZfJoIdXm
=Yryz
-END PGP SIGNATURE-

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


Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/03/2013 10:34 PM, Arfrever Frehtes Taifersar Arahesis wrote:
 2013-02-28 21:04:33 Tres Seaver napisa?(a):
 I have ported it to Python 3.2 and 3.3 and released a 4.0.0
 version.
 
 There are still multiple problems (types.TupleType,
 sys.modules.has_key etc.):
 
 $ PYTHONPATH=src python3.3 -c import zope.sequencesort Traceback
 (most recent call last): File string, line 1, in module File
 /tmp/zope.sequencesort/src/zope/sequencesort/__init__.py, line 14,
 in module from zope.sequencesort.ssort import sort File
 /tmp/zope.sequencesort/src/zope/sequencesort/ssort.py, line 17, in
 module from types import TupleType ImportError: cannot import name
 TupleType

Weird:  the tests seemed to run, but only the 'coverage' section was
actually running.

I just released 4.0.1 which fixes the remaining test breakage under Py3k.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE1DswACgkQ+gerLs4ltQ4kuwCffWRNVmRlWxJ1TEUOGMlFiRWV
ZAUAoIcnx6EYG4EyiyxeNGmm7GWj+yFu
=5NvX
-END PGP SIGNATURE-

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


Re: [Zope-CMF] cmf-tests -

2013-03-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/04/2013 06:46 AM, Maurits van Rees wrote:

 If that commit helps, then some test errors will show up in 
 Products.CMFDefault, mostly this:
 
 TypeError: Object has default comparison

New BTrees expects objects used as keys to have real comparison
semantics:  Python's default (based on id()) is not suitable for
persistent objects.


Ters.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlE1ANoACgkQ+gerLs4ltQ53GACg0DzGSdg//7eONFIO8vN/vo9a
5ykAni03jupDUK4BSLf/xsWELxcH00+S
=cAwL
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Move to github?

2013-03-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/03/2013 04:54 PM, Martin Aspeli wrote:
 (e.g. the time spent managing svn.zope.org; the cost of bandwidth)
 that can be better spent elsewhere (e.g. working on Zope/CMF)

FWIW, I doubt that those costs are measurable in any significant sense:
 bandwidth and core sysadmin for that host have been donated by Zope
Corp. for more than a decade now.  Volunteer time spent keeping the SVN
server running run less than an hour a month (on par with maintaining the
150+ Github repos).



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEz7KQACgkQ+gerLs4ltQ6cCgCdGUokybOm4Fg7Ii6TOz1XNev6
qWYAnRDKKZ711gN0KSTJjDy7+6lNSJB4
=mzR/
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-dev] Zope2 git mirror not updating?

2013-03-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/11/2013 08:10 AM, Jens Vagelpohl wrote:
 
 On Jan 11, 2013, at 14:07 , Wichert Akkerman wich...@wiggy.net
 wrote:
 
 I noticed that the Zope2 git mirror does not appear to be updating. 
 Looking at https://github.com/zopefoundation/Zope/commits/2.13 it 
 doesn't have any commits after November 15, while subversion has
 more recent commits from Hanno and Maurits. Did an updating process
 break? Or did development switch to github but the subversion
 repository was not made readonly?
 
 I had already mentioned in a different thread that the Zope and all 
 Products.* packages you see on GitHub are not final migrations, just 
 test migrations. Until a package is clearly marked as migrated in SVN 
 (such as all packages Jim and Tres migrated) the migration is not
 final and all changes should still be checked into svn.zope.org.

AFAICT, the git.zope.org mirroring process is not functioning.  E.g., the
'py3' branch of ZODB is not there, lots of repositories are mssing
altogether, etc.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEyOjoACgkQ+gerLs4ltQ43zACfSKI/4kJt8qI7e88XHsp8FMug
UmEAoLAME3K4UGEEC3s2Lam4srgZA68k
=R8VZ
-END PGP SIGNATURE-

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


Re: [Zope-dev] procedures for moving package to github and porting to Python 3

2013-03-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/01/2013 08:50 AM, Stephan Richter wrote:
 On Friday, March 01, 2013 02:40:38 PM Jan-Wijbrand Kolman wrote:
 Jim will announce a secret location for the authors.txt file in
 the next days on the ZF mailing list.
 
 You mean the ZF mailinglist that only ZF members can join?
 
 Yeah, but if you are a committer, you are a member. :-)

Not so.  Foundation members are listed here:

 http://foundation.zope.org/members/nominated_members

The original group of what are now called nominated members was invited
from the then-existing set of committers, but there is no necessary tie
between the two.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEwtfMACgkQ+gerLs4ltQ66bwCfTubHRqqMv3PkZemQgXwoIx4s
n10An3Jd/08Vp8k28xPqOZta6Bbj/GRM
=vuDU
-END PGP SIGNATURE-

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


Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2013 08:43 AM, Stephan Richter wrote:
 Hi everyone,
 
 I would like to deprecate zope.sequencesort in ZTK 2.0, since it
 cannot properly ported to Python 3, since it depends heavily on the
 cmp() way of sorting. I am also not a user of the package and I only
 tried to port the package for completeness sake.
 
 Thoughts?

I'm generally in favor of shrinking the ZTK, but just for discussion's
sake:  emulating 'cmp' for objects which have rich comparison semantics
isn't that difficult::

  def _faux_cmp(lhs, rhs):
  return int(rhs  lhs) - int(lhs  rhs)


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEvhpoACgkQ+gerLs4ltQ54KACggufMQUYdhD1Y9pefcP0qvAEE
oEMAoLwcOL9/gGtdsIUJ0YlMme85WGhZ
=ayRa
-END PGP SIGNATURE-

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


Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2013 10:41 AM, Lennart Regebro wrote:

 Reading through the code, it seems to use a lot of code to provide 
 quite basic sorting functionality. It feels like it's trying to fill
 the same role as sorted() does since Python 2.4.


The other features (locale-aware sorting, sort different keys using
different algorithms / directions) are not easy to emulate using 'sorted()'


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEvhtAACgkQ+gerLs4ltQ7PRACbBuZ7YPdTbm0zsqCExZYn/gM0
7cwAoNhy13Nd/Avf0NZ6b+ChqbrfY77E
=pITz
-END PGP SIGNATURE-

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


Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2013 01:04 PM, Stephan Richter wrote:
 On Thursday, February 28, 2013 11:32:26 AM Tres Seaver wrote:
 Thoughts?
 
 I'm generally in favor of shrinking the ZTK, but just for
 discussion's sake:  emulating 'cmp' for objects which have rich
 comparison semantics isn't that difficult::
 
 def _faux_cmp(lhs, rhs): return int(rhs  lhs) - int(lhs  rhs)
 
 Well, that is the obvious implementation of cmp(), but that's not the
 point of the package. The package provides a callable class that
 represents a cmp() function. The problem is that it is not just
 creating some keys and calls cmp() on it. I could not find out a way
 to create a single key.

The main export of the package is the 'sort' function, which takes a
sequence, per-column sort specs (key/attr name, sort function,
direction), and optional extra data (e.g., the DTML namespace) and a flag
indicating whether to use key or attribute lookup.  The 'SortBy' class is
really just an implementation detail of that API.

 I guess the right way to port the package is to implement a sort API.

I have ported it to Python 3.2 and 3.3 and released a 4.0.0 version.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEvuFEACgkQ+gerLs4ltQ7+0wCg1gdpKIzx1Q1lvS0xVWAhSRIM
wPsAniwipqErV4yMTkRDr5GxBz6GJfzW
=6SHn
-END PGP SIGNATURE-

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


Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2013 10:00 PM, Lennart Regebro wrote:
 On Thu, Feb 28, 2013 at 5:33 PM, Tres Seaver tsea...@palladion.com 
 wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 02/28/2013 10:41 AM, Lennart Regebro wrote:
 
 Reading through the code, it seems to use a lot of code to provide
 quite basic sorting functionality. It feels like it's trying to
 fill the same role as sorted() does since Python 2.4.
 
 The other features (locale-aware sorting, sort different keys using
  different algorithms / directions) are not easy to emulate using 
 'sorted()'
 
 Locale aware sorting can be tricky, I'll have to look at that code 
 again. Sorting different keys and directions are trivial with 
 sorted(). I'm not sure what different algorithms mean, with sorted 
 you implement a function that returns a sorting key, that sorting key
  is then used to sort. It should be possible to sort according to any
  algorithm that way.

Assuming an unsorted list of news stories, how would you use sorted to
get them ordered by category (ascending) + publication date (descending)?

If you spend more than a minute on it (e.g., trying to come up with a
bug-free way to compute negative dates) you've proved my mpoint. :)



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEwGqcACgkQ+gerLs4ltQ64PACgoDSWLIhu1EJqTu1zEanfgHlY
oxAAoJkzmsOK28Rco13S+06YRyMVhZ8k
=T8Or
-END PGP SIGNATURE-

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


Re: [Zope-dev] ZTK 2.0 process

2013-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/26/2013 11:04 AM, Hanno Schlichting wrote:
 My goals for a 2.0 release would be (comparing to 
 http://docs.zope.org/zopetoolkit/releases/overview-1.1.html):
 
 - Drop support for Python 2.5 (ZTK 1.1 still supports that)

+1.

 - Add support for Python 3.x (either 3.3 or 3.2 and 3.3)

I would prefer 3.2 and 3.3.  The major hurdle for 3.2-compatibility is
unicode literals:  I volunteer to do the work if needed to fix that up
for the 3.3-ported packages.

 - Drop all zope.app packages from the KGS (most were deprecated in ZTK
 1.1)

+sys.maxint

 - Update to buildout 2 - Update to ZODB 4

+1 to both.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEs7IoACgkQ+gerLs4ltQ5zCACfbHYVhZES9b6BBnj/OKLytaNu
MToAnAyA//okvxRZdWrDL5XxgTBA7GSQ
=2JJu
-END PGP SIGNATURE-

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


  1   2   3   4   5   6   7   8   9   10   >