[meta-freescale] yocto and linux Mint 17.3

Esponde, Joel Joel.Esponde at Honeywell.com
Fri Feb 5 08:34:44 PST 2016


Ok so that’s a step that is working well in my system, I have no errors…
Which version of python is shown when you start your python command line?

In my case, python 2.7.6 appears. I am wondering if in your system python3 is not the default python version…

Joël


De : idealsim [mailto:idealsim at laposte.net]
Envoyé : vendredi 5 février 2016 14:21
À : meta-freescale at yoctoproject.org; Esponde, Joel
Objet : Re: [meta-freescale] yocto and linux Mint 17.3

If i did this :
ImportError : No module named pysqlite2

But if i try to install it, it said me that is already install !

Le Fri, 05 Feb 2016 13:26:51 +0100, Esponde, Joel <Joel.Esponde at honeywell.com<mailto:Joel.Esponde at honeywell.com>> a écrit:

On my side, it is working well with Ubuntu 14.04 LTS.

BTW, your problem is quite strange…
Did you just try to start python in a shell and then manually execute import pysqlite2?

Joël


De : idealsim [mailto:idealsim at laposte.net]
Envoyé : vendredi 5 février 2016 12:01
À : meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>; Esponde, Joel
Cc : ross.burton at intel.com<mailto:ross.burton at intel.com>
Objet : Re: [meta-freescale] yocto and linux Mint 17.3

I think i move my host machine to another distro, what do you think about kubuntu 14.04 lts or ubuntu 14.10 lts is better for yocto ?

Le Fri, 05 Feb 2016 09:17:23 +0100, idealsim <idealsim at laposte.net<mailto:idealsim at laposte.net>> a écrit:

thank's for you help but i already install it (sorry it's in french, but already install) :

mls at be-linuxHpZ400 ~ $ sudo apt-get install python-pysqlite2
[sudo] password for mls:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
python-pysqlite2 est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 104 non mis à jour

same with synaptic (see picture join)

Otherwise, i reset all my yocto directory (repo with) to restart from scratch, but now i can't init my repo ?!

mls at be-linuxHpZ400 ~/fsl-release-bsp $ repo init
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: http

and if i test the git port i obtain this :

mls at be-linuxHpZ400 ~/fsl-release-bsp $ nmap github.com -p https,git

Starting Nmap 6.40 ( http://nmap.org ) at 2016-02-04 18:31 CET
Nmap scan report for github.com (192.30.252.128)
Host is up (0.0049s latency).
PORT STATE SERVICE
443/tcp filtered https
9418/tcp filtered git

Nmap done: 1 IP address (1 host up) scanned in 2.55 seconds
mls at be-linuxHpZ400 ~/fsl-release-bsp $ nmap github.com -p http,git

Starting Nmap 6.40 ( http://nmap.org ) at 2016-02-04 18:31 CET
Nmap scan report for github.com (192.30.252.128)
Host is up (0.013s latency).
PORT STATE SERVICE
80/tcp open http
8008/tcp open http
9418/tcp filtered git

Apparently the git port is filtered (normaly open !) and if i try a repo init on my virtual machine (under ubuntu 12.04) it works !!!


Le Thu, 04 Feb 2016 18:01:20 +0100, Esponde, Joel <Joel.Esponde at honeywell.com<mailto:Joel.Esponde at honeywell.com>> a écrit:

Hi,

You should try to install pysqlite2 like this:

sudo apt-get install python-pysqlite2



It works well in a pure Ubuntu 14.04 installation.

Joël


De : meta-freescale-bounces at yoctoproject.org<mailto:meta-freescale-bounces at yoctoproject.org> [mailto:meta-freescale-bounces at yoctoproject.org] De la part de idealsim
Envoyé : jeudi 4 février 2016 13:13
À : meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
Objet : [meta-freescale] yocto and linux Mint 17.3

 Hi all,  i have a problem to start a buil with a host pc. My pc is under linux mint 17.3 (cinnamon) 64 bits,  Linux Mint 17.3 is based on Ubuntu 14.04 . When i launch a bitbake, i have this error :

ImportError: No module named pysqlite2
/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py:107: RuntimeWarning: Parent module 'bb' not found while handling absolute import
from bb.msg import BBLogFormatter
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py", line 107, in print_ui_queue
from bb.msg import BBLogFormatter
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module>
import bb.persist_data, bb.utils
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module>
from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py", line 107, in print_ui_queue
from bb.msg import BBLogFormatter
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
from bb import fetch2 as fetch
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module>
import bb.persist_data, bb.utils
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module>
from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2


  apparently bb can't import pysqlite2 ? I already install pip install pysqlite libsqlite3-dev but nothing to solve my problem ... An idea to resolve this please ?


Mickaël
--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/

--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/

--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/


--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160205/c02f13db/attachment.html>


More information about the meta-freescale mailing list