Sublime Forum

Ubuntu 16 Sublime text 3 Slow

#1

Hi All,

Anyone has any ideas why Ubuntu 16 sublime text 3 is so slow. I noticed it seems to have an issue when I install the anaconda package.

reloading settings Packages/User/Package Control.sublime-settings reloading settings Packages/User/Preferences.sublime-settings reloading settings Packages/User/Preferences.sublime-settings ERROR:root:error detected while connecting with JsonServer!python interpreter: pythonconnecting port: 45336check https://github.com/DamnWidget/anaconda/wiki/Connection-Refused-Information ERROR:root:[Errno 111] Connection refused ERROR:root:Traceback (most recent call last): File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/worker.py", line 191, in start self.client = AsynClient(self.available_port) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jsonclient.py", line 38, in __init__ EventHandler.__init__(self, (host, port)) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/ioloop.py", line 107, in __init__ self.sock.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ERROR:root:error detected while connecting with JsonServer!python interpreter: pythonconnecting port: 45336check https://github.com/DamnWidget/anaconda/wiki/Connection-Refused-Information ERROR:root:[Errno 111] Connection refused ERROR:root:Traceback (most recent call last): File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/worker.py", line 191, in start self.client = AsynClient(self.available_port) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jsonclient.py", line 38, in __init__ EventHandler.__init__(self, (host, port)) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/ioloop.py", line 107, in __init__ self.sock.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ERROR:root:error detected while connecting with JsonServer!python interpreter: pythonconnecting port: 45336check https://github.com/DamnWidget/anaconda/wiki/Connection-Refused-Information ERROR:root:[Errno 111] Connection refused ERROR:root:Traceback (most recent call last): File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/worker.py", line 191, in start self.client = AsynClient(self.available_port) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jsonclient.py", line 38, in __init__ EventHandler.__init__(self, (host, port)) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/ioloop.py", line 107, in __init__ self.sock.connect(address) ConnectionRefusedError: [Errno 111] Connection refused ERROR:root:error detected while connecting with JsonServer!python interpreter: pythonconnecting port: 45336check https://github.com/DamnWidget/anaconda/wiki/Connection-Refused-Information ERROR:root:[Errno 111] Connection refused ERROR:root:Traceback (most recent call last): File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/worker.py", line 191, in start self.client = AsynClient(self.available_port) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jsonclient.py", line 38, in __init__ EventHandler.__init__(self, (host, port)) File "/home/nhial/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/ioloop.py", line 107, in __init__ self.sock.connect(address) ConnectionRefusedError: [Errno 111] Connection refused

0 Likes

#2

Found the problem, it seems that on Xubuntu 16, I need to run it as root in order for the Jsonserver errors shown above not to appear. When running as root, everything works great and anaconda is not slowing down anything.

0 Likes

#3

This is not right ways to run sublime.

However, I take your hint and able to diagnose the issues here :

due to some strange reason, ~/.cache/jedi/anaconda-2/anaconda_jsonserver.log ownership changed to root. That cause anaconda to crash when sublime start using normal user.

Change the log file ownership fix the issue.

0 Likes