Comments (10)
Oh, forgot to reply here, sorry. Did you already resolve this issue in the meantime?
It would appear there's an issue with the returned json.. :)
Can you reproduce this issue?
from vmcloak.
This issue always happens when i try to install adobe. I tried it several times and i always had this happen. But no i sadly did not resolve it in the meantime. I think i tried it with office. I am not sure on this tho. I can tell you more tomorrow.
from vmcloak.
Okey so office produces the same kind of error. So i guess the other programs will too. After office I tried a different program and i got a different error this time
VBoxManage: error: Machine settings file '<dir>/.vmcloak/vms/foo/foo.vbox' already exists
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MachineWrap, interface IMachine, callee nsISupports
VBoxManage: error: Context: "CreateMachine(bstrSettingsFile.raw(), bstrName.raw(), ComSafeArrayAsInParam(groups), bstrOsTypeId.raw(), createFlags.raw(), machine.asOutParam())" at line 272 of file VBoxManageMisc.cpp
ERROR:vmcloak.vm:[-] Error running command: Command '['/usr/bin/VBoxManage', 'createvm', '--register', '--name', 'foo', '--basefolder', '<dir>/.vmcloak/vms']' returned non-zero exit status 1
Traceback (most recent call last):
File "/usr/local/bin/vmcloak-install", line 5, in <module>
pkg_resources.run_script('VMCloak==0.3.10', 'vmcloak-install')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/EGG-INFO/scripts/vmcloak-install", line 105, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/EGG-INFO/scripts/vmcloak-install", line 51, in main
m.create_vm()
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/vmcloak/vm.py", line 76, in create_vm
basefolder=vms_path, register=True)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/vmcloak/vm.py", line 35, in _call
raise CommandError
vmcloak.exceptions.CommandError
(I replaced parts of the path with dir but the rest is the actual path)
If you then try to clone the VM with this error you get yet another different error:
VBoxManage: error: Failed to lock source media '<dir>/.vmcloak/image/foo.vdi'
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "CloneTo(pDstMedium, ComSafeArrayAsInParam(l_variants), NULL, pProgress.asOutParam())" at line 893 of file VBoxManageDisk.cpp
ERROR:vmcloak.vm:[-] Error running command: Command '['/usr/bin/VBoxManage', 'clonehd', u'<dir>/.vmcloak/image/foo.vdi', '<dir>/.vmcloak/image/foo1.vdi']' returned non-zero exit status 1
Traceback (most recent call last):
File "/usr/local/bin/vmcloak-clone", line 5, in <module>
pkg_resources.run_script('VMCloak==0.3.10', 'vmcloak-clone')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/EGG-INFO/scripts/vmcloak-clone", line 47, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/EGG-INFO/scripts/vmcloak-clone", line 34, in main
m.clone_hd(image.path, outpath)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/vmcloak/vm.py", line 120, in clone_hd
self._call('clonehd', hdd_inpath, hdd_outpath)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.3.10-py2.7.egg/vmcloak/vm.py", line 35, in _call
raise CommandError
vmcloak.exceptions.CommandError
from vmcloak.
Oh what I forgot to mention is that I try to install the programs on a winxp VM. Maybe that is the cause of the Problem.
from vmcloak.
So one of the issues is that the VM already exists. So basically VMCloak creates a temporary VM (e.g., foo.vdi
) which it uses to do whatever you tell it to (in this case, install adobe or office). Given that the VM already exists it can't do its job as VirtualBox will fail when trying to create a VM with a duplicate name.
Please try either deleting that VM (foo
) or creating a new VMCloak image with a new name, etc.
Windows XP and Windows 7 have both been tested plenty of times and should work mostly out of the box.
from vmcloak.
In my experience, deleting the *.vbox in $HOME/.vmcloak/vms/[VM_NAME]/VM_NAME.vbox works. I did that a lot when my scripts failed and I have yet to see a problem caused by this. The VBoxManage unregistervm basically does that if you decide to keep the files if I am not mistaken. Jurriaan, would you see a potential problem with that ?
from vmcloak.
Yeah, that should be fine :)
from vmcloak.
Well i knew that i just have to delete and then reinstall the VM to get it accessable again. But that sadly doesn't fix the initial issue.
from vmcloak.
is this still an issue ? AFAIK the main lock issues which cause random other issues should be resolved now with 3.12
from vmcloak.
What @razuz said - please re-open or create a new issue if you run into any other problems.
from vmcloak.
Related Issues (20)
- Install of ie11 and adobepdf hangs on process kill step HOT 3
- Issue creating Windows VM
- procmon.xml file in log directory does not created and bson file is created instead
- ValueError: need more than 1 value to unpack HOT 6
- "Backing file specified without backing format Detected format" Error
- vmcloak init/vboxnet0 problem HOT 1
- mkisofs/genisoimage argument incompatibility causing error on MacOS HOT 3
- Database migration error
- The -soundhw argument of qemu was removed
- vmcloak is taking forever HOT 2
- The certificate of https://cuckoo.sh has been expired
- ValueError: need more than 1 value to unpack while initialiing using vmcloak in it HOT 2
- Removing existing vms HOT 1
- HTTPConnectionPool(host='192.168.30.2', port=8000): Read timed out. (read timeout=5) HOT 5
- Missing "," in setup.py that causes wheel not to be built HOT 1
- vmcloak dependencies install issue HOT 4
- Dependency site issue HOT 1
- Onemon dependency install issue
- Abandoned Project
- Updated VMCloak
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmcloak.