[gutsy] restricted manager fails to start with TypeError: 'property' object is not callable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
restricted-manager (Ubuntu) |
Incomplete
|
Undecided
|
Tommaso R. Donnarumma |
Bug Description
Binary package hint: restricted-manager
when i start restricted-manager, nothing happens in GNOME, at commandline output is the following:
christian@gimli:~$ restricted-manager
Traceback (most recent call last):
File "/usr/bin/
rm = RestrictedManager()
File "/usr/lib/
RestrictedM
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
handlers = sorted(
File "/usr/lib/
handlers = sorted(
File "/usr/lib/
return DriverHandler.
TypeError: 'property' object is not callable
Python error?
Since this is python, the source code is included. You'll find that if you edit the source. I think this error is generated because the code attempts to call a function that does not exist (DriverHandler. description( self)). The error tells us that DriverHanlder. description is a "property" not a callable function. So, open your favorite editor, go to line 28 of /usr/lib/ python2. 5/site- packages/ RestrictedManag er/handlers/ lrm_driver. py and change:
return DriverHandler. description( self)
to
return DriverHanlder. description
Make sure not to change the indentation. It matters in python.
Worked for me. Good luck!