[Yum] error compiling yum source

Seth Vidal skvidal at fedoraproject.org
Mon Mar 16 17:07:27 UTC 2009



On Mon, 16 Mar 2009, pranjal pandit wrote:

> hello,
> I am encountering an error compiling yum source, 3.2.X Branch - yum-3_2_X.
> i used command in /yum:  ./yummain install sip
>
>
> error:
> Setting up Install Process
> Parsing package install arguments
> Traceback (most recent call last):
> File "./yummain.py", line 236, in <module>
>   user_main(sys.argv[1:], exit_code=True)
> File "./yummain.py", line 229, in user_main
>   errcode = main(args)
> File "./yummain.py", line 104, in main
>   result, resultmsgs = base.doCommands()
> File "/home/pranjal/yum/yum/cli.py", line 344, in doCommands
>   return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
> self.extcmds)
> File "/home/pranjal/yum/yum/yumcommands.py", line 175, in doCommand
>   return base.installPkgs(extcmds)
> File "/home/pranjal/yum/yum/cli.py", line 576, in installPkgs
>   self.install(pattern=arg)
> File "/home/pranjal/yum/yum/yum/__init__.py", line 2592, in install
>   continue
> NameError: global name 'tx_return' is not defined


how are you getting this error? where tx_return is being extended is 
inside the for loop that is immediately preceded by:
tx_return = []


-sv




More information about the Yum mailing list