[LDTP-Dev] help me with initappmap !!!
Harishankaran.
cs10416 at nitt.edu
Mon Apr 10 17:08:10 PDT 2006
hi,
This is the code snippet from my python script
from ldtp import *
import string, sys, os
from ldtputils import *
appmap_path = ''
if os.access ('./gnome-dictionary.map', os.F_OK | os.R_OK) == 0:
print 'Appmap path missing'
sys.exit(0);
else:
print "Correct Appmap"
initappmap ('./gnome-dictionary.map')
Here first i have checked whether the file is readable by using access and that
check is passed but initappmap fails :-( .
The error displayed is
hari at nosip:~/LDTPstuff/pyautosuite/gnome-dictionary> python gnome-dictionary.py
Correct Appmap
initappmap ( ( ./gnome-dictionary.map )
*** Unable to open appmap file
Traceback (most recent call last):
File "gnome-dictionary.py", line 13, in ?
initappmap ('./gnome-dictionary.map')
File "/usr/lib/python2.4/site-packages/ldtp.py", line 1553, in initappmap
raise LdtpExecutionError (str (msg))
ldtp.LdtpExecutionError: "'initappmap failed'"
hari at nosip:~/LDTPstuff/pyautosuite/gnome-dictionary>
Can anyone help me with this problem .
Thanks in advance
-------------------------------------------------
This mail sent through IMP(http://www.nitt.edu)
More information about the LDTP-dev
mailing list