VirtualBox

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#11311 closed defect (worksforme)

VirtualBox_services.py is empty

Reported by: NicklasE Owned by:
Component: webservices Version: VirtualBox 4.2.6
Keywords: python VirtualBox_services empty blank Cc:
Guest type: other Host type: other

Description

The file (sdk/bindings/webservice/python/lib/) VirtualBox_services.py in In VirtualBox 4.2.6 Software Developer Kit (SDK) does not have any content. Webservices for python does not work if the file is empty, VirtualBox_wrappers.py uses that file.

Change History (7)

comment:1 by Frank Mehnert, 11 years ago

Resolution: worksforme
Status: newclosed

I cannot confirm this. Just downloaded and verified that this file is NOT empty. The size of this file is 565K.

comment:2 by NicklasE, 11 years ago

I'm sorry, but http://download.virtualbox.org/virtualbox/4.2.6/VirtualBoxSDK-4.2.6-82870.zip still have that problem. Is there any other place I can get the content of the VirtualBox_services.py?

By the way, here is the md5 for the files in the lib folder:

MD5 (Makefile) = 33bafef7a8b57a287477fc58802b27fa
MD5 (VirtualBox_client.py) = a33843cb122492315b7b59fb89bb99a6
MD5 (VirtualBox_server.py) = 46a7e656d9843204af511768ad62a784
MD5 (VirtualBox_services.py) = 68b329da9893e34099c7d8ad5cb9c940
MD5 (VirtualBox_types.py) = f74318e058bc27e8d086b345ba95f157
MD5 (VirtualBox_wrappers.py) = 89270f2134fe8f4303166655136ab5e4

And the size of the files:

      616 13 Sep 21:03 Makefile
   688646 19 Dec 15:25 VirtualBox_client.py
   611238 19 Dec 15:25 VirtualBox_server.py
        1 19 Dec 15:25 VirtualBox_services.py
  2161366 19 Dec 15:25 VirtualBox_types.py
   578465 19 Dec 15:25 VirtualBox_wrappers.py

comment:3 by Frank Mehnert, 11 years ago

Resolution: worksforme
Status: closedreopened

I'm sorry, you are right and I'm wrong. I looked at the wrong file. The file size of VirtualBox_services.py is indeed 1. But I looked at older SDKs and this seems to be always the case (also in the 4.2.0 SDK as well as in the 4.1.24 SDK).

comment:4 by Frank Mehnert, 11 years ago

After all, are you really sure that having this file with a length of 1 (it contains exactly one space) is really a problem?

comment:5 by NicklasE, 11 years ago

You where right it should be empty, I missed to add the file VirtualBox_client.py to my project, my mistake!

I got the error NameError: global name 'IWebsessionManager_logonRequestMsg' is not defined and it was defined in VirtualBox_services.py in 4.1.

I was misled by VirtualBox_wrappers.py that still imports data from VirtualBox_services.py and only tries to import data from VirtualBox_client.py and don't break if it fails.

Thanks for the help!

comment:6 by Frank Mehnert, 11 years ago

Resolution: worksforme
Status: reopenedclosed

Ah great that it works now. I appreciate your feedback!

comment:7 by Klaus Espenlaub, 11 years ago

As a side note: this is a "consequence" of wsdl2py completely changing its mind what files should be generated. We use ZSI 2.1, and it generates 3 files, X_client.py, X_server.py and X_types.py. In the past we used ZSI 2.0, and it generates 2 files, X_services.py and X_services_types.py.

Since our build system should work with both versions we had to make some odd compatibility hacks, and that means yelling loudly is not an option...

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use