SCIENTIFIC-LINUX-USERS Archives

February 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Wed, 27 Feb 2008 09:18:54 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (76 lines)
Hi,
I believe the problem is with the spaces.  I believe it is thinking that 
"file:///media/SL" is the first repository and then "5" is another, and so forth.

See if it helps if you change it from

   "file:///media/SL 5 Disc 1/"
to
   "file:///media/SL\ 5\ Disc\ 1/"

How did I get that?
Well, on the command line, if you partially type in a filename, or directory 
name, and then hit tab twice, it will fill in the name of the filename if it can.
So I typed
  "/media/SL"
and then hit tab twice and it filled it in with
   "file:///media/SL\ 5\ Disc\ 1/"

I hope this helps.
Troy

Ricardo Franklin Mergarejo wrote:
> Hi Connie
> 
>> What error do you get?  Send the contents of myrepo.repo.
> ________________________________________________________________________
> Component: Software Manager
> Summary: TBfa533769 config.py:75:__set__:ValueError: Error parsing
> 'file:///media/SL 5 Disc 1/': URL must be http, ftp, file or https not
> ""
> 
> Traceback (most recent call last):
>   File "/usr/sbin/pirut", line 453, in ?
>     main()
>   File "/usr/sbin/pirut", line 446, in main
>     pm = PackageManager(options.config)
>   File "/usr/sbin/pirut", line 60, in __init__
>     GraphicalYumBase.__init__(self, False, config)
>   File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 122,
> in __init__
>     plugin_types=(yum.plugins.TYPE_CORE,))
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 134, in
> doConfigSetup
>     self.getReposFromConfig()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 194, in
> getReposFromConfig
>     thisrepo = self.readRepoConfig(parser, section)
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 216, in
> readRepoConfig
>     repo.populate(parser, section, self.conf)
>   File "/usr/lib/python2.4/site-packages/yum/config.py", line 371, in
> populate
>     setattr(self, name, value)
>   File "/usr/lib/python2.4/site-packages/yum/config.py", line 75, in
> __set__
>     raise ValueError('Error parsing %r: %s' % (value, str(e)))
> ValueError: Error parsing 'file:///media/SL 5 Disc 1/': URL must be
> http, ftp, file or https not ""
> 
> Local variables in innermost frame:
> obj: S5-media
> self: <yum.config.UrlListOption object at 0x8e5b3ac>
> e: URL must be http, ftp, file or https not ""
> value: file:///media/SL 5 Disc 1/
> _____________________________________________________________________________
> 
> This kind of message is what obtain when I try to add new software using
> the package manager


-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2