Bug 428150 - nonexisting commands lead inevitably to traceback
Summary: nonexisting commands lead inevitably to traceback
Status: RESOLVED DUPLICATE of bug 427778
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: i686 SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-21 03:53 UTC by Frank-Michael Fischer
Modified: 2008-09-23 11:49 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank-Michael Fischer 2008-09-21 03:53:04 UTC
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
Comment 1 Stephan Binner 2008-09-21 04:57:22 UTC

*** This bug has been marked as a duplicate of bug 428105 ***
Comment 2 Pavol Rusnak 2008-09-23 11:49:35 UTC

*** This bug has been marked as a duplicate of bug 427778 ***