Giter Site home page Giter Site logo

Comments (8)

farcaller avatar farcaller commented on May 18, 2024

That's quite surprising, do you have the openbinary at /usr/bin/open?

from dashdoc.

farcaller avatar farcaller commented on May 18, 2024

Also, can you please run this in ST3 python console (opened via **ctrl+**): import os; os.environ['PATH']`?

from dashdoc.

MrCrunchwrap avatar MrCrunchwrap commented on May 18, 2024

Output of which open is /usr/bin/open

Output of import os; os.environ['PATH'] is '/usr/local/share/npm/bin:/usr/local/bin:/opt/local/bin'

from dashdoc.

MrCrunchwrap avatar MrCrunchwrap commented on May 18, 2024

Not too familiar with Python, but it doesn't look like this PATH is the same as my Unix PATH environment variable. Do I need to add something to this Python environment?

from dashdoc.

farcaller avatar farcaller commented on May 18, 2024

Well, while this is a bug I can fix on DashDoc side, did you consider fixing your environment? Other strange things might happen if you don't have at least /bin and /usr/bin in your PATH.

from dashdoc.

MrCrunchwrap avatar MrCrunchwrap commented on May 18, 2024

Understandably so. I'm not entirely sure how it got changed, as DashDoc was working yesterday. Some kind of magic is happening because now I launched ST3 and output of os.environ['PATH'] is '/usr/bin:/bin:/usr/sbin:/sbin'

Problem is solved now. Thanks for the input!

from dashdoc.

Teggy avatar Teggy commented on May 18, 2024

@farcaller: Do you consider to replace 'open' by '/usr/bin/open' in the subprocess.call(...)? Sounds reaonsable/safe to do so — the location of open is unlikely to change.

from dashdoc.

farcaller avatar farcaller commented on May 18, 2024

Done.

from dashdoc.

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.