[Bug 428150] New: nonexisting commands lead inevitably to traceback
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=428150 Summary: nonexisting commands lead inevitably to traceback Product: openSUSE 11.1 Version: Beta 1 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: fmfischer@gmx.net QAContact: qa@suse.de Found By: Beta-Customer Whenever a command cannot be found one get lines of traceback: mifi@oldsure:~> cba Traceback (most recent call last): File "/usr/bin/command-not-found", line 8, in <module> import scout File "./scout/__init__.py", line 941, in <module> ScoutCore.load_modules() File "./scout/__init__.py", line 910, in load_modules cls.ml = ModuleLoader(Config.module_path) File "./scout/__init__.py", line 352, in __init__ if dirs != None: self.import_from(dirs) File "./scout/__init__.py", line 359, in import_from self._import(dir) File "./scout/__init__.py", line 375, in _import self._not_imported_modules.append((name, ierr.message)) NameError: global name 'name' is not defined or mifi@oldsure:~> lfpt Traceback (most recent call last): File "/usr/bin/command-not-found", line 8, in <module> import scout File "./scout/__init__.py", line 941, in <module> ScoutCore.load_modules() File "./scout/__init__.py", line 910, in load_modules cls.ml = ModuleLoader(Config.module_path) File "./scout/__init__.py", line 352, in __init__ if dirs != None: self.import_from(dirs) File "./scout/__init__.py", line 359, in import_from self._import(dir) File "./scout/__init__.py", line 375, in _import self._not_imported_modules.append((name, ierr.message)) NameError: global name 'name' is not defined -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=428150
User stbinner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=428150#c1
Stephan Binner
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=428150
User prusnak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=428150#c2
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com