Giter Site home page Giter Site logo

SyntaxError: invalid syntax about vcprompt HOT 7 CLOSED

djl avatar djl commented on August 29, 2024
SyntaxError: invalid syntax

from vcprompt.

Comments (7)

djl avatar djl commented on August 29, 2024

Looks like you're running a pretty old Python version. I'm guessing <= 2.4.

Is that right?

from vcprompt.

johntdyer avatar johntdyer commented on August 29, 2024

Yep:

Python 2.4.3 (#1, Jul 27 2009, 17:56:30)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from vcprompt.

djl avatar djl commented on August 29, 2024

Ah, RHEL. I knew it :)

I'd rather not have to support 2.4.x as even the RHEL devs have moved to 2.6 now. But knowing how long it takes for users to upgrade I may as well do this.

Meh, I'll see if I can get to it but I'll have to dig up an old machine with Python 2.4 first.

from vcprompt.

johntdyer avatar johntdyer commented on August 29, 2024

Well its Centos 5, and its our base img in our NOC... a fix would be ideal, thanks

from vcprompt.

djl avatar djl commented on August 29, 2024

Damn. I forgot about CentOS.

Anyway, I've already made a start on this but have noticed some hairy issues with the tests. I'll fix those first before making a start on Python 2.4 support.

from vcprompt.

djl avatar djl commented on August 29, 2024

Alright, I think I've got it working in dba0d83. It's not fully tested and is still very experimental.

Test it out and let me know if I broke anything.

from vcprompt.

johntdyer avatar johntdyer commented on August 29, 2024

Looks good! Thanks!

John

from vcprompt.

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.