From: Nicholas Ford <nicholas.ford@gm...> - 2008-05-27 21:05:01
I am running an openembedded image on a verdex bluetooth board. I can run
all the normal bluetooth stuff from the command line, but I really need to
script some things from python. I have compiled the ipgk stuff for pybluez
with bitbake and it appeared to install successfully.
Currently, though, I am getting the following error when I call import
bluetooth from the command line:
ImportError: No module named struct
Any ideas / suggestions?
View this message in context: http://www.nabble.com/pybluez-and-OpenEmbedded-tp17500013p17500013.html
Sent from the Gumstix mailing list archive at Nabble.com.
From: Tim Redfern <gumstix@ec...> - 2008-05-28 13:57:17
Hi I also have this problem, it has been discussed here before,
apparently its a minor bug in the openembedded installer for python::
On Mon, 2008-03-17 at 09:33 -0400, Shrutarshi Basu wrote:
> Thanks for that, but apparently there was a bug in the Python-2.5
> manifest which caused python-core not to include the struct module,
> which pyserial depends on. I've submitted a patch through the bug
> tracker, so it should be fixed soon.
And its also mentioned in Shrutarshi's blog:
However the patch sumbitted seems to have been for the wrong file, and
the bug is certainly still there. I intend to look into it although its
not my no.1 priority at the moment.
On Tue, 2008-05-27 at 14:05 -0700, Nicholas Ford wrote:
> I am running an openembedded image on a verdex bluetooth board. I can run
> all the normal bluetooth stuff from the command line, but I really need to
> script some things from python. I have compiled the ipgk stuff for pybluez
> with bitbake and it appeared to install successfully.
> Currently, though, I am getting the following error when I call import
> bluetooth from the command line:
> ImportError: No module named struct
> Any ideas / suggestions?
Get latest updates about Open Source Projects, Conferences and News.