[Yum] Re: about the urlgrabber

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Stenner <mstenner@xxxxxxxxxxxxxxx> writes:

> On Tue, Sep 07, 2004 at 11:24:44AM -0500, Harry Putnam wrote:
>> > 1) test it with urlgrabber directly.  Run "python" from the command
>> >    line and then type in these commands:
>> >
>> >>>> from urlgrabber.grabber import URLGrabber
>> >>>> g = URLGrabber()
>> >>>> g.urlgrab('ftp://username:passowrd@xxxxxxxxxx/path/to/file')
>> 
>> Michael, hope you are still with me... sorry to reply so late..
>
> I'm not going anywhere :)
>
>> I cannot get past the first line.  When I hit <ENTER> to add the next
>> line of input I get this error
>>   >>> from urlgrabber.grabber import URLGrabber
>>   Traceback (most recent call last):
>>     File "<stdin>", line 1, in ?
>>   ImportError: No module named urlgrabber.grabber
>
> Hmm.. ok
>
>   rpm -q fedora-release
>   rpm -q yum
>   rpm -qa python\*
>   rpm -ql yum | grep urlgrabber
>
>> Does something else need to be loaded first?  Or am I entering it
>> wrong"
>>  I typed `python' <ENTER>
>> from urlgrabber.grabber import URLGrabber <ENTER>
>
> No.  I think that should work.

  rpm -q fedora-release
fedora-release-2.90-3
==

  rpm -q yum
yum-2.1.3-1
==

  rpm -qa python\*
python-devel-2.3.4-6
python-2.3.4-6
== 

  rpm -ql yum | grep urlgrabber
/usr/lib/python2.3/site-packages/urlgrabber
/usr/lib/python2.3/site-packages/urlgrabber/__init__.py
/usr/lib/python2.3/site-packages/urlgrabber/byterange.py
/usr/lib/python2.3/site-packages/urlgrabber/grabber.py
/usr/lib/python2.3/site-packages/urlgrabber/keepalive.py
/usr/lib/python2.3/site-packages/urlgrabber/mirror.py
/usr/lib/python2.3/site-packages/urlgrabber/progress.py



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux