Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

Annoying: Download error: unknown url type: svn -- Some packages may not be found!

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


fairwinds at eastlink

Apr 16, 2008, 9:04 AM

Post #1 of 8 (451 views)
Permalink
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
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


dev at projekt01

Apr 16, 2008, 10:49 AM

Post #2 of 8 (425 views)
Permalink
AW: Annoying: Download error: unknown url type: svn -- Some packages may not be found! [In reply to]

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[at]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 )
>

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


fairwinds at eastlink

Apr 16, 2008, 12:15 PM

Post #3 of 8 (425 views)
Permalink
Re: AW: Annoying: Download error: unknown url type: svn -- Some packages may not be found! [In reply to]

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[at]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[at]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 )
>>
>
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


jim at zope

Apr 16, 2008, 12:18 PM

Post #4 of 8 (425 views)
Permalink
Re: AW: Annoying: Download error: unknown url type: svn -- Some packages may not be found! [In reply to]

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


_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


novotny.radim at gmail

May 6, 2008, 11:10 PM

Post #5 of 8 (274 views)
Permalink
Re: AW: Annoying: Download error: unknown url type: svn -- Some packages may not be found! [In reply to]

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

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


m.van.rees at zestsoftware

May 7, 2008, 2:17 AM

Post #6 of 8 (270 views)
Permalink
Re: AW: Annoying: Download error: unknown url type: svn -- Some packages may not be found! [In reply to]

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]

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


dev at projekt01

May 7, 2008, 3:45 AM

Post #7 of 8 (265 views)
Permalink
AW: Re: AW: Annoying: Download error: unknown url type: svn-- Some packages may not be found! [In reply to]

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:
>
> http://pypi.python.org/simple/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[at]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 )
>

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )


agroszer at gmail

May 7, 2008, 4:09 AM

Post #8 of 8 (265 views)
Permalink
Re: AW: Re: AW: Annoying: Download error: unknown url type: svn-- Some packages may not be found! [In reply to]

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:
>>
>> http://pypi.python.org/simple/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[at]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[at]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[at]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

_______________________________________________
Zope-Dev maillist - Zope-Dev[at]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 )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.