ameyp / CscopeSublime

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

CscopeSublimeWorker error when looking up symbols in Sublime Text 2 #26

Closed Daedrus closed 7 years ago

Daedrus commented 11 years ago

I get this whenever I try to look something up:

Traceback (most recent call last): File ".\cscope.py", line 334, in File ".\cscope.py", line 341, in update_status AttributeError: 'CscopeSublimeWorker' object has no attribute 'output'

vanrijn commented 11 years ago

Hi there. Which version of Sublime Text are you using?

Daedrus commented 11 years ago

Version 2.0.1, Build 2217.

Daedrus commented 11 years ago

Also, I am running on Windows 7 x64. Let me know if you need more information.

ameyp commented 11 years ago

Thanks for reporting this, could you please also paste the console output here? You can access the console by press Ctrl+` or Ctrl+~

ckirsch commented 11 years ago

@ameyp, let me pick up here. I am getting the same error on a Mac OS 10.8.4 system with Sublime 2 when hitting super+l, super+s (using your cscope package of today):

theme loaded app ready pre session restore time: 0.371107 Loading dictionary Packages/Language - English/en_US.dic using gamma: 2 (err: 6.9282) wrote startup cache, added files: 4 orphaned files: 0 total files: 108 cache hits: 104 startup time: 0.676641 (package setup was not run) loaded 917 snippets Package Control: Skipping automatic upgrade, last run at 2013-08-15 10:24:11, next run at 2013-08-15 11:24:11 or after add_to_history ([], []) Exception in thread Thread-17: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in bootstrap_inner self.run() File "./cscope.py", line 251, in run File "./cscope.py", line 224, in run_cscope File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

Traceback (most recent call last): File "./cscope.py", line 337, in File "./cscope.py", line 344, in update_status AttributeError: 'CscopeSublimeWorker' object has no attribute 'output'

vanrijn commented 8 years ago

Hey guys, sorry there hasn't been any activity on this. I don't have a Windows environment or anything older than OS X 10.11. It seems that there's 2 things here:

1) OS (Windows 7 and OS X 10.8.4) 2) Sublime Text 2

I don't have any of these things. I'm more than willing to look at patches to address this, but I don't have anything in place right now to try to help.

The effort and work it took to move from Sublime Text 2 to Sublime Text 3 was definitely non-trivial. Are you guys able to try CscopeSublime with Sublime Text 3 in your current OS'es and see if this problem still exists? I'm guessing the problem is ST2-related.

If you could try ST3 and see if the problem is solved, maybe that's a good enough solution? I don't think we were planning on supporting ST2 anymore going forward, to be honest. Or at least I wasn't.

Please let me know what you think. Thanks!

vanrijn commented 7 years ago

Ok, I'm going to close this. I haven't gotten any help on this in more than a year and I'd encourage people to use ST3 rather than ST2 anyway.