After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723532 - ooldtp.waittillguiexist, state parameter no passed to interface
ooldtp.waittillguiexist, state parameter no passed to interface
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp2
Cobra4.x
Other Windows
: Normal normal
: head
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2014-02-03 13:40 UTC by yap
Modified: 2014-02-04 04:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yap 2014-02-03 13:40:45 UTC
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)
Comment 1 Nagappan Alagappan 2014-02-04 04:53:02 UTC
Thanks for the bug report, fixed in git head.