Giter VIP home page Giter VIP logo

Comments (6)

stephenplatz avatar stephenplatz commented on August 18, 2024 1

I'm getting a similar error with python 2.7

Error detected while processing function provider#python#Call: line 18: Traceback (most recent call last): File "/home/steve/.janus/vdebug/plugin/python/start_vdebug.py", line 10, in <module> import vdebug.runner ImportError: No module named runner Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'DebuggerInterface' is not defined

This wasn't happening prior to yesterday when I switch to the v2-integration branch to try it, then switched back to the master branch.

from vdebug.

joonty avatar joonty commented on August 18, 2024

That does look very strange - you obviously have Python support in your Vim, but I have no idea why Python is tripping up on that line!

Can you print the output of running this vim command?

:python import sys; print sys.version_info 

Also, which version of Vdebug are you using? You could try using the version from the dev branch, as we may get lucky with a bug fix.

Thanks

from vdebug.

 avatar commented on August 18, 2024

I get this line running the command:

(2, 4, 3, 'final', 0)

Vdebug version is 1.2

I've switched to the dev branch (in .vim/vdebug), but that doesn't seem to make any difference

from vdebug.

joonty avatar joonty commented on August 18, 2024

It's possible that your Python version is too old, but I'm not familiar enough with syntactic changes between different versions of Python. Is there any chance of upgrading to Python 2.7? If not, don't worry - I'll try and compile a vim with Python 2.4.3 and see if I can reproduce the error.

Thanks

from vdebug.

joonty avatar joonty commented on August 18, 2024

Well, I tried and failed to compile Vim with Python 2.4! Is there any chance of you upgrading your Python?

from vdebug.

joonty avatar joonty commented on August 18, 2024

I can confirm that Vdebug doesn't work with Python < 2.6, as there are several syntactic changes, including the try...except statement. It would be a pretty major task to rewrite it to fit older versions of Python, and I'm afraid I don't have the time to undertake it!

However, if you're a Python developer and don't mind getting your hands dirty then I'm happy to accept pull requests :)

Sorry I can't be more help!

from vdebug.

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.