Incorrect variable in warning

Bug #273605 reported by Andreas Hasenack
2
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Undecided
Gustavo Niemeyer
Landscape Server
Fix Released
High
Gustavo Niemeyer
Smart Package Manager
Fix Released
Undecided
Gustavo Niemeyer
Suse
New
Undecided
Unassigned
smart (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

root@nsn2:~# smart update
Loading cache...
Traceback (most recent call last):
  File "/usr/bin/smart", line 195, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 168, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.5/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.5/site-packages/smart/commands/update.py", line 77, in main
    ctrl.reloadChannels()
  File "/usr/lib/python2.5/site-packages/smart/control.py", line 354, in reloadChannels
    if not channel.fetch(self._fetcher, progress):
  File "/usr/lib/python2.5/site-packages/smart/channels/apt_deb.py", line 220, in fetch
    "for channel '%s'") % (comp, self))
NameError: global name 'comp' is not defined

Changed in landscape:
importance: Undecided → High
milestone: none → thames-pre-9
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Pushed for the final thames milestone.

Changed in landscape:
milestone: thames-pre-9 → thames
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

That's being fixed with bug #279343

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

This issue has been fixed in Smart's trunk.

Changed in smart:
assignee: nobody → niemeyer
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package smart - 1.1.1~bzr20081010-0ubuntu0.8.10

---------------
smart (1.1.1~bzr20081010-0ubuntu0.8.10) intrepid; urgency=low

  * New upstream release (LP: #279343).
    - Fixed NameError during smart update (LP: #273605).
    - deb-non-interactive now implies dpkg --force-confold.
    - Fix some dependency resolution problems in some situations.
    - Rename test.py to test so it works in newer Python releases.
    - Make 404 error wording more consistent.

 -- Christopher Armstrong <email address hidden> Thu, 09 Oct 2008 16:33:31 -0400

Changed in smart:
status: New → Fix Released
Thomas Herve (therve)
Changed in landscape:
assignee: nobody → niemeyer
status: New → Fix Committed
Changed in landscape-client:
assignee: nobody → niemeyer
status: New → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released
Changed in landscape:
status: Fix Committed → Fix Released
Revision history for this message
Anders F Björklund (afb) wrote :

Was fixed in 1.1.1

Changed in smart:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.