dogtail-devel [Bug 321196] New: Commit of 2005-11-08 breaks all of the existing object-orientated dogtail scripts
- From: "dogtail (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: dogtail-devel-list gnome org
- Subject: dogtail-devel [Bug 321196] New: Commit of 2005-11-08 breaks all of the existing object-orientated dogtail scripts
- Date: Thu, 10 Nov 2005 18:48:56 -0500 (EST)
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321196
dogtail | Framework | Ver: CVS HEAD
Summary: Commit of 2005-11-08 breaks all of the existing object-
orientated dogtail scripts
Product: dogtail
Version: CVS HEAD
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: Framework
AssignedTo: dogtail-maint gnome bugs
ReportedBy: dmalcolm redhat com
QAContact: dogtail-maint gnome bugs
CC: all-bugs bugzilla gnome org
2005-11-08 Zack Cerza <zcerza redhat com>
* dogtail/tree.py: Remove "various wrapper/helper search methods":
Node.{child, menu, menuItem, textentry, button, childLabelled,
childNamed, tab}(). Node.menu() conflicted with the other Node.menu(),
which is needed to execute the AccessibleAction's 'menu' action.
Unfortunately, these methods are heavily used in both the apps/wrappers files
and in the example files.
examples/evolution-test-composing-html.py now fails:
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Evolution version 2.4.1
evolution-data-server version 1.4.1.1
gtkhtml3 version 3.8.1
Traceback (most recent call last):
File "./evolution-test-composing-html.py", line 14, in ?
composer = evo.composeEmail()
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
284, in composeEmail
self.menu("File").child("Mail Message").click()
File "/home/david/coding/dogtail/dogtail/tree.py", line 457, in __getattr__
actions = self.actions
File "/home/david/coding/dogtail/dogtail/tree.py", line 449, in __getattr__
for i in xrange (self.__action.getNActions ()):
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: _Node__action
examples/evolution-test-configuring-exchange.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Evolution version 2.4.1
evolution-data-server version 1.4.1.1
gtkhtml3 version 3.8.1
Traceback (most recent call last):
File "./evolution-test-configuring-exchange.py", line 19, in ?
evo.createAccount(account, "test Exchange account")
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
236, in createAccount
self.getConfigMenuItem().click()
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line 64,
in getConfigMenuItem
return self.menu("Edit").menuItem("Preferences")
File "/home/david/coding/dogtail/dogtail/tree.py", line 457, in __getattr__
actions = self.actions
File "/home/david/coding/dogtail/dogtail/tree.py", line 449, in __getattr__
for i in xrange (self.__action.getNActions ()):
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: _Node__action
examples/evolution-test-configuring-imap-smtp.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Evolution version 2.4.1
evolution-data-server version 1.4.1.1
gtkhtml3 version 3.8.1
Traceback (most recent call last):
File "examples/evolution-test-configuring-imap-smtp.py", line 21, in ?
evo.createAccount(account, "test IMAP/SMTP account")
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
236, in createAccount
self.getConfigMenuItem().click()
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line 64,
in getConfigMenuItem
return self.menu("Edit").menuItem("Preferences")
File "/home/david/coding/dogtail/dogtail/tree.py", line 457, in __getattr__
actions = self.actions
File "/home/david/coding/dogtail/dogtail/tree.py", line 449, in __getattr__
for i in xrange (self.__action.getNActions ()):
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: _Node__action
examples/evolution-test-sending-email.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Evolution version 2.4.1
evolution-data-server version 1.4.1.1
gtkhtml3 version 3.8.1
Traceback (most recent call last):
File "examples/evolution-test-sending-email.py", line 18, in ?
composer = evo.composeEmail()
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
284, in composeEmail
self.menu("File").child("Mail Message").click()
File "/home/david/coding/dogtail/dogtail/tree.py", line 457, in __getattr__
actions = self.actions
File "/home/david/coding/dogtail/dogtail/tree.py", line 449, in __getattr__
for i in xrange (self.__action.getNActions ()):
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: _Node__action
examples/evolution-test-first-time-wizard.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Shutting down evolution (Evolution Shell)
Shutting down evolution-alarm-notify (Evolution Calendar alarm notification service)
Bonobo accessibility support initialized
GTK Accessibility Module initialized
adding hook target 'source'
Setting up initial mail tree
addressbook_migrate (0.0.0)
(evolution:21608): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET
(widget)' failed
Evolution version 2.4.1
evolution-data-server version 1.4.1.1
gtkhtml3 version 3.8.1
Traceback (most recent call last):
File "examples/evolution-test-first-time-wizard.py", line 21, in ?
evo = doFirstTimeWizard(account, "test IMAP/SMTP account", "America/New_York")
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
589, in doFirstTimeWizard
evo.doFirstTimeWizard(account, accountName, timezoneName)
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
261, in doFirstTimeWizard
setupWiz = Wizard(self.window('Evolution Setup Assistant'))
File "/home/david/coding/dogtail/dogtail/tree.py", line 958, in __init__
logger.log("%s is on '%s' page"%(self, self.getPageTitle()))
File "/home/david/coding/dogtail/dogtail/tree.py", line 981, in getPageTitle
currentPage = self.currentPage()
File "/home/david/coding/dogtail/dogtail/tree.py", line 966, in currentPage
pageHolder = self.child(roleName='panel')
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: child
examples/evolution-test-survives-email-CAN-2005-0806.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Evolution version 2.4.1
evolution-data-server version 1.4.1.1
gtkhtml3 version 3.8.1
Traceback (most recent call last):
File "examples/evolution-test-survives-email-CAN-2005-0806.py", line 17, in ?
evo.importSingleEmail(path.abspath("data/CAN-2005-0806.mbox"))
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
139, in importSingleEmail
importAssistant = self.__doImportFromSingleFile(filename, filetype)
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
112, in __doImportFromSingleFile
importAssistant = self.__doImportFirstPage()
File "/home/david/coding/dogtail/dogtail/apps/wrappers/evolution.py", line
100, in __doImportFirstPage
self.menu("File").menuItem("Import...").click()
File "/home/david/coding/dogtail/dogtail/tree.py", line 457, in __getattr__
actions = self.actions
File "/home/david/coding/dogtail/dogtail/tree.py", line 449, in __getattr__
for i in xrange (self.__action.getNActions ()):
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: _Node__action
examples/evolution-test-switching-components.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Traceback (most recent call last):
File "examples/evolution-test-switching-components.py", line 20, in ?
evo.menu('View').menu('Window').menuItem(compName).click()
File "/home/david/coding/dogtail/dogtail/tree.py", line 457, in __getattr__
actions = self.actions
File "/home/david/coding/dogtail/dogtail/tree.py", line 449, in __getattr__
for i in xrange (self.__action.getNActions ()):
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: _Node__action
./examples/gcalctool-test-fibonacci.py
Detecting distribution: Red Hat/Fedora/derived distribution
Warning: Dogtail could not import the Python bindings for libwnck.
Window-manager manipulation will not be available.
Bonobo accessibility support initialized
GTK Accessibility Module initialized
(gcalctool:21663): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion
`window != NULL' failed
(gcalctool:21663): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion
`window != NULL' failed
Traceback (most recent call last):
File "./examples/gcalctool-test-fibonacci.py", line 18, in ?
gcalctool.clearEntry()
File "/home/david/coding/dogtail/dogtail/apps/wrappers/gcalctool.py", line 20,
in clearEntry
self.button('Clear entry').click()
File "/home/david/coding/dogtail/dogtail/tree.py", line 493, in __getattr__
else: raise AttributeError, attr
AttributeError: button
------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]