Giter Site home page Giter Site logo

Comments (6)

helenlivsc avatar helenlivsc commented on May 18, 2024

To know more info about the error, can you take the followings?

  1. Open a command window
  2. Expand to path c:\program files (x86)\Arduino
  3. Run the command Arduino_debug.exe then capture a screenshot to attach here
  4. Run the exact command in the screenshot above then capture a screenshot to attach here

from devkit-sdk.

reyang avatar reyang commented on May 18, 2024

It makes me feel that we're still trying to figure out what the output message is - this is wrong.
We need to check the return code, and forget about the output (if the output message is localized, do we end up parsing different languages? what if the wording changed?)

from devkit-sdk.

helenlivsc avatar helenlivsc commented on May 18, 2024

Per a quick research, the output should include the call stack of the failure.

from devkit-sdk.

reyang avatar reyang commented on May 18, 2024

There is nothing wrong with arduino_debug.exe, it finished successfully, with a message in stderr complaining about the DPI.

The correct way of fixing this problem should be:

  1. spawn the arduino_debug.exe by redirecting the stdout and stderr.
  2. when the process finished, check the error code, if the exit code equals to zero, report success and done
  3. if the error code is non-zero, report failure with whatever captured from stderr.

from devkit-sdk.

helenlivsc avatar helenlivsc commented on May 18, 2024

I am sorry for the mind slip and thanks for your explanation. I tried to fix it through optimizing the related Promise.

from devkit-sdk.

helenlivsc avatar helenlivsc commented on May 18, 2024

Tested the fix with a machine which presents the same issue and it works fine now. Shipped the fix to next installation package.

from devkit-sdk.

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.