Sublime Forum

Things have been messed up, SublimeClang on Linux

#1

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 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

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,

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?
0 Likes