Annoying: Download error: unknown url type: svn -- Some packages may not be found!
Which package is emitting the Download error: unknown url type: svn -- Some packages may not be found! Its quite annoying and I have been seeing it crop up in a few builds. Anyone else seeing this. Many thanks. Regards, David
Hi David
Betreff: [Zope-dev] Annoying: Download error: unknown url type: svn -- Some packages may not be found!
Which package is emitting the Download error: unknown url type: svn -- Some packages may not be found! Its quite annoying and I have been seeing it crop up in a few builds. Anyone else seeing this. Many thanks.
I see this too. Try the buildout debug option, probably this will you give a better output. Regards Roger Ineichen _____________________________ END OF MESSAGE
Regards, David _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Hi Roger. I turned on debug and increased verbosity. z3c.template and z3c.form seem to be the culprits. Getting 4 of these warnings on z3c.template and 1 with z3c.form between the getting ... and picked ... notices. Not quite sure why they are emitting the warnings. Can't find the error in buildout so must be in setuptools somewhere. I would expect to see an svn address in setup.py or something based on what message is saying - nothing like this that I can see. This was reported on the zope users list without a response a little while back as well: http://www.mail-archive.com/zope3-users@zope.org/msg06448.html Regards, David Roger Ineichen wrote:
Hi David
Betreff: [Zope-dev] Annoying: Download error: unknown url type: svn -- Some packages may not be found!
Which package is emitting the Download error: unknown url type: svn -- Some packages may not be found! Its quite annoying and I have been seeing it crop up in a few builds. Anyone else seeing this. Many thanks.
I see this too. Try the buildout debug option, probably this will you give a better output.
Regards Roger Ineichen _____________________________ END OF MESSAGE
Regards, David _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
On Apr 16, 2008, at 1:49 PM, Roger Ineichen wrote:
Hi David
Betreff: [Zope-dev] Annoying: Download error: unknown url type: svn -- Some packages may not be found!
I'm against using subversion URLs in buildouts. Be that as it may....
Which package is emitting the Download error: unknown url type: svn -- Some packages may not be found! Its quite annoying and I have been seeing it crop up in a few builds. Anyone else seeing this. Many thanks.
Unfortunately, setuptools and urllib2 are often not very helpful with the exceptions that raise. By the time buildout gets an exception, the useful information is often not available.
I see this too. Try the buildout debug option, probably this will you give a better output.
Yup. You'll actually get a traceback and you can get into pdb and see what URL is being fetched. You can also try using the -v option to see what package is being loaded when the error occurs. I encourage you to report miss-raised exceptions to the responsible party. For example, I expect that you'll find that the URL is knows to setuptools and that you can submit a setuptools bug to include the URL in the exception. (Of course, if buildout can generate a more helpful error, I'd be happy to fix it.) Jim -- Jim Fulton Zope Corporation
Roger Ineichen napsal(a):
Hi David
Betreff: [Zope-dev] Annoying: Download error: unknown url type: svn -- Some packages may not be found!
Which package is emitting the Download error: unknown url type: svn -- Some packages may not be found! Its quite annoying and I have been seeing it crop up in a few builds. Anyone else seeing this. Many thanks.
I see this too. Try the buildout debug option, probably this will you give a better output.
I have got the same error today. buildout -vvvv was not sufficient so I added print output to setuptools/package_index.py and discovered this message is caused by z3c.form: Getting required 'z3c.form' required by plone.z3cform 0.1b2. Reading http://pypi.python.org/simple/z3c.form/ Reading svn://svn.zope.org/repos/main/z3c.form Download error: unknown url type: svn -- Some packages may not be found! Reading http://svn.zope.org/z3c.form We have the best distribution that satisfies 'z3c.form'. Adding find link 'http://download.zope.org/distribution' from z3c.form 1.8.2 Picked: z3c.form = 1.8.2 -- Radim Novotny
Radim Novotny, on 2008-05-07:
Roger Ineichen napsal(a):
Hi David
Betreff: [Zope-dev] Annoying: Download error: unknown url type: svn -- Some packages may not be found!
Which package is emitting the Download error: unknown url type: svn -- Some packages may not be found! Its quite annoying and I have been seeing it crop up in a few builds. Anyone else seeing this. Many thanks.
I see this too. Try the buildout debug option, probably this will you give a better output.
I have got the same error today. buildout -vvvv was not sufficient so I added print output to setuptools/package_index.py and discovered this message is caused by z3c.form:
The same happens for lovely.recipe: http://pypi.python.org/simple/lovely.recipe What is considered to be good practice here? For example this is in the setup.py of grokproject: url='https://launchpad.net/grok', download_url='svn://svn.zope.org/repos/main/grokproject/trunk#egg=grokproject-dev', Looking at the simple cheese shop page: http://pypi.python.org/simple/grokproject I see that the home page url for all released versions is the launchpad url which is probably fine. But the download url is also the same for every release that I checked, namely the trunk#egg, which does not look like a good idea. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl]
Hi
Betreff: [Zope-dev] Re: AW: Annoying: Download error: unknown url type: svn-- Some packages may not be found!
[...]
I have got the same error today. buildout -vvvv was not sufficient so I added print output to setuptools/package_index.py and discovered this message is caused by z3c.form:
The same happens for lovely.recipe:
I had no time to take a closer look at that. But I guess it's the lovely.recipe which forces to return the svn-- message. Regards Roger Ineichen
What is considered to be good practice here? For example this is in the setup.py of grokproject:
url='https://launchpad.net/grok',
download_url='svn://svn.zope.org/repos/main/grokproject/trunk# egg=grokproject-dev',
Looking at the simple cheese shop page:
http://pypi.python.org/simple/grokproject
I see that the home page url for all released versions is the launchpad url which is probably fine. But the download url is also the same for every release that I checked, namely the trunk#egg, which does not look like a good idea.
-- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl]
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Hello Roger, Might be, lovely.recipe's pypi page looks like: Author: Lovely Systems <office at lovelysystems com> Home Page: svn://svn.zope.org/repos/main/lovely.recipe Keywords: buildout recipe filesystem i18n importchecker License: ZPL 2.1 Package Index Owner: batlogg I guess the Home Page makes it crazy. Wednesday, May 7, 2008, 12:45:59 PM, you wrote: RI> Hi
Betreff: [Zope-dev] Re: AW: Annoying: Download error: unknown url type: svn-- Some packages may not be found!
RI> [...]
I have got the same error today. buildout -vvvv was not sufficient so I added print output to setuptools/package_index.py and discovered this message is caused by z3c.form:
The same happens for lovely.recipe:
RI> I had no time to take a closer look at that. But I guess RI> it's the lovely.recipe which forces to return the RI> svn-- message. RI> Regards RI> Roger Ineichen
What is considered to be good practice here? For example this is in the setup.py of grokproject:
url='https://launchpad.net/grok',
download_url='svn://svn.zope.org/repos/main/grokproject/trunk# egg=grokproject-dev',
Looking at the simple cheese shop page:
http://pypi.python.org/simple/grokproject
I see that the home page url for all released versions is the launchpad url which is probably fine. But the download url is also the same for every release that I checked, namely the trunk#egg, which does not look like a good idea.
-- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl]
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
RI> _______________________________________________ RI> Zope-Dev maillist - Zope-Dev@zope.org RI> http://mail.zope.org/mailman/listinfo/zope-dev RI> ** No cross posts or HTML encoding! ** RI> (Related lists - RI> http://mail.zope.org/mailman/listinfo/zope-announce RI> http://mail.zope.org/mailman/listinfo/zope ) -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: People in distress will sometimes prefer a problem that is familiar to a solution that is not. - Neil Postman
participants (6)
-
Adam GROSZER -
David Pratt -
Jim Fulton -
Maurits van Rees -
Radim Novotny -
Roger Ineichen