Created attachment 150275 [details] VboxGtk uses the last Oracle VBoxManage API set when creating a VM To whom it may concern, I think that the vboxgtk port is broken as it makes use of an old interface contract for VBoxManage APIs. Some of the methods used in the python code are either not existing anymore or the parameter set has changed. Many users from other distributions (e.g. Linux) had the same problem as mine. In particular, when one tries to create a VM, the following error message is displayed "Could not create the VM - This parameter must be a string or Unicode object". I tried to contact the creator of the application to submit my patch and fix the various issues, but I have never received an answer. I had several tests on my local machine and the code seems to be stable and working. It would be nice to see how this is working on a larger scale and more testing. Attached is the patch to fix the error. Regards, Daniele Mazzotti.
okay. The port is unmaintained. Generally you should provide a patch to the port, not a patch to the software (in other words, a patch that would add a patch to the software in the files/ directory). However, I'll just assume this works and promote the PR to the next level.
I tried to build the port with the patch as files/patch-vboxgtk_dao.py, but the port itself is failing. For example see http://people.freebsd.org/~pi/logs/deskutils__vboxgtk-93a-1423502811.txt
Hi, in my opinion the problem is not in the patch. The error seems to be related to a missing file: error: can't copy 'data/vboxgtk.desktop': doesn't exist or not a regular file If I look at the directory structure I can see a file named 'vboxgtk.desktop.in' under /data. Maybe this is just existing on my PC, but this seems to explain the problem. Perhaps the makefile needs to be fixed as well? Cheers, Daniele.
Created attachment 159266 [details] vboxgtk dao patch
In order to compile the port: 1. paste the patches 'vbox gtk dao patch' and 'vbox gtk gui patch' under /usr/ports/deskutils/vboxgtk/files; 2. as root cd to /usr/ports/deskutils/vboxgtk/; 3. make clean (not necessary); 4. make install clean (if the port has never been installed before); 5. make deinstall && make install clean (if the port was already installed); 6. vboxgtk. The list of above mentioned steps worked in my case. The port built fine and run fine too. Daniele.
I tried the patch by putting it in files/patch-vboxgtk-dao.py, but it does not apply.
Created attachment 159298 [details] vboxgtk gui patch
I have added the second patch (I had an issue with the upload on bugzilla yesterday evening). @Kurt: what is the error you get?
(In reply to Kurt Jaeger from comment #6) I have added the second patch (I had an issue with the upload on bugzilla yesterday evening). What is the error you get?