[LDTP-Dev] How could I solve this problem?

Premkumar Jothimani prem.jothimani at gmail.com
Wed Nov 16 22:58:30 PST 2005


Hi Nags/Victor,

I checked the ldtputils.py file and there is a line "import ldtp". So I am
not sure why Victor encountred such error.I am afraid ldtp.so file available
in Victor's comp is not proper. To cross check it, Victor can try some
sample ldtp commands like initappmap, click etc., from python prompt. If
"from ldtp import *", works from python prompt then it means things are
fine. lets us wait for Victor to try this.

Regards
Premkumar J

On 11/17/05, Nagappan <anagappan at novell.com> wrote:
>
> Hi Victor,
> Looks like this line is missing in the script 'from ldtp import *' ?
> Python imaging is required only when you are planing to compare two
> images. If you are not planing to use that functionality you can just
> ignore the message.
>
> Thanks
> Nagappan
>
> 姜国伟 wrote:
> >
> >
> >
> >
> > Thanks!
> > The two files ldtp.so and ldtputils.py just in the right
> > place"/usr/lib/python2.4/site-packages".But when I input the
> > command 'python nautilus.py',it uses python2.3(there are two
> > pythons in my linux).So I use the command '/usr/bin/python2.4
> > nautilus.py'this time,new error happended:
> >
> >
> > Traceback (most recent call last):
> > File "nautilus.py", line 4, in ?
> > from ldtputils import *
> > File '/usr/lib/python2.4/site-packages/ldtputils.py" ,line
> > 31,in ?
> > log('Python-Imaging package not installed','error')
> > NameError: name 'log' is not defined
> >
> > Should I install the package'Python-Imaging'?On suse9.3 there
> > isn't so much trouble.
> >
> >
> > Victor Jiang
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > LDTP-dev mailing list
> > LDTP-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
> >
>
> --
> Nagappan A <anagappan at novell.com>
> Novell Software Development (I) Pvt. Ltd.
> Linux Desktop Testing Project -
> http://gnomebangalore.org/ldtp/index.php/Main_Page
> http://nagappanal.blogspot.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20051117/7eca6a91/attachment-0001.html


More information about the LDTP-dev mailing list