anaconda
anaconda copied to clipboard
anaconda stops working after while
Expected Behaviour
ctrl + Alt + D (Display Objects docs) should work
Actual Behaviour
ctrl + Alt + D (Display Objects docs) it worked
then
ctrl + alt + F (find usages) it worked
then
ctrl + Alt + D (Display Objects docs) stopped working
Steps to Reproduce
ST3, Anaconda and OS versions
anaconda version 2.1.25
ST3 Console Logs
whenever i press ctrl + Alt + D is shows but nothing happens
anacondaST3: Project or interpreter switch detected...
anacondaST3: Project or interpreter switch detected...
Anaconda's JsonServer Logs
Note: Anaconda's JsonServer logs can be found in:
- Linux: ~/.local/share/anaconda/logs
2018-03-12 17:02:44,555: DEBUG : bind: address=/home/simha/.local/share/anaconda/run/btg_email_login/anaconda.sock
2018-03-12 17:02:44,556: DEBUG : listen: backlog=5
2018-03-12 17:02:44,556: INFO : Anaconda Server started in /home/simha/.local/share/anaconda/run/btg_email_login/anaconda.sock for PID 29933 with cache dir /home/simha/.cache/jedi/btg_email_login and extra paths /home/web_dev/btgapp_from_server/btg_email_login
2018-03-12 17:02:44,602: INFO : Incomming connection from b''
2018-03-12 17:02:44,603: INFO : Incomming connection from b''
2018-03-12 17:02:44,606: INFO : client requests: lint
2018-03-12 17:02:44,621: INFO : client requests: lint
2018-03-12 17:02:44,636: INFO : client requests: lint
2018-03-12 17:02:44,833: INFO : client requests: lint
2018-03-12 17:02:44,851: INFO : client requests: lint
2018-03-12 17:03:24,932: INFO : client requests: lint
2018-03-12 17:03:29,220: INFO : client requests: lint
2018-03-12 17:03:29,237: INFO : client requests: goto
2018-03-12 17:03:29,381: INFO : client requests: lint
2018-03-12 17:03:29,463: INFO : client requests: lint
2018-03-12 17:03:34,734: INFO : client requests: lint
2018-03-12 17:03:36,190: INFO : client requests: lint
2018-03-12 17:03:41,541: INFO : client requests: lint
2018-03-12 17:03:41,558: INFO : client requests: usages
2018-03-12 17:03:43,909: DEBUG : bind: address=/home/simha/.local/share/anaconda/run/btg_email_login/anaconda.sock
2018-03-12 17:03:43,909: DEBUG : listen: backlog=5
2018-03-12 17:03:43,909: INFO : Anaconda Server started in /home/simha/.local/share/anaconda/run/btg_email_login/anaconda.sock for PID 29933 with cache dir /home/simha/.cache/jedi/btg_email_login and extra paths /home/web_dev/btgapp_from_server/btg_email_login
2018-03-12 17:03:43,986: INFO : Incomming connection from b''
2018-03-12 17:03:43,987: INFO : Incomming connection from b''
- OS X: ~/Library/Logs/anaconda
- Windows: %APPDATA\Anaconda\Logs
What is the content of your /etc/hosts
file?
How is it related to the problem. the contents of etc/hosts are as below
127.0.0.1 localhost
127.0.0.1 gauranga
Looks like ST3 is reconnecting to the anaconda server, anaconda is a server-client architecture that is why I am asking about your hosts file.
I am not sure, there is nothing in the logs except the multiple re-connections that could happen because inactivity reached max time.
Pre: (user-settings) "anaconda_linting_behaviour": "load-save" Anaconda v2.1.26
In my case steps are as follows:
- Open sublime with project and multiple py-files in tabs
- Edit file.
- Press Ctrl+S (save file)
- Close file
- Ctrl + P (go to anything pane) and type in same file name as closed in previous step. Pick that file.
- Edit file.
- Press Ctrl+S
Actual behaviour: 2. Anaconda logs appear:
2018-05-16 01:03:26,302: DEBUG : bind: address=/home/user/.local/share/anaconda/run/box/anaconda.sock
2018-05-16 01:03:26,302: DEBUG : listen: backlog=5
2018-05-16 01:03:26,302: INFO : Anaconda Server started in /home/user/.local/share/anaconda/run/box/anaconda.sock for PID 12650 with cache dir /home/user/.cache/jedi/box and extra paths /home/user/code/python/Box
2018-05-16 01:03:26,305: INFO : Incomming connection from ''
2018-05-16 01:03:26,305: INFO : Incomming connection from ''
2018-05-16 01:03:26,307: INFO : client requests: doc
2018-05-16 01:03:26,793: INFO : client requests: doc
- Linter marks appear. And anaconda logs:
2018-05-16 01:05:54,151: INFO : client requests: lint
- Anaconda logs:
2018-05-16 01:07:32,338: DEBUG : bind: address=/home/user/.local/share/anaconda/run/box/anaconda.sock
2018-05-16 01:07:32,338: DEBUG : listen: backlog=5
2018-05-16 01:07:32,338: INFO : Anaconda Server started in /home/user/.local/share/anaconda/run/box/anaconda.sock for PID 12650 with cache dir /home/user/.cache/jedi/box and extra paths /home/user/code/python/Box
2018-05-16 01:07:32,339: INFO : Incomming connection from ''
2018-05-16 01:07:32,340: INFO : Incomming connection from ''
- No linter marks appear. No new messages in anaconda log.
Note: No server shutdown messages appear before step 7. And according to log records it appears that server starts twice.