[Yum] Re: about the urlgrabber

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

 



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.

> > 2) Try your url with another client.  I know the same syntax won't
> >    work, so remove the username:password part and just enter them the way
> >    that client expects you to.
> 
> The url scheme works ok with ncftp:
> ncftp -u xxxxx -p xxxxx ftp://reader.local.net0:~/no_bak/fedraw
> 
> Lands me inside the /home/reader/no_bak/fedraw directory which is 
> really a symlink to /mnt/pack/fedraw

Ok.  That's good information.  It could still be ftplib being dumb.
When we get direct access to urlgrabber working (above), then try some
different paths - ones without symlinks, etc.

					-Michael
-- 
  Michael D. Stenner                            mstenner@xxxxxxxxxxxxxxx
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G

[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