After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342791 - ldtp block!
ldtp block!
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp
0.4.x
Other All
: Normal blocker
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2006-05-24 10:36 UTC by lavi.xu
Modified: 2006-07-06 01:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description lavi.xu 2006-05-24 10:36:09 UTC
Please describe the problem:
run some commands after imported the ldpt moudle in time, LDTP will be blocked!

Steps to reproduce:
1. confirm these conditions:
  exit the ldtp;
  close any idle process;
  open gedit and close all of doc or tab;
2. write these code to a file test.py by useing any texteditor (vim would be a 
good choice):
# for testing
 
from ldtp import *
 
try:
    selectmenuitem('*-gedit', 'mnuDocuments;mnuCloseAll')
except error:
    print 'can not be here'
except LdtpExecutionError:
    print 'error'
 
try:
    click('*gedit', 'btnNew')
except:
    click('*gedit', 'btnNew')
3.  run 'python test.py' under the CLI.

Env:
  Ubuntu5.10
  gnome2.12.1
  python2.4.3

Actual results:
the script blocked.

Expected results:
it will print 'ldtp.LdtpExecutionError: "'click failed' after 2rd click command.

Does this happen every time?
every

Other information:
sure ldtp was exited.
sure all of gedit tab was close.
sure run the file under the CLI.
sure the same os. ?? -- this i cannt sure it will avoid this bug.