[no subject]



tar zxvf ldtp-version.tar.gz
cd ldtp-version
./configure --prefix=/usr
make
sudo make install

Hope this helps.

Thanks
Nagappan

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

>  Hi,Nagappan
>   Errors as follows:
>
>   File"<stdin>",line 1,in <module>
> ImportError: NO module named ldtp
>
> How to install ldtp in python path  ?
>
> Thanks for your help.
> Junfeng
>
>  ------------------------------
> *From:* Nagappan Alagappan [mailto:nagappan gmail com]
> *Sent:* Friday, November 13, 2009 1:27 PM
> *To:* WEI Junfeng
> *Cc:* Nagappan Alagappan; desktop-testing-list gnome org
> *Subject:* 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<http://live.gnome.org/DesktopTesting%0Adesktop-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<http://live.gnome.org/DesktopTesting%0Adesktop-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
>



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

--0016e6da2e7efc625504783a4b43
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: quoted-printable

Hi Junfeg,<br><br>On Ubuntu, if you have downloaded latest LDTP binary pack=
age from <a href=3D"http://ldtp.freedesktop.org";>http://ldtp.freedesktop.or=
g</a>, then do:<br><br># Assuming both ldtp*.deb and python-ldtp*.deb are i=
n same folder<br>

dpkg -i *ldtp*.deb<br><br>On RPM based distribution you can do<br>rpm -ivh =
*ldtp*.rpm<br><br>From source:<br><br>tar zxvf ldtp-version.tar.gz<br>cd ld=
tp-version<br>./configure --prefix=3D/usr<br>make<br>sudo make install<br>

<br>Hope this helps.<br><br>Thanks<br>Nagappan<br><br><div class=3D"gmail_q=
uote">On Thu, Nov 12, 2009 at 9:32 PM, WEI Junfeng <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:Junfeng Wei alcatel-sbell com cn">Junfeng Wei alcatel-sbell=
.com.cn</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>Hi=
,Nagappan</span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>&n=
bsp;&nbsp;Errors as follows:</span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>&n=
bsp; </span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>&n=
bsp; File&quot;&lt;stdin&gt;&quot;,line 1,in=20
&lt;module&gt;</span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>Im=
portError: NO module named ldtp</span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span></=
span></font>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>Ho=
w to install ldtp in python path&nbsp;=20
?</span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span></=
span></font>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>Th=
anks for your help.</span></font></div>
<div dir=3D"ltr" align=3D"left"><font color=3D"#0000ff" size=3D"2"><span>Ju=
nfeng</span></font></div><font color=3D"#0000ff" size=3D"2"></font><br>
<div dir=3D"ltr" align=3D"left" lang=3D"en-us">
<hr>
<font face=3D"Tahoma" size=3D"2"><b>From:</b> Nagappan Alagappan=20
[mailto:<a href=3D"mailto:nagappan gmail com" target=3D"_blank">nagappan gm=
ail.com</a>] <br><b>Sent:</b> Friday, November 13, 2009 1:27=20
PM<br><b>To:</b> WEI Junfeng<br><b>Cc:</b> Nagappan Alagappan;=20
<a href=3D"mailto:desktop-testing-list gnome org" target=3D"_blank">desktop=
-testing-list gnome org</a><br><b>Subject:</b> Re: [gnome-desktop-testing]=
=20
basic problems of mago test.<br></font><br></div>
<div></div>Hi Junfeng,<br><br>Can you try importing ldtp module from python=
=20
prompt ?<br><br>python<br>&gt;&gt;&gt; import ldtp<br><br>Looks like LDTP i=
s not=20
installed in python path.<br><br>Thanks<br>Nagappan<br><br>
<div class=3D"gmail_quote">On Thu, Nov 12, 2009 at 8:38 PM, WEI Junfeng <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:Junfeng Wei alcatel-sbell com cn" targ=
et=3D"_blank">Junfeng Wei alcatel-sbell com cn</a>&gt;</span>=20
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>&nbsp;=
I=20
  installed ldtp 1.7.1,but<br><br><br>&nbsp; Tracebak (most recent call=20
  last):<br>&nbsp; &nbsp;File &quot;./bin/mago&quot; ,line 7, in&lt;module&=
gt;<br>&nbsp;=20
  &nbsp;from mago.cmd.man import main<br>&nbsp; &nbsp;File=20
  &quot;/home/wjf/mago/mago/cmd/main.py&quot;,line 10,in&lt;module&gt;<br>&=
nbsp;=20
  &nbsp;import ldtp<br>&nbsp; importError: No module named ldtp<br><br>occu=
rs=20
  again.<br><br>&nbsp;What should I=20
  do?<br><br>Thanks.<br>Junfeng<br><br><br>-----Original Message-----<br>Fr=
om:=20
  Nagappan Alagappan [mailto:<a href=3D"mailto:nalagappan vmware com" targe=
t=3D"_blank">nalagappan vmware com</a>]<br>Sent:=20
  Friday, November 13, 2009 11:08 AM<br>To: WEI Junfeng<br>Cc: <a href=3D"m=
ailto:desktop-testing-list gnome org" target=3D"_blank">desktop-testing-lis=
t gnome org</a><br>Subject:=20
  Re: [gnome-desktop-testing] basic problems of mago test.<br><br>Hello=20
  Junfeng,<br><br>Download LDTP 1.7.1 from <a href=3D"http://LDTP.freedeskt=
op.org" target=3D"_blank">http://LDTP.freedesktop.org</a> and install the<b=
r>binary. Hope=20
  this helps.<br><br>Thanks<br>Nagappan<br><br>Sent from my iPhone<br><br>O=
n Nov=20
  12, 2009, at 6:03 PM, &quot;WEI Junfeng&quot;<br>&lt;<a href=3D"mailto:Ju=
nfeng Wei alcatel-sbell com cn" target=3D"_blank">Junfeng Wei alcatel-sbell=
.com.cn</a>&lt;mailto:<a href=3D"mailto:Junfeng Wei alcatel-sbell com c" ta=
rget=3D"_blank">Junfeng Wei alcatel-sbell com c</a><br>

n&gt;&gt;=20
  wrote:<br><br><br>Hi,<br>&nbsp; When execute &nbsp;PYTHONPATH-. ./bin/mag=
o -a=20
  gedit,tells such info as<br>follows:<br><br>&nbsp; Tracebak (most recent =
call=20
  last):<br>&nbsp; &nbsp;File &quot;./bin/mago&quot; ,line 7, in&lt;module&=
gt;<br>&nbsp;=20
  &nbsp;from mago.cmd.man import main<br>&nbsp; &nbsp;File=20
  &quot;/home/wjf/mago/mago/cmd/main.py&quot;,line 10,in&lt;module&gt;<br>&=
nbsp;=20
  &nbsp;import ldtp<br>importError: No module named ldtp<br><br><br>&nbsp;=
=20
  &nbsp;Should I set PYTHONPATH? How to set that in=20
  ubuntu8.04.<br><br><br>&nbsp; Thanks a lot.<br><br><br><br>&nbsp;Best=20
  regards,<br>&nbsp;Junfeng<br><br>________________________________________=
_______<br><a href=3D"http://live.gnome.org/DesktopTesting%0Adesktop-testin=
g-list" target=3D"_blank">http://live.gnome.org/DesktopTesting<br>desktop-t=
esting-list</a>=20
  mailing list<br><a href=3D"mailto:desktop-testing-list gnome org" target=
=3D"_blank">desktop-testing-list gnome org</a>&lt;mailto:<a href=3D"mailto:=
desktop-testing-list gnome org" target=3D"_blank">desktop-testing-list gnom=
e.org</a>&gt;<br>

<a href=3D"http://mail.gnome.org/mailman/listinfo/desktop-testing-list"; tar=
get=3D"_blank">http://mail.gnome.org/mailman/listinfo/desktop-testing-list<=
/a><br>_______________________________________________<br><a href=3D"http:/=
/live.gnome.org/DesktopTesting%0Adesktop-testing-list" target=3D"_blank">ht=
tp://live.gnome.org/DesktopTesting<br>

desktop-testing-list</a>=20
  mailing list<br><a href=3D"mailto:desktop-testing-list gnome org" target=
=3D"_blank">desktop-testing-list gnome org</a><br><a href=3D"http://mail.gn=
ome.org/mailman/listinfo/desktop-testing-list" target=3D"_blank">http://mai=
l.gnome.org/mailman/listinfo/desktop-testing-list</a><br>

</blockquote></div><br><br clear=3D"all"><br>-- <br>Linux Desktop (GUI Appl=
ication) Testing Project - <a href=3D"http://ldtp.freedesktop.org"; target=
=3D"_blank">http://ldtp.freedesktop.org</a><br><a href=3D"http://nagappanal=
.blogspot.com" target=3D"_blank">http://nagappanal.blogspot.com</a><br>

</div>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Linux Desktop (GUI Appl=
ication) Testing Project - <a href=3D"http://ldtp.freedesktop.org";>http://l=
dtp.freedesktop.org</a><br><a href=3D"http://nagappanal.blogspot.com";>http:=
//nagappanal.blogspot.com</a><br>



--0016e6da2e7efc625504783a4b43--


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