[meta-freescale] yocto and linux Mint 17.3
Gary Thomas
gary at mlbassoc.com
Fri Feb 5 03:26:54 PST 2016
On 2016-02-05 12:00, idealsim wrote:
> 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 ?
>
Kubuntu 15.10 works perfectly with Yocto.
> Le Fri, 05 Feb 2016 09:17:23 +0100, idealsim <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> 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] *De la part de*
> idealsim
> *Envoyé :* jeudi 4 février 2016 13:13
> *À :* 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 ?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the meta-freescale
mailing list