https://bugzilla.gnome.org/show_bug.cgi?id=723532 LDTP | ldtp2 | Cobra4.x
Summary: ooldtp.waittillguiexist, state parameter no passed to interface Classification: Other Product: LDTP Version: Cobra4.x OS/Version: Windows Status: UNCONFIRMED Severity: normal Priority: Normal Component: ldtp2 AssignedTo: ldtp-ma...@gnome.bugs ReportedBy: kmsiv...@gmail.com QAContact: ldtp-dev@lists.freedesktop.org GNOME version: --- I found an issue using the python ooldtp module. Using the waittillguiexist and waittillguinotexist methods I received following error: if ooLDTP.waittillguiexist(installShieldWizardName) == 0: File "C:\Programme\VMware\CobraWinLDTP\ooldtp\__init__.py", line 408, in waittillguiexist guiTimeOut) File "C:\Programme\VMware\CobraWinLDTP\ooldtp\__init__.py", line 80, in __call__ return self.__send(self.__name, args[1:]) File "C:\Python26\lib\xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "C:\Programme\VMware\CobraWinLDTP\ooldtp\__init__.py", line 201, in request raise e Fault: <Fault 0: 'Request contains too few param elements based on method signature.'> The last parameter "state" is missing in the _remote call. I modified both methods adding the "state" parameter: def waittillguiexist(self, window_name, object_name = '', guiTimeOut = 30, state = ''): return self._remote_waittillguiexist(window_name, object_name, guiTimeOut, state) def waittillguinotexist(self, window_name, object_name = '', guiTimeOut = 30, state = ''): return self._remote_waittillguinotexist(window_name, object_name, guiTimeOut, state) -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are watching the assignee of the bug. _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev