[LDTP-Dev] [Bug 589898] New: local variable 'gobject' referenced before assignment
LDTP (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Jul 27 09:21:21 PDT 2009
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=589898
LDTP | general | Ver: unspecified
Summary: local variable 'gobject' referenced before assignment
Product: LDTP
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: general
AssignedTo: ldtp-maint at gnome.bugs
ReportedBy: murrayc at murrayc.com
QAContact: ldtp-dev at lists.freedesktop.org
GNOME version: Unspecified
GNOME milestone: Unspecified
Using ldtp from git master, I get this when using Glom's test scripts. I guess
it could be a problem in our python, but maybe it's a problem in ldtp. I think
this is when trying to use the GtkFileChooser:
Traceback (most recent call last):
File "database-creation/create-db.py", line 71, in <module>
common.select_backend(creation_dialog, backend)
File "./common.py", line 93, in select_backend
if ldtp.objectexist(dialog_title, 'rbtn' + text):
File "/opt/gnome220/lib/python2.5/site-packages/ldtp.py", line 1903, in
objectexist
objinfo = getobjectinfo (windowName, componentName)
File "/opt/gnome220/lib/python2.5/site-packages/ldtp.py", line 3381, in
getobjectinfo
logFailures ('getobjectinfo failed: %s' % msg.value)
File "/opt/gnome220/lib/python2.5/site-packages/ldtp.py", line 111, in
logFailures
log (ldtputils.imagecapture (outFile = _logFile), "screenshot")
File "/opt/gnome220/lib/python2.5/site-packages/ldtputils.py", line 203, in
imagecapture
gobject.idle_add(capturescreenshot)
UnboundLocalError: local variable 'gobject' referenced before assignment
--
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=589898.
More information about the LDTP-dev
mailing list