Comments (14)
daemon write logs to daemon.log
file, and if too be true, I have no idea where this file is on the windows :(
Also sublime text console should contains error too.
I'll try to run it on windows, maybe I could got something about this situation
from sublimejedi.
Thanks,
The console doesn't show anything. I understand this is hard to debug, without better informations, but really I don't know where to find them, if any.
May a firewall interfere with this plugin? it did with some others I tried.
from sublimejedi.
I have found the deamon.log file, this is the error I get, using Sublime Text 2:
2013-08-12 14:37:07,917: INFO : started. cache directory - C:\Users\daniele.niero.LOST_BOYS_GAMES\AppData\Roaming\Jedi\Jedi\UserFiles, extra folders - ['D:/dev/KZ4/Tools/kin/PythonTools', 'D:/dev/KZ4/Tools/MayaTools/Guerrilla/Tools', 'D:/dev/KZ4/Tools/MayaTools/3rdParty/Python/Lib/site-packages'], complete_function_params - all
2013-08-12 14:37:07,934: ERROR : failed to process line
Traceback (most recent call last):
File "jedi_daemon.py", line 295, in
process_line(line)
File "jedi_daemon.py", line 234, in process_line
action_type: JediFacade(**data).get(action_type)
TypeError: init() keywords must be strings
from sublimejedi.
@daniele-niero could you insert print statement just before that line?
@srusskih why do we need a facade
in the first place here? :)
from sublimejedi.
@krya I did manually delete anything in the log file and then tried SublimeJedi again. That was the only lines there were in the log at that point.
from sublimejedi.
I found what is the issue: SublimeJedi is not compatible with Python 2.6 (or any one prior python 2.7)
Unfortunately Python 2.6 is still alive and used.
from sublimejedi.
Ok. Could you please write some notes about this, please?
from sublimejedi.
The python I'm usign is python 2.6 and so I have set it as the interpreter to use in the settings. that didn't work so I tied with a different version of python (2.7) and the plugin started to work without any problem.
In the mean time I tried also Anaconda, which is heavily taken from SublimeJedi. I had the same problem. The author suggested me to start Anaconda's php server from a command line and see what happen. I got an error about cmp_to_key module, not present in functools... that rang a bell. cmp_to_key has been introduced in python 2.7. I fixed this problem and I found another similar. I wasn't able to fix all of them (I don't have time for this now, unfortunately)
So I suspected that the same issue was actually happening with SublimeJedi and that's when I tried to let SublimeJedi to use python2.7 instead of python2.6, but obviously this cannot be considered a solution.
from sublimejedi.
Thanks. I'll make an investigation :)
from sublimejedi.
:) I have in an unrelated codebase:
def convert_kwargs(kwargs):
''' Python < 2.7 cannot deal with unicode kwargs,
so they must be converted to str.
'''
str_kwargs = dict()
for key, value in kwargs.iteritems():
str_kwargs[str(key)] = value
return str_kwargs
from sublimejedi.
Yeap. I thought about the same solution, but choose simplest solution :)
I think all depends on how often we will use this.
from sublimejedi.
Feel free reopen the issue, if it still does not works
from sublimejedi.
Package Control: The dependency 'markupsafe' is not currently installed; installing...
Package Control: The dependency 'markupsafe' is not available
Package Control: The dependency 'markupsafe' could not be installed or updated
from sublimejedi.
it looks like issue with Package Control
I see "markupsafe" in PC https://github.com/wbond/package_control_channel/blob/master/repository/dependencies.json#L396
I can't do anything here.
from sublimejedi.
Related Issues (20)
- Nothing happen and no error reported HOT 2
- Additional closing brace in signature popup
- Definition.params is therefore deprecated.
- Signature.to_string() to format call signatures.
- left parentheses does not work HOT 3
- SublimeJEDI doesn't work after install HOT 3
- Fix simple typo: utitilies. -> utilities. HOT 1
- Do not autosuggest packages with dashes in names HOT 3
- Absent `__init__.py` breaks autocomplete and goto functionality. HOT 6
- Setting custom "python_interpreter" in sublime_jedi.sublime_settings does not work in portable python setup.
- Param completion not working HOT 1
- Add "pymdownx" and "pyyaml" in dependencies
- Autocomplete with version 0.18.0 is slower than previous version
- Fix a small error ) HOT 4
- Last version SublimeJEDI dont work on Windows. Cause: jedi version >0.16.0 runtime error for Windows. HOT 3
- Lookup Error, Could not get version information for 'python' HOT 2
- It's does not give priority to sublime default auto complete suggestions
- Inconsistent completed parentheses depending on auto_match_enabled
- Is the project still alive? HOT 3
- Trailing colon breaks function insertion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublimejedi.