Giter VIP home page Giter VIP logo

Comments (5)

zchee avatar zchee commented on June 16, 2024

@bradst Hi,

I do not yet know the cause of the error.
but, Now neovim stable version is 0.1.3. Could you upgrade it?

Also, What are you using neovim/python-client?

from deoplete-jedi.

bradst avatar bradst commented on June 16, 2024

@zchee No problem. I've just upgraded neovim and python-client to latest git. neovim is now 0.1.3 (git HEAD 5330aa1) and python-client is now 0.1.7 (git HEAD 7af000e). The exception is still being thrown with the new version, exact same traceback.

from deoplete-jedi.

tweekmonster avatar tweekmonster commented on June 16, 2024

@bradst We've been finding that a lot of the issues with deoplete-jedi is stemming from Jedi and different Python versions. Take a look at this issue to get up to speed on what I'm talking about: #21

We're currently hashing out a fix for most of the Python version issues. You can try out this branch to see if your issue goes away: https://github.com/tweekmonster/deoplete-jedi/tree/server

I'm currently on that branch and am able to do the Decimal completion without errors. You can also help us hash out issues with that branch 😄

from deoplete-jedi.

bradst avatar bradst commented on June 16, 2024

@tweekmonster I just tried your branch. No exceptions are thrown, but from decimal import Decimal still causes auto-completion not to work.

I just did some digging and figured it out. The decimal module tries to use the native _decimal module and falls back to _pydecimal on ImportError. Apparently the native module depends on an external library called mpdecimal, which I didn't have installed, so Python was falling back on the pure Python implementation. It seems like Jedi wasn't able to follow the fallback so it choked when trying to access the native module, or something similar. Installing mpdecimal fixed the issue.

Thanks guys, I'll report this upstream to Jedi. Keep up the good work! 😃

from deoplete-jedi.

zchee avatar zchee commented on June 16, 2024

🎉
@tweekmonster Thanks!!

@bradst
I will test to pull request, and will merge.
Until that finished, please use PR branch.

from deoplete-jedi.

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.