Sublime Forum

Dev Build 3022

#41

The same problem
prntscr.com/1t7a1x

0 Likes

#42

At least it doesn’t crash for you.

0 Likes

#43

It appears that the SublimeLinter plugin still does not work with this version.

reloading plugin SublimeLinter-sublime-text-3.SublimeLinter Traceback (most recent call last): File "F:\Portable Apps\ST3Dev\sublime_plugin.py", line 73, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/__init__.py", line 88, in import_module File "<frozen importlib._bootstrap>", line 1577, in _gcd_import File "<frozen importlib._bootstrap>", line 1558, in _find_and_load File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper File "<frozen importlib._bootstrap>", line 1023, in load_module File "<frozen importlib._bootstrap>", line 1004, in load_module File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper File "<frozen importlib._bootstrap>", line 869, in _load_module File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed File "F:\Portable Apps\ST3Dev\Data\Packages\SublimeLinter-sublime-text-3\SublimeLinter.py", line 23, in <module> MOD_LOAD = Loader(PLUGIN_PATH, LINTERS) # utility to load (and reload File "F:\Portable Apps\ST3Dev\Data\Packages\SublimeLinter-sublime-text-3\sublimelinter\loader.py", line 28, in __init__ self.load_all() File "F:\Portable Apps\ST3Dev\Data\Packages\SublimeLinter-sublime-text-3\sublimelinter\loader.py", line 57, in load_all self.load_module(name) File "F:\Portable Apps\ST3Dev\Data\Packages\SublimeLinter-sublime-text-3\sublimelinter\loader.py", line 67, in load_module __import__(fullmod) ImportError: No module named 'SublimeLinter'

0 Likes

#44

I’d have to check the source, but I guess that you have to rename the package folder from “SublimeLinter-sublime-text-3” to “SublimeLinter” because the package name is hard coded.

0 Likes

#45

Searching 95 files for "SublimeLinter-sublime-text-3" 0 matches across 0 files
I will continue experimenting. :smile:

EDIT: I found. When I got the zip file from github, the folder was named “SublimeLinter-sublime-text-3”. I renamed it to sublimeLinter and it now works. However, xmllint still refuses to work:

reloading plugin xmllint.xmllint
Traceback (most recent call last):
  File "F:\Portable Apps\Sublime Text 3_old\sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "F:\Portable Apps\Sublime Text 3_old\sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "xmllint in F:\Portable Apps\Sublime Text 3_old\Data\Installed Packages\xmllint.sublime-package", line 187
    print 'Wrong view for %s, skipping marks' % error[0]
                                            ^
SyntaxError: invalid syntax
0 Likes

#46

[quote=“Voaxeyr”]However, xmllint still refuses to work:

reloading plugin xmllint.xmllint Traceback (most recent call last): File "F:\Portable Apps\Sublime Text 3_old\sublime_plugin.py", line 73, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/__init__.py", line 88, in import_module File "<frozen importlib._bootstrap>", line 1577, in _gcd_import File "<frozen importlib._bootstrap>", line 1558, in _find_and_load File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked File "F:\Portable Apps\Sublime Text 3_old\sublime_plugin.py", line 671, in load_module exec(compile(source, source_path, 'exec'), mod.__dict__) File "xmllint in F:\Portable Apps\Sublime Text 3_old\Data\Installed Packages\xmllint.sublime-package", line 187 print 'Wrong view for %s, skipping marks' % error[0] ^ SyntaxError: invalid syntax [/quote]

xmllint uses Python code that is not compatible with Python 3, and thus also not compatible with ST3. You have to search for an update or, if there is none, update it yourself (but judging by your problem you probably don’t know how to do this). Otherwise it won’t work.

0 Likes

#47

All sorted now. I’m still learning how Package control works (and ST in general) and I had to point ST3 where my git binary was since I am using portablegit. once I did this, I used the “upgrade/overwrite all package” option and restarted ST3. There must have been a recent for SublimeLinter and I missed it. :blush:

P.S. For the record, yes, I’m aware that Python 2 and 3 are incompatible. :wink:

0 Likes