Merge lp:~ara/mago/shotwell_natty into lp:~mago-contributors/mago/mago-1.0
Proposed by
Ara Pulido
Status: | Merged |
---|---|
Merged at revision: | 146 |
Proposed branch: | lp:~ara/mago/shotwell_natty |
Merge into: | lp:~mago-contributors/mago/mago-1.0 |
Diff against target: |
24 lines (+8/-0) 1 file modified
mago/application/shotwell.py (+8/-0) |
To merge this branch: | bzr merge lp:~ara/mago/shotwell_natty |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jean-Baptiste Lallement | Approve | ||
Review via email: mp+41697@code.launchpad.net |
Description of the change
Fixes the mago tests for Natty.
Shotwell crashes when importing a folder. Bug 676949
To post a comment you must log in.
Thanks for the update. The issue with txtLocation is fixed but there's another problem now. The test waits for a dialog named dlgInformation which is not there, then tries to use mnuSelectAll from the main window which is already closed. Backtrace below
2010-11-25 09:42:53,200 WARNING Traceback (most recent call last): ubuntu/ Ubuntu/ QA/Tools/ mago/shotwell_ natty/mago/ cmd/runner. py", line 39, in run method( **self. case_data. args) shotwell_ basics. py", line 11, in import_folder n.import_ from_folder( import_ path) ubuntu/ Ubuntu/ QA/Tools/ mago/shotwell_ natty/mago/ application/ shotwell. py", line 109, in import_from_folder getchild( self.LBL_ SUCCESSFUL) pymodules/ python2. 6/ooldtp/ _context. py", line 81, in getchild getchild( child_name, role) pymodules/ python2. 6/ooldtp/ _context. py", line 100, in __call__ self._window_ name, *args, **kwargs) pymodules/ python2. 6/ldtp/ client. py", line 50, in __call__ send(self. __name, args) python2. 6/xmlrpclib. py", line 1489, in __request self.__ verbose pymodules/ python2. 6/ldtp/ client. py", line 99, in request ror(e.faultStri ng)
File "/home/
rv = self.test_
File "./shotwell/
success = self.applicatio
File "/home/
lblSuccess = dlgInfo.
File "/usr/lib/
matches = self._remote_
File "/usr/lib/
return self._func(
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
raise LdtpExecutionEr
LdtpExecutionError: Unable to find window "dlgInformation"
2010-11-25 09:42:53,201 DEBUG imagecapture(None, 0, 0, None, None) 'frmShotwell' , 'mnuSelectAll', '') ubuntu/ Ubuntu/ QA/Tools/ mago/shotwell_ natty/mago/ cmd/runner. py", line 106, in run _run(loggerclas s, setup_once) ubuntu/ Ubuntu/ QA/Tools/ mago/shotwell_ natty/mago/ cmd/runner. py", line 154, in _run suite.teardown( ) ubuntu/ Ubuntu/ QA/Tools/ mago/shotwell_ natty/mago/ test_suite/ shotwell. py", line 19, in teardown getchild( self.applicatio n.MNU_SELECTALL ) pymodules/ python2. 6/ooldtp/ _context. py", line 81, in getchild getchild( child_name, role) pymodules/ python2. 6/ooldtp/ _context. py", line 100, in __call__ self._window_ name, *args, **kwargs) pymodules/ python2. 6/ldtp/ client. py", line 50, in __call__ send(self. __name, args) python2. 6/xmlrpclib. py", line 1489, in __request self.__ verbose pymodules/ python2. 6/ldtp/ client. py", line 99, in request ror(e.faultStri ng)
2010-11-25 09:42:53,715 DEBUG getchild(
2010-11-25 09:42:53,752 WARNING Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
selectall = shotwell.
File "/usr/lib/
matches = self._remote_
File "/usr/lib/
return self._func(
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
raise LdtpExecutionEr
LdtpExecutionError: Unable to find window "frmShotwell"