JulianEberius / SublimeRope

ST2 only, use SublimePythonIDE with ST3: Adds Python completions and some IDE-like functions to Sublime Text 2, through the use of the Rope library
GNU General Public License v2.0
250 stars 26 forks source link

Show documentation fail with exception #58

Open ntcong opened 11 years ago

ntcong commented 11 years ago

Whenever I use show documentation with SublimeRope, I see this in the console

Traceback (most recent call last): File "./sublimeplugin.py", line 362, in run File "./sublime_rope.py", line 532, in run maxfixes=3) File "./rope/contrib/codeassist.py", line 63, in get_doc File "./rope/contrib/codeassist.py", line 514, in get_doc File "./rope/contrib/codeassist.py", line 552, in _get_function_docstring File "./rope/contrib/codeassist.py", line 572, in _get_super_methods File "./rope/contrib/codeassist.py", line 567, in _get_super_methods AttributeError: 'PyObject' object has no attribute 'get_superclasses'

SublimeRope can go to definition just fine, but show documentation cannot work. I'm using Linux, Python 2.7.3 and Sublime Text 2217