Giter Site home page Giter Site logo

Comments (14)

srusskih avatar srusskih commented on May 27, 2024

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.

daniele-niero avatar daniele-niero commented on May 27, 2024

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.

daniele-niero avatar daniele-niero commented on May 27, 2024

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.

krya avatar krya commented on May 27, 2024

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

daniele-niero avatar daniele-niero commented on May 27, 2024

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

daniele-niero avatar daniele-niero commented on May 27, 2024

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.

srusskih avatar srusskih commented on May 27, 2024

Ok. Could you please write some notes about this, please?

from sublimejedi.

daniele-niero avatar daniele-niero commented on May 27, 2024

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.

srusskih avatar srusskih commented on May 27, 2024

Thanks. I'll make an investigation :)

from sublimejedi.

schlamar avatar schlamar commented on May 27, 2024

:) 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.

srusskih avatar srusskih commented on May 27, 2024

Yeap. I thought about the same solution, but choose simplest solution :)

I think all depends on how often we will use this.

from sublimejedi.

srusskih avatar srusskih commented on May 27, 2024

Feel free reopen the issue, if it still does not works

from sublimejedi.

SmartManoj avatar SmartManoj commented on May 27, 2024

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.

srusskih avatar srusskih commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.