https://bugzilla.gnome.org/show_bug.cgi?id=597382 LDTP | ldtp2 | unspecified
Summary: running examples/gedit.py fails with NameError
Classification: Other
Product: LDTP
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ldtp2
AssignedTo:
ldtp-dev@...
ReportedBy:
thekorn@...
QAContact:
ldtp-dev@...
GNOME target: ---
GNOME version: ---
Using the gedit example from the latest checkout of ldtpv2 I get:
markus@thekorn ~/devel/ldtp2 % PYTHONPATH="." python examples/gedit.py
Traceback (most recent call last):
File "examples/gedit.py", line 28, in <module>
ldtp.imagecapture('*gedit', '/tmp/foo.png')
File "/home/markus/devel/ldtp2/ldtp/__init__.py", line 53, in imagecapture
outFile = os.path.expanduser(outFile)
NameError: global name 'os' is not defined
--
Configure bugmail:
https://bugzilla.gnome.org/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
LDTP-dev mailing list
LDTP-dev@...
http://lists.freedesktop.org/mailman/listinfo/ldtp-dev