dogtail-devel [Bug 498687] New: No getText method



If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=498687

  dogtail | Framework | Ver: unspecified
           Summary: No getText method
           Product: dogtail
           Version: unspecified
          Platform: Other
        OS/Version: opensolaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: patrick gu sun com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Try to use Application in script with pyatspi branch:

class EogApp(Application):
    def __init__(self):
        Application.not__init__(self, root.application("eog"))
        ...

Error output:
  File "/usr/lib/python2.4/vendor-packages/dogtail/tree.py", line 198, in
not__init__
    self.__text = self.__accessible.getText()
AttributeError: 'Application' object has no attribute 'getText'


There is not getText method, only have _getText.

Also not getEditableText() and getEditableText()


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=498687.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]