ameyp / CscopeSublime

A Cscope plugin for Sublime Text 2 and 3
89 stars 37 forks source link

Cscope commands do not work in the Cscope output window #34

Closed octachrome closed 10 years ago

octachrome commented 11 years ago

It would be nice if you could run Cscope commands when looking at the output pane of the previous command you ran. I tried to do this and got confused because it fails silently with no error message.

In the Cscope output window, press Ctrl-\, select Lookup Symbol (or any other command) and press enter. Nothing happens, but the console shows this message:

Traceback (most recent call last): File "./sublimeplugin.py", line 356, in run File "./cscope.py", line 364, in run File "./cscope.py", line 315, in update_database File ".\posixpath.py", line 119, in dirname AttributeError: 'NoneType' object has no attribute 'rfind'

I am using Sublime 2.0.2, build 2221 on Ubuntu 12.04.2 LTS.

vanrijn commented 10 years ago

I believe this should be fixed now. Thanks for the bug report, @octachrome! Please let me know if you're still seeing this.