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

Nagappan A nagappan at gmail.com
Mon Aug 11 08:25:33 PDT 2008


Hello Ruiran,
  I'm not facing any such issue. Are you trying from terminal mode, instead
of X windows mode ?

Thanks
Nagappan

2008/8/5 Ruiran Wang <Ruiran.Wang at plenware.com>

> Hi,
>  I try again after installing python-ldtp with the command "apt-get install
> python-ldtp", and this time I get the following information:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> /var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning:
> could not open display
>  warnings.warn(str(e), _gtk.Warning)
> Traceback (most recent call last):
>  File "/usr/bin/ldtpeditor", line 78, in <module>
>    raise ImportError,  'libldtpcodegen not found'
> ImportError: libldtpcodegen not found
>
>
> In addition, when I use ldtp in python ,I have a problem after  inputting
>  "from idtp import*". such as:
>
> >>> from ldtp import *
> Traceback (most recent call last):
>         File "<stdin>", line 1, in <module>
> ImportError: No module named ldtp
>
> What should I do to solve these problems?
>
> Thank you very much!!
>
>
> -----Original Message-----
> From: Kartik Mistry [mailto:kartik.mistry at gmail.com]
> Sent: 2008年8月6日 11:53
> To: Ruiran Wang
> Cc: ldtp-dev at lists.freedesktop.org
> Subject: Re: How could I solve this problem?
>
> 2008/8/6 Ruiran Wang <Ruiran.Wang at plenware.com>:
> >      I used the command "apt-get install ldtp" to install ldtp in Debian,
> > and  the ldtp version is 1.2.0-1.
>
> Hi,
>
> Also install python-ldtp package along with ldtp package.
>
> >      Another problem is that when I use ldtpeditor with inputting
> > "ldtpeditor" , I get following information:
> >
> > Traceback (most recent call last):
> >
> >   File "/usr/bin/ldtpeditor", line 78, in <module>
> >
> >     raise ImportError,  'libldtpcodegen not found'
> >
> > ImportError: libldtpcodegen not found
>
> Try this again after installing python-ldtp and let me know.
>
> >      BTW, could ldtp be installed in the NOKIA device N810???
>
> Try it :)
>
> --
>  Cheers,
>  Kartik Mistry | 0xD1028C8D | IRC: kart_
>  Blogs: {ftbfs,kartikm}.wordpress.com
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>



-- 
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20080811/c6d7f49c/attachment.htm 


More information about the LDTP-dev mailing list