Home Download Buy Blog Forum Support

Things have been messed up, SublimeClang on Linux

Things have been messed up, SublimeClang on Linux

Postby dutt on Sun Apr 29, 2012 8:51 pm

So I've tried to get SublimeClang to work on Linux..and now things are weird. I used Package Control to install SublimeClang, followed these tips https://github.com/quarnster/SublimeCla ... nt-3976794 to get it working...aka.
copied the zip to a new name
built clang+llvm and copied libclang.so to the SublimeClang-folder under .config/sublimetext2/Packages
and then tried to start sublime.

And now no packages are working and my console keep spitting out
Code: Select all
AttributeError: 'module' object has no attribute 'on_modified'
AttributeError: 'module' object has no attribute 'on_selection_modified'
AttributeError: 'module' object has no attribute 'on_modified'
AttributeError: 'module' object has no attribute 'on_selection_modified'
AttributeError: 'module' object has no attribute 'on_modified'


The beginning of the log is a bit worrying though,
Code: Select all
Py_GetPath(): ./lib/python26.zip:./lib/python2.6/:./lib/python2.6/plat-linux2:./lib/python2.6/lib-tk:./lib/python2.6/lib-old:./lib/python2.6/lib-dynload
Py_GetPythonHome(): .
catalogue loaded
found 6 files for base name Default.sublime-keymap
found 2 files for base name Default.sublime-mousemap
found 5 files for base name Main.sublime-menu
Traceback (most recent call last):
  File "./sublime_plugin.py", line 1, in <module>
    import os


And this keep happening even if I restore the zipfile to the original name and remove the symlink.

So, two questions:
1) How do I get things working normally again?
2) How do I get SublimeClang working?
dutt
 
Posts: 14
Joined: Sat Apr 28, 2012 10:09 am

Return to Technical Support

Who is online

Users browsing this forum: kozie, Majestic-12 [Bot] and 30 guests