Code Monkey home page Code Monkey logo

Comments (5)

ColdHeat avatar ColdHeat commented on May 30, 2024

Hmm interesting...

Windows isn't as heavily used as OSX is (my laptops are all OSX) but I'll take a look into this.

from mech.

irakhlin avatar irakhlin commented on May 30, 2024

I am having the same issue, I think the specific error here is caused by looking up the wrong registry entry for vmware workstation. I believe VMWare Workstation is a 32bit application for windows..Atleast mine is (12.5.7 build-5813279):
file vmware.exe
vmware.exe: PE32 executable (GUI) Intel 80386, for MS Windows

This means that my registry entry "SOFTWARE\VMware, Inc.\VMware Workstation" does not exist. I think the registry entry you may be looking for is "SOFTWARE\WOW6432Node\VMware, Inc.\VMware Workstation"

In that case I have a "InstallPath" and "InstallPath64" which point to "C:\Program Files (x86)\VMware\VMware Workstation" and "C:\Program Files (x86)\VMware\VMware Workstation\x64" respectively.

I haven't look at any of your code to know where else this may need to be changed as I am having other issues but see if you can change that and give it a test?

from mech.

irakhlin avatar irakhlin commented on May 30, 2024

Just to follow up that small change does fix it; the other issues I was having were totally unrelated and involved python/PATH issues.
I now get:
mech status:
Total running VMs: 1

from mech.

ColdHeat avatar ColdHeat commented on May 30, 2024

Testing this on my computer, I can't reproduce but I'm looking into @irakhlin's fix now.

from mech.

ColdHeat avatar ColdHeat commented on May 30, 2024

Thanks @irakhlin I think that fix works. Checked my registry keys (Windows 10) and it looks like that's the correct value.

Will probably need to add a fallback just in case.

from mech.

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.