AW: [Zope3-Users] z3c-form meta.zcml error
Hi all Cc: Philipp von Weitershausen; Martijn Pieters Betreff: Re: [Zope3-Users] z3c-form meta.zcml error [...] Btw, Windows users can generate standard tarballs using the --formats switch: Yep, that worked. Roger forgot those options. I am going to release real tarballs today. No I defently didn't forgot this option. I released 1.7.1 as tar.gz with the option --format=gztar and 1.7.2 as zip because of the report form malthe that the egg misses the zcml file. All the *.zcml files where in every release included. I think that's a setuptools issue, The files do not get extracted, that's it. I have no idea if this only happens because the computer which extracts the eggs does not have the newest setuptools installed. I used the newest version of setuptools whihc is available e.g. version: setuptools-0.6c7-py2.4.egg. If this is a issue on build eggs, then it's defently not fixed. Many thanks Stephan Regards Roger Ineichen Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
RE: [Zope3-Users] z3c-form meta.zcml error
Hi all, I'm using setuptools-0.6c7-py2.4.egg on a Mac OS X 10.5.1 and I have the same issue with zope.viewlet 3.4.1. -Tom From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Roger Ineichen [EMAIL PROTECTED] Sent: Thursday, January 24, 2008 10:02 AM To: [EMAIL PROTECTED]; zope3-users@zope.org Cc: 'Philipp von Weitershausen'; 'Martijn Pieters' Subject: AW: [Zope3-Users] z3c-form meta.zcml error Hi all Cc: Philipp von Weitershausen; Martijn Pieters Betreff: Re: [Zope3-Users] z3c-form meta.zcml error [...] Btw, Windows users can generate standard tarballs using the --formats switch: Yep, that worked. Roger forgot those options. I am going to release real tarballs today. No I defently didn't forgot this option. I released 1.7.1 as tar.gz with the option --format=gztar and 1.7.2 as zip because of the report form malthe that the egg misses the zcml file. All the *.zcml files where in every release included. I think that's a setuptools issue, The files do not get extracted, that's it. I have no idea if this only happens because the computer which extracts the eggs does not have the newest setuptools installed. I used the newest version of setuptools whihc is available e.g. version: setuptools-0.6c7-py2.4.egg. If this is a issue on build eggs, then it's defently not fixed. Many thanks Stephan Regards Roger Ineichen Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
AW: [Zope3-Users] z3c-form meta.zcml error
Hi Tom Betreff: RE: [Zope3-Users] z3c-form meta.zcml error Hi all, I'm using setuptools-0.6c7-py2.4.egg on a Mac OS X 10.5.1 and I have the same issue with zope.viewlet 3.4.1. Yes, there are more scrambled eggs out there. Stephan, do you have time do release the other eggs? Regards Roger Ineichen -Tom From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Roger Ineichen [EMAIL PROTECTED] Sent: Thursday, January 24, 2008 10:02 AM To: [EMAIL PROTECTED]; zope3-users@zope.org Cc: 'Philipp von Weitershausen'; 'Martijn Pieters' Subject: AW: [Zope3-Users] z3c-form meta.zcml error Hi all Cc: Philipp von Weitershausen; Martijn Pieters Betreff: Re: [Zope3-Users] z3c-form meta.zcml error [...] Btw, Windows users can generate standard tarballs using the --formats switch: Yep, that worked. Roger forgot those options. I am going to release real tarballs today. No I defently didn't forgot this option. I released 1.7.1 as tar.gz with the option --format=gztar and 1.7.2 as zip because of the report form malthe that the egg misses the zcml file. All the *.zcml files where in every release included. I think that's a setuptools issue, The files do not get extracted, that's it. I have no idea if this only happens because the computer which extracts the eggs does not have the newest setuptools installed. I used the newest version of setuptools whihc is available e.g. version: setuptools-0.6c7-py2.4.egg. If this is a issue on build eggs, then it's defently not fixed. Many thanks Stephan Regards Roger Ineichen Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
AW: [Zope3-Users] z3c-form meta.zcml error
Hi Martijn Betreff: Re: [Zope3-Users] z3c-form meta.zcml error [...] I used the newest version of setuptools whihc is available e.g. version: setuptools-0.6c7-py2.4.egg. If this is a issue on build eggs, then it's defently not fixed. Ah, ah, ah! Files not getting extracted sounds like the tarfile bug in python that Florian Schulze hit as well: http://www.nabble.com/Egg-uploads---Lessons-learned-td14279963 s6745.html Yes, absolutly, thanks for the link. Apparently that's fixed in Python 2.5, which is a fat lot of help to us stuck on 2.4. Sounds like a good reason to switch to Pyhton 2.5 Regards Roger Ineichen _ END OF MESSAGE -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: AW: [Zope3-Users] z3c-form meta.zcml error
On Thursday 24 January 2008, Roger Ineichen wrote: Stephan, do you have time do release the other eggs? Yes. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: Fwd: [Zope3-Users] z3c-form meta.zcml error
On Wed, Jan 23, 2008 at 06:40:08PM -0500, Stephan Richter wrote: On Wednesday 23 January 2008, Martijn Pieters wrote: On Jan 23, 2008 10:12 AM, Peter Koppatz [EMAIL PROTECTED] wrote: What has changed between 1.7.0 and 1.7.2? ls -al | wc -l 1.7.0 -- 76 1.7. 2 -- 47 there are no *-txt , *.zcml anymore! Someone must have built the release tarball from a fresh SVN export; setup.py does not include txt and zcml files and such by default when building a release tarball, while a development egg would include those. In other words, the maintainer of z3c.form (and I mean YOU, Stephan) should add a MANIFEST.in with the lines global-include *.txt and global-include *.zcml in it and re-roll the release. The problem are faulty ZIP files that do not open correctly in Linux. The ZCML and Text files are there, but are not extracted correctly by setuptools. When we encountered this problem during the Foliage sprint, the problem was not the use of .zip instead of .tar.gz, but a manifest with \r\n line endings inside the archive. setuptools did rstrip('\n') on the lines and then tried to copy nonexistent files with a names that ended in '\r'. The bug was fixed on the same day in a newer setuptools 0.6 prerelease. Marius Gedminas -- Funny off-topic messages are always on-topic. signature.asc Description: Digital signature ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
AW: Fwd: [Zope3-Users] z3c-form meta.zcml error
Hi Marius Betreff: Re: Fwd: [Zope3-Users] z3c-form meta.zcml error [...] The problem are faulty ZIP files that do not open correctly in Linux. The ZCML and Text files are there, but are not extracted correctly by setuptools. When we encountered this problem during the Foliage sprint, the problem was not the use of .zip instead of .tar.gz, but a manifest with \r\n line endings inside the archive. setuptools did rstrip('\n') on the lines and then tried to copy nonexistent files with a names that ended in '\r'. The bug was fixed on the same day in a newer setuptools 0.6 prerelease. Yes, that was what I was thinking. But I had the latest setuptools installed and this happens again. Seems that this is a tar lib bug in python. Regards Roger Ineichen _ END OF MESSAGE Marius Gedminas -- Funny off-topic messages are always on-topic. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c-form meta.zcml error
On Jan 23, 2008 10:12 AM, Peter Koppatz [EMAIL PROTECTED] wrote: What has changed between 1.7.0 and 1.7.2? ls -al | wc -l 1.7.0 -- 76 1.7. 2 -- 47 there are no *-txt , *.zcml anymore! Someone must have built the release tarball from a fresh SVN export; setup.py does not include txt and zcml files and such by default when building a release tarball, while a development egg would include those. In other words, the maintainer of z3c.form (and I mean YOU, Stephan) should add a MANIFEST.in with the lines global-include *.txt and global-include *.zcml in it and re-roll the release. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
AW: [Zope3-Users] z3c-form meta.zcml error
Hi all, Stephan, Philipp Sorry about that... PhiliKON told me that this is fixed a couple month ago. That was the reason I tried to lay eggs again. But now it seems that we have rumbled eggs again. Seems that setuptools(?) is buggy and still doesn't work on a windows box. Philipp, right? Or do I need a patch? I told Stephan about that two days ago bit seems that he doesn't have time to build the eggs and upload them since then. Whould be great if someone could help just build the eggs based on the tags again and upload them. Tell me if you need permissions and I can set it for you on PyPi. Philipp, Can you give me some hints about this issues and point me to your mail thread about that? Can you explain what really happens and what should get fixed? I'm out of office this afternoon but will take another look at that tonight. Stephan Do you have time to fix that today? Regards Roger Ineichen _ END OF MESSAGE -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Martijn Pieters Gesendet: Mittwoch, 23. Januar 2008 12:37 An: Peter Koppatz Cc: Zope3-users@zope.org; [EMAIL PROTECTED] Betreff: Re: [Zope3-Users] z3c-form meta.zcml error On Jan 23, 2008 10:12 AM, Peter Koppatz [EMAIL PROTECTED] wrote: What has changed between 1.7.0 and 1.7.2? ls -al | wc -l 1.7.0 -- 76 1.7. 2 -- 47 there are no *-txt , *.zcml anymore! Someone must have built the release tarball from a fresh SVN export; setup.py does not include txt and zcml files and such by default when building a release tarball, while a development egg would include those. In other words, the maintainer of z3c.form (and I mean YOU, Stephan) should add a MANIFEST.in with the lines global-include *.txt and global-include *.zcml in it and re-roll the release. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c-form meta.zcml error
On Jan 23, 2008 1:20 PM, Roger Ineichen [EMAIL PROTECTED] wrote: Sorry about that... PhiliKON told me that this is fixed a couple month ago. That was the reason I tried to lay eggs again. But now it seems that we have rumbled eggs again. Seems that setuptools(?) is buggy and still doesn't work on a windows box. Philipp, right? Or do I need a patch? No, I see the exact same thing on Mac and Linux; you need to explicitly include .zcml and .txt files in MANIFEST.in; that file doesn't exist; just create one next to setup.py, and include 2 lines: global-include *.txt global-include *.zcml This'll include *all* text and zcml files recursively found from that directory. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
AW: [Zope3-Users] z3c-form meta.zcml error
Hi Martijn Betreff: Re: [Zope3-Users] z3c-form meta.zcml error On Jan 23, 2008 1:20 PM, Roger Ineichen [EMAIL PROTECTED] wrote: Sorry about that... PhiliKON told me that this is fixed a couple month ago. That was the reason I tried to lay eggs again. But now it seems that we have rumbled eggs again. Seems that setuptools(?) is buggy and still doesn't work on a windows box. Philipp, right? Or do I need a patch? No, I see the exact same thing on Mac and Linux; you need to explicitly include .zcml and .txt files in MANIFEST.in; that file doesn't exist; just create one next to setup.py, and include 2 lines: global-include *.txt global-include *.zcml This'll include *all* text and zcml files recursively found from that directory. Are you really sure? that's new to me and that isn't documented here: http://svn.zope.org/*checkout*/Sandbox/philikon/foundation/releasing-softwar e.txt Is this new or just a windows feature? And why does the eggs work on my windows machine without any issue? Note I just released like we did before, older tags do not contain such a MANIFEST.in file. Note my output looks like this and contains all *.zcml files etc. Also the zip or if I use --format=tar.gz contain the files. I guess they only get not extracted from the zip or tar.gz file. On my machine everyting is there and the eggs works like expected if the come form pypi ;-) -- D:\eggDev\z3c.form\tags\1.7.2python setup.py sdist running sdist running egg_info writing requirements to src\z3c.form.egg-info\requires.txt writing src\z3c.form.egg-info\PKG-INFO writing namespace_packages to src\z3c.form.egg-info\namespace_packages.txt writing top-level names to src\z3c.form.egg-info\top_level.txt writing dependency_links to src\z3c.form.egg-info\dependency_links.txt writing manifest file 'src\z3c.form.egg-info\SOURCES.txt' creating z3c.form-1.7.2 creating z3c.form-1.7.2\src creating z3c.form-1.7.2\src\z3c creating z3c.form-1.7.2\src\z3c.form.egg-info creating z3c.form-1.7.2\src\z3c\form creating z3c.form-1.7.2\src\z3c\form\browser creating z3c.form-1.7.2\src\z3c\form\tests copying files to z3c.form-1.7.2... copying AUTHOR.txt - z3c.form-1.7.2 copying CHANGES.txt - z3c.form-1.7.2 copying LICENSE.txt - z3c.form-1.7.2 copying README.txt - z3c.form-1.7.2 copying TODOS.txt - z3c.form-1.7.2 copying bootstrap.py - z3c.form-1.7.2 copying setup.py - z3c.form-1.7.2 copying src\z3c\__init__.py - z3c.form-1.7.2\src\z3c copying src\z3c.form.egg-info\PKG-INFO - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c.form.egg-info\SOURCES.txt - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c.form.egg-info\dependency_links.txt - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c.form.egg-info\namespace_packages.txt - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c.form.egg-info\not-zip-safe - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c.form.egg-info\requires.txt - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c.form.egg-info\top_level.txt - z3c.form-1.7.2\src\z3c.form.egg-info copying src\z3c\form\README.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\SETUP.cfg - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\__init__.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\action.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\action.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\adding.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\adding.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\button.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\button.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\compatibility.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\configure.zcml - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\converter.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\converter.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\datamanager.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\datamanager.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\error.pt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\error.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\error.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\field.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\field.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\form-graph.dot - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\form-graph.png - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\form-graph.ps - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\form.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\form.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\group.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\group.txt - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\i18n.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\interfaces.py - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\meta.zcml - z3c.form-1.7.2\src\z3c\form copying src\z3c\form\subform.py - z3c.form
Re: [Zope3-Users] z3c-form meta.zcml error
On Jan 23, 2008 2:04 PM, Roger Ineichen [EMAIL PROTECTED] wrote: No, I see the exact same thing on Mac and Linux; you need to explicitly include .zcml and .txt files in MANIFEST.in; that file doesn't exist; just create one next to setup.py, and include 2 lines: global-include *.txt global-include *.zcml This'll include *all* text and zcml files recursively found from that directory. Are you really sure? that's new to me and that isn't documented here: http://svn.zope.org/*checkout*/Sandbox/philikon/foundation/releasing-softwar e.txt Nope, it's a distutils feature: http://docs.python.org/dist/manifest.html Is this new or just a windows feature? And why does the eggs work on my windows machine without any issue? Did you release the egg from a SVN checkout, or a SVN export? I haven't experimented with this, but that's my current hypothesis, that setuptools behaves differently then; that or a dev egg has been created in a buildout and the .egg-info dir contains more information. Note I just released like we did before, older tags do not contain such a MANIFEST.in file. It's how I solved the same problem recently with the release of collective.captcha; the upload to pypi didn't have anything but the README.txt and the python code; other text files and zcml were missing. Note my output looks like this and contains all *.zcml files etc. Also the zip or if I use --format=tar.gz contain the files. I guess they only get not extracted from the zip or tar.gz file. On my machine everyting is there and the eggs works like expected if the come form pypi ;-) Perhaps there is something different going on then; as I stated, I saw what appears to be the same problem and it was solved by including a MANIFEST.in. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c-form meta.zcml error
On 23 Jan 2008, at 14:22 , Martijn Pieters wrote: On Jan 23, 2008 2:04 PM, Roger Ineichen [EMAIL PROTECTED] wrote: No, I see the exact same thing on Mac and Linux; you need to explicitly include .zcml and .txt files in MANIFEST.in; that file doesn't exist; just create one next to setup.py, and include 2 lines: global-include *.txt global-include *.zcml This'll include *all* text and zcml files recursively found from that directory. Are you really sure? that's new to me and that isn't documented here: http://svn.zope.org/*checkout*/Sandbox/philikon/foundation/releasing-softwar e.txt Nope, it's a distutils feature: http://docs.python.org/dist/manifest.html Yes, MANIFEST.in is a distutils feature. It's also described in my book, by the way. However, setuptools makes the usage of MANIFEST.in unnecessary when you're operating within a subversion checkout. In such a case, an egg will contain all files managed by subversion. Therefore, you should always create eggs from svn checkouts, never from svn exports. setuptools is smart enough to ignore '.svn' etc. The releasing- software.txt document outslines the correct procedure here, I think. I distinctly remember there being a Windows-related bug in setuptools, but IIRC, it was about line endings in one of the EGG-INFO files within ZIP files, or something like that. That one was fixed a while ago. Not sure whether it made it to an actual setuptools release, though. Btw, Windows users can generate standard tarballs using the --formats switch: python setup.py sdist --formats=gztar (see python setup.py sdist --help-formats). Since the code was checked on Windows, the source code and text files will have Windows line endings, though... :/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c-form meta.zcml error
On Jan 23, 2008 6:11 PM, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Yes, MANIFEST.in is a distutils feature. It's also described in my book, by the way. However, setuptools makes the usage of MANIFEST.in unnecessary when you're operating within a subversion checkout. In such a case, an egg will contain all files managed by subversion. Therefore, you should always create eggs from svn checkouts, never from svn exports. setuptools is smart enough to ignore '.svn' etc. The releasing- software.txt document outslines the correct procedure here, I think. Right, and I think that's actually a bad feature; it has caused quite some confusion for several developers, including myself. It means that setup.py silently works completely different when within or outside of a subversion working directory. -- Martijn Pieters ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] z3c-form meta.zcml error
On Wednesday 23 January 2008, Philipp von Weitershausen wrote: I distinctly remember there being a Windows-related bug in setuptools, but IIRC, it was about line endings in one of the EGG-INFO files within ZIP files, or something like that. That one was fixed a while ago. Not sure whether it made it to an actual setuptools release, though. Btw, Windows users can generate standard tarballs using the --formats switch: Yep, that worked. Roger forgot those options. I am going to release real tarballs today. As a general observation: Seeing so many people noticing the bad release right away makes me think that people are not using the KGS. I cannot stress enough, how good the KGS treats you, if you use it. ;-) Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: Fwd: [Zope3-Users] z3c-form meta.zcml error
On Wednesday 23 January 2008, Martijn Pieters wrote: On Jan 23, 2008 10:12 AM, Peter Koppatz [EMAIL PROTECTED] wrote: What has changed between 1.7.0 and 1.7.2? ls -al | wc -l 1.7.0 -- 76 1.7. 2 -- 47 there are no *-txt , *.zcml anymore! Someone must have built the release tarball from a fresh SVN export; setup.py does not include txt and zcml files and such by default when building a release tarball, while a development egg would include those. In other words, the maintainer of z3c.form (and I mean YOU, Stephan) should add a MANIFEST.in with the lines global-include *.txt and global-include *.zcml in it and re-roll the release. The problem are faulty ZIP files that do not open correctly in Linux. The ZCML and Text files are there, but are not extracted correctly by setuptools. Roger forgot to create the releases with the --format option. I have removed 1.7.1 and 1.7.2 from the repository and PyPI, because they were not bug fixes anyways, but new feature releases warranting a 1.8 release. I have uploaded the 1.8.0 release now to PyPI. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. Zope Stephan Richter ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users