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



Hello Junfeng, can you answer to this two questions, please?

What distribution are you using? Which release?

Thanks,
Ara.


On 11/13/2009 07:15 AM, WEI Junfeng wrote:
Hi, Nagappan
I installed them with
dpkg -i *ldtp*.deb
but the Errors occurs again.
Thanks,
BR,
Junfeng

------------------------------------------------------------------------
*From:* Nagappan Alagappan [mailto:nagappan gmail com]
*Sent:* Friday, November 13, 2009 1:54 PM
*To:* WEI Junfeng
*Cc:* Nagappan Alagappan; desktop-testing-list gnome org
*Subject:* Re: [gnome-desktop-testing] basic problems of mago test.

Hi Junfeg,

On Ubuntu, if you have downloaded latest LDTP binary package from
http://ldtp.freedesktop.org, then do:

# Assuming both ldtp*.deb and python-ldtp*.deb are in same folder
dpkg -i *ldtp*.deb

On RPM based distribution you can do
rpm -ivh *ldtp*.rpm

 From source:

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
<mailto: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
    <mailto:nagappan gmail com>]
    *Sent:* Friday, November 13, 2009 1:27 PM
    *To:* WEI Junfeng
    *Cc:* Nagappan Alagappan; desktop-testing-list gnome org
    <mailto: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
    <mailto: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
        <mailto:nalagappan vmware com>]
        Sent: Friday, November 13, 2009 11:08 AM
        To: WEI Junfeng
        Cc: desktop-testing-list gnome org
        <mailto: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 cn><mailto:Junfeng Wei alcatel-sbell com c
        <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><mailto: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
        <mailto: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



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


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