I had this same problem... used envy a few weeks ago and just updated to
gutsy.
Deleting the four spaces before DISABLED_MODULES="" fixed it for me,
too.
[EMAIL PROTECTED]:~$ sudo restricted-manager
Traceback (most recent call last):
File "/usr/bin/restricted-manager", line 646, in <module>
sys.exit(main(args, opts))
File "/usr/bin/restricted-manager", line 602, in main
handlers = get_handlers()
File "/usr/lib/python2.5/site-packages/RestrictedManager/core.py", line 452,
in get_handlers
specials = get_specials()
File "/usr/lib/python2.5/site-packages/RestrictedManager/core.py", line 411,
in get_specials
rm = __import__("RestrictedManager.%s" % name)
File "/usr/lib/python2.5/site-packages/RestrictedManager/lrm_driver.py", line
140, in <module>
LRMDriverHandler.load_lrmc_disabled()
File "/usr/lib/python2.5/site-packages/RestrictedManager/lrm_driver.py", line
86, in load_lrmc_disabled
if len(modules):
UnboundLocalError: local variable 'modules' referenced before assignment
--
restricted-manager crashed with UnboundLocalError in load_lrmc_disabled()
https://bugs.launchpad.net/bugs/122359
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs