variantToObject error when reading properties which return arrays
-----------------------------------------------------------------

                 Key: JRUBY-5260
                 URL: http://jira.codehaus.org/browse/JRUBY-5260
             Project: JRuby
          Issue Type: Bug
          Components: win32ole
    Affects Versions: JRuby 1.5.6
         Environment: Windows 7 Professional x64
            Reporter: Mitchell Hashimoto
            Assignee: Thomas E Enebo


I'm trying to get Vagrant (http://vagrantup.com) working on Win7_x64 via JRuby, 
and progress is going great, but the following COM call to VirtualBox causes 
failure. I've isolated the failure to in a simple gist: 
https://gist.github.com/25ca0e2b8dae46fbd8d2

I've provided steps here to running the above gist:

1. Download this virtual machine image (sorry for the large file size): 
http://files.vagrantup.com/lucid32.box
2. The ".box" is just a tar.gz file. Untar it into some directory. There should 
be 4 or 5 files which come out. 
3. Change the path ("C:\Users\Mitchell...") in the gist above with the path to 
the `box.ovf` extracted in step 2.
4. Run the script.

The "VirtualSystemDescriptions" property is supposed to return an Array of 
IVirtualSystemDescription objects. You can find the VirtualBox SDK docs here: 
http://www.virtualbox.org/sdkref/annotated.html

This is the main blocker to progressing further at the moment. Let me know if I 
can help in any way.

Thanks,
Mitchell

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to