GithubHelp home page GithubHelp logo

Comments (10)

teetak01 avatar teetak01 commented on June 3, 2024

@janisimonen @calmjm can you check this?

from client-e2e-python-test-library.

janisimonen avatar janisimonen commented on June 3, 2024

Hi @ccli8!
Were you able to run manifest-tool init before starting the pytest?

from client-e2e-python-test-library.

ccli8 avatar ccli8 commented on June 3, 2024

@janisimonen , on my git-bash/Windows 10, I can run manifest-tool init separately and successfully. Actually, before the pytest, I've run mbed dev-mgmt init, which includes manifest-tool init.

from client-e2e-python-test-library.

janisimonen avatar janisimonen commented on June 3, 2024

Okey, interesting. I'll try to find a Win machine and try to reproduce this situation here.

from client-e2e-python-test-library.

soleilplanet avatar soleilplanet commented on June 3, 2024

pelion_e2e_test.log
same issue observed when running this test for DISCO_L496AG + STMod BG96
Wondering if this section of log is relevant to the problem:

def _execute_child(self, args, executable, preexec_fn, close_fds,
                   pass_fds, cwd, env,
                   startupinfo, creationflags, shell,
                   p2cread, p2cwrite,
                   c2pread, c2pwrite,
                   errread, errwrite,
                   unused_restore_signals, unused_start_new_session):
    """Execute program (MS Windows version)"""

    assert not pass_fds, "pass_fds not supported on Windows."

from client-e2e-python-test-library.

janisimonen avatar janisimonen commented on June 3, 2024

Hi @ccli8 and @soleilplanet!
Looks like the (pip) installed manifest-tool is missing from the Windows' systems PATH - if it's not found by the pytest. So, if you can check where the manifest-tool is installed and then add that folder to env PATH - e.g like this: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/

from client-e2e-python-test-library.

ccli8 avatar ccli8 commented on June 3, 2024

@janisimonen I am sure manifest-tool has installed in my Windows. Checking my python installation path C:\Python37, I find the file manifest-tool is placed under C:\Python37\Scripts, but no manifest-tool.exe. Actually, I find no manifest-tool.exe in my Windows.

from client-e2e-python-test-library.

janisimonen avatar janisimonen commented on June 3, 2024

@ccli8 Looks like manifest-tool has issue on pip installation - I just noted the same behaviour. So, you need to clone the manifest-tool repo and install the local copy on Windows environment to have executable where it should be.
PelionIoT/manifest-tool#11

from client-e2e-python-test-library.

ccli8 avatar ccli8 commented on June 3, 2024

@janisimonen The workaround works. I find manifest-tool.exe under C:\Python37\Scripts folder now. Thanks for your information.

from client-e2e-python-test-library.

janisimonen avatar janisimonen commented on June 3, 2024

@ccli8 Good to hear - thanks!

from client-e2e-python-test-library.

Related Issues (3)

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.