[LDTP-Dev] How could I solve this problem?
Ruiran Wang
Ruiran.Wang at plenware.com
Tue Aug 5 21:28:46 PDT 2008
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
More information about the LDTP-dev
mailing list