ldtp fails with alacarte with error xmlrpclib.Fault: <Fault 8002: "'NoneType' object has no attribute '_narrow'">

Bug #710545 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ldtp (Ubuntu)
Triaged
Low
Nagappan Alagappan

Bug Description

Binary package hint: ldtp

ldtp fails to work with alacarte. I see the main window in the window list but get an error as soon as I try to do something with it.
Accerciser works correctly and can navigate the components tree

TEST CASE:
$ python
>>> import ldtp
>>> ldtp.launchapp('alacarte')
>>> ldtp.getwindowlist()
['frmDesktop', 'frmTopExpandedEdgePanel', 'frmBottomExpandedEdgePanel', 'dlg0', 'dlg1', 'frmj-lallement@black:~/.xchat2/xchatlogs', 'frmCanonical:#qa', 'frmLaunchpad-Canonical-MozillaThunderbird', 'frmWrite:StatusReport2011W04', u'frmReportabugabout\u201cldtp\u201dpackageinUbuntu:Bugs:\u201cldtp\u201dpackage:Ubuntu-MozillaFirefox4.0Beta10', 'frmPurcell:Sweeterthanroses-S.McNair/TheAcademyofAncientMusic/C.Hogwood(RadioClassique)', 'dlgMainMenu']
>>> ldtp.getobjectlist('dlgMainMenu')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/ldtp/client.py", line 54, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
    verbose=self.__verbose
  File "/usr/lib/pymodules/python2.7/ldtp/client.py", line 102, in request
    raise e
xmlrpclib.Fault: <Fault 8002: "'NoneType' object has no attribute '_narrow'">

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ldtp 2.1.0-1
ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
Uname: Linux 2.6.38-1-generic i686
Architecture: i386
Date: Mon Jan 31 10:10:47 2011
EcryptfsInUse: Yes
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: ldtp

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Nagappan Alagappan (nagappan) wrote :
Changed in ldtp (Ubuntu):
assignee: nobody → Nagappan Alagappan (nagappan)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your feedback. Setting to traiged/low (I've only seen this bug with alacarte)
Do you think we can get it fixed in debian and sync to Ubuntu before Feb. 24 ?
We could also add the doxygen documentation.

Changed in ldtp (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Nagappan Alagappan (nagappan) wrote :

You mean with a dot release ?
Thanks

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I meant Natty feature freeze is on Feb 24. after that point we are able to upload only important fixes.

Revision history for this message
Nagappan Alagappan (nagappan) wrote :
Revision history for this message
Chris Wayne (cwayne) wrote :

I've seen something similar when trying to getobjectlist() on evolution

tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.