Re: [gnome-desktop-testing] basic problems of mago test.



Hi Junfeng,

Can you try importing ldtp module from python prompt ?

python
>>> import ldtp

Looks like LDTP is not installed in python path.

Thanks
Nagappan

On Thu, Nov 12, 2009 at 8:38 PM, WEI Junfeng <Junfeng Wei alcatel-sbell com cn> wrote:
Hi,

 I installed ldtp 1.7.1,but


  Tracebak (most recent call last):
   File "./bin/mago" ,line 7, in<module>
   from mago.cmd.man import main
   File "/home/wjf/mago/mago/cmd/main.py",line 10,in<module>
   import ldtp
  importError: No module named ldtp

occurs again.

 What should I do?

Thanks.
Junfeng


-----Original Message-----
From: Nagappan Alagappan [mailto:nalagappan vmware com]
Sent: Friday, November 13, 2009 11:08 AM
To: WEI Junfeng
Cc: desktop-testing-list gnome org
Subject: Re: [gnome-desktop-testing] basic problems of mago test.

Hello Junfeng,

Download LDTP 1.7.1 from http://LDTP.freedesktop.org and install the
binary. Hope this helps.

Thanks
Nagappan

Sent from my iPhone

On Nov 12, 2009, at 6:03 PM, "WEI Junfeng"
<Junfeng Wei alcatel-sbell com cn<mailto:Junfeng Wei alcatel-sbell com c
n>> wrote:


Hi,
  When execute  PYTHONPATH-. ./bin/mago -a gedit,tells such info as
follows:

  Tracebak (most recent call last):
   File "./bin/mago" ,line 7, in<module>
   from mago.cmd.man import main
   File "/home/wjf/mago/mago/cmd/main.py",line 10,in<module>
   import ldtp
importError: No module named ldtp


   Should I set PYTHONPATH? How to set that in ubuntu8.04.


  Thanks a lot.



 Best regards,
 Junfeng

_______________________________________________
http://live.gnome.org/DesktopTesting
desktop-testing-list
mailing list
desktop-testing-list gnome org<mailto:desktop-testing-list gnome org>
http://mail.gnome.org/mailman/listinfo/desktop-testing-list
_______________________________________________
http://live.gnome.org/DesktopTesting
desktop-testing-list
mailing list
desktop-testing-list gnome org
http://mail.gnome.org/mailman/listinfo/desktop-testing-list



--
Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org
http://nagappanal.blogspot.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]