* yocto and linux mint 17.3
@ 2016-01-19 12:44 idealsim
0 siblings, 0 replies; 18+ messages in thread
From: idealsim @ 2016-01-19 12:44 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 2228 bytes --]
Hi all, i'm new on yocto and i have a problem to start a buil with my host
pc. My pc is under linux mint 17.3 (cinnamon) 64 bits. 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 ?
--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
[-- Attachment #2.1: Type: text/html, Size: 3601 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-17 13:10 ` Esponde, Joel
@ 2016-02-26 18:46 ` idealsim
0 siblings, 0 replies; 18+ messages in thread
From: idealsim @ 2016-02-26 18:46 UTC (permalink / raw)
To: Esponde, Joel, Edward L Swarthout, meta-freescale
I apologize, but my answer was not send with my mail box ... To resolve
this i installed kubuntu 14.04 Lts and now all work fine !
Mickael
Le 17/02/2016 14:10, Esponde, Joel a écrit :
> Hi Mickaël,
>
> Any news about this issue?
> Did you manage to recover your python installation?
>
> Joël
>
> -----Message d'origine-----
> De : meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] De la part de Edward L Swarthout
> Envoyé : vendredi 5 février 2016 16:50
> À : idealsim; meta-freescale@yoctoproject.org
> Objet : Re: [meta-freescale] yocto and linux Mint 17.3
>
> Is there a non-standard python in your path which doesn't use the system path?
> Check with:
>
> $ which python
> $ python -c 'import sys; print sys.path'
>
> Ed
>
> ---
> From: idealsim <idealsim@laposte.net>
> Sent: Friday, February 5, 2016 7:21 AM
> To: meta-freescale@yoctoproject.org; Esponde, Joel
> Subject: 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@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?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 16:34 ` Esponde, Joel
@ 2016-02-18 9:41 ` idealsim
0 siblings, 0 replies; 18+ messages in thread
From: idealsim @ 2016-02-18 9:41 UTC (permalink / raw)
To: meta-freescale, Esponde, Joel, Gary Thomas
[-- Attachment #1: Type: text/plain, Size: 7127 bytes --]
For information, i have installed kubuntu 15.04 lts and all my problem
resolved for the moment ...
Thanks for your answers !
Mickaël
Le Fri, 05 Feb 2016 17:34:44 +0100, Esponde, Joel
<Joel.Esponde@honeywell.com> a écrit:
>
> 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@laposte.net]Envoyé : vendredi 5 février
> 2016 14:21
> À : meta-freescale@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@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@laposte.net]Envoyé : vendredi 5 février
>> 2016 12:01
>> À : meta-freescale@yoctoproject.org; Esponde, Joel
>> Cc : ross.burton@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@laposte.net> a
>> écrit:
>>
>>
>>>
>>> thank's for you help but i already install it (sorry it's in french,
>>> but already install) :
>>>
>>>
>>> mls@be-linuxHpZ400 ~ $ sudo apt-get install python-pysqlite2
>>> [sudo] password for mls:Lecture des listes de paquets... Fait
>>> Construction de l'arbre des dépendancesLecture 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@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@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@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@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@yoctoproject.org
>>>> [mailto:meta-freescale-bounces@yoctoproject.org] De la part de
>>>> idealsim
>>>> Envoyé : jeudi 4 février 2016 13:13
>>>> À : meta-freescale@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/
--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
[-- Attachment #2.1: Type: text/html, Size: 22466 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 15:50 ` Edward L Swarthout
2016-02-05 18:39 ` idealsim
@ 2016-02-17 13:10 ` Esponde, Joel
2016-02-26 18:46 ` idealsim
1 sibling, 1 reply; 18+ messages in thread
From: Esponde, Joel @ 2016-02-17 13:10 UTC (permalink / raw)
To: Edward L Swarthout, idealsim, meta-freescale
Hi Mickaël,
Any news about this issue?
Did you manage to recover your python installation?
Joël
-----Message d'origine-----
De : meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] De la part de Edward L Swarthout
Envoyé : vendredi 5 février 2016 16:50
À : idealsim; meta-freescale@yoctoproject.org
Objet : Re: [meta-freescale] yocto and linux Mint 17.3
Is there a non-standard python in your path which doesn't use the system path?
Check with:
$ which python
$ python -c 'import sys; print sys.path'
Ed
---
From: idealsim <idealsim@laposte.net>
Sent: Friday, February 5, 2016 7:21 AM
To: meta-freescale@yoctoproject.org; Esponde, Joel
Subject: 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@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?
--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 15:50 ` Edward L Swarthout
@ 2016-02-05 18:39 ` idealsim
2016-02-17 13:10 ` Esponde, Joel
1 sibling, 0 replies; 18+ messages in thread
From: idealsim @ 2016-02-05 18:39 UTC (permalink / raw)
To: Edward L Swarthout, meta-freescale
Thank's i will try this on next monday and let you know !
Le 05/02/2016 16:50, Edward L Swarthout a écrit :
> Is there a non-standard python in your path which doesn't use the system path?
> Check with:
>
> $ which python
> $ python -c 'import sys; print sys.path'
>
> Ed
>
> ---
> From: idealsim <idealsim@laposte.net>
> Sent: Friday, February 5, 2016 7:21 AM
> To: meta-freescale@yoctoproject.org; Esponde, Joel
> Subject: 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@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?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 13:21 ` idealsim
2016-02-05 15:50 ` Edward L Swarthout
@ 2016-02-05 16:34 ` Esponde, Joel
2016-02-18 9:41 ` idealsim
1 sibling, 1 reply; 18+ messages in thread
From: Esponde, Joel @ 2016-02-05 16:34 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 6136 bytes --]
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@laposte.net]
Envoyé : vendredi 5 février 2016 14:21
À : meta-freescale@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@honeywell.com<mailto:Joel.Esponde@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@laposte.net]
Envoyé : vendredi 5 février 2016 12:01
À : meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>; Esponde, Joel
Cc : ross.burton@intel.com<mailto:ross.burton@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@laposte.net<mailto:idealsim@laposte.net>> a écrit:
thank's for you help but i already install it (sorry it's in french, but already install) :
mls@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@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@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@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@honeywell.com<mailto:Joel.Esponde@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@yoctoproject.org<mailto:meta-freescale-bounces@yoctoproject.org> [mailto:meta-freescale-bounces@yoctoproject.org] De la part de idealsim
Envoyé : jeudi 4 février 2016 13:13
À : meta-freescale@yoctoproject.org<mailto:meta-freescale@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/
[-- Attachment #2: Type: text/html, Size: 22856 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 13:21 ` idealsim
@ 2016-02-05 15:50 ` Edward L Swarthout
2016-02-05 18:39 ` idealsim
2016-02-17 13:10 ` Esponde, Joel
2016-02-05 16:34 ` Esponde, Joel
1 sibling, 2 replies; 18+ messages in thread
From: Edward L Swarthout @ 2016-02-05 15:50 UTC (permalink / raw)
To: idealsim, meta-freescale
Is there a non-standard python in your path which doesn't use the system path?
Check with:
$ which python
$ python -c 'import sys; print sys.path'
Ed
---
From: idealsim <idealsim@laposte.net>
Sent: Friday, February 5, 2016 7:21 AM
To: meta-freescale@yoctoproject.org; Esponde, Joel
Subject: 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@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?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 12:26 ` Esponde, Joel
@ 2016-02-05 13:21 ` idealsim
2016-02-05 15:50 ` Edward L Swarthout
2016-02-05 16:34 ` Esponde, Joel
0 siblings, 2 replies; 18+ messages in thread
From: idealsim @ 2016-02-05 13:21 UTC (permalink / raw)
To: meta-freescale, Esponde, Joel
[-- Attachment #1: Type: text/plain, Size: 6089 bytes --]
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@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@laposte.net]Envoyé : vendredi 5 février
> 2016 12:01
> À : meta-freescale@yoctoproject.org; Esponde, Joel
> Cc : ross.burton@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@laposte.net> a
> écrit:
>
>
>>
>> thank's for you help but i already install it (sorry it's in french,
>> but already install) :
>>
>>
>> mls@be-linuxHpZ400 ~ $ sudo apt-get install python-pysqlite2
>> [sudo] password for mls:Lecture des listes de paquets... Fait
>> Construction de l'arbre des dépendancesLecture 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@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@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@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@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@yoctoproject.org
>>> [mailto:meta-freescale-bounces@yoctoproject.org] De la part de idealsim
>>> Envoyé : jeudi 4 février 2016 13:13
>>> À : meta-freescale@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/
[-- Attachment #2.1: Type: text/html, Size: 18895 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 11:00 ` idealsim
2016-02-05 11:26 ` Gary Thomas
@ 2016-02-05 12:26 ` Esponde, Joel
2016-02-05 13:21 ` idealsim
1 sibling, 1 reply; 18+ messages in thread
From: Esponde, Joel @ 2016-02-05 12:26 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 5236 bytes --]
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@laposte.net]
Envoyé : vendredi 5 février 2016 12:01
À : meta-freescale@yoctoproject.org; Esponde, Joel
Cc : ross.burton@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@laposte.net<mailto:idealsim@laposte.net>> a écrit:
thank's for you help but i already install it (sorry it's in french, but already install) :
mls@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@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@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@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@honeywell.com<mailto:Joel.Esponde@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@yoctoproject.org<mailto:meta-freescale-bounces@yoctoproject.org> [mailto:meta-freescale-bounces@yoctoproject.org] De la part de idealsim
Envoyé : jeudi 4 février 2016 13:13
À : meta-freescale@yoctoproject.org<mailto:meta-freescale@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/
[-- Attachment #2: Type: text/html, Size: 19335 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 11:00 ` idealsim
@ 2016-02-05 11:26 ` Gary Thomas
2016-02-05 12:26 ` Esponde, Joel
1 sibling, 0 replies; 18+ messages in thread
From: Gary Thomas @ 2016-02-05 11:26 UTC (permalink / raw)
To: meta-freescale
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@laposte.net> a écrit:
>
> thank's for you help but i already install it (sorry it's in french, but already install) :
>
> /mls@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@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@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@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@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@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] *De la part de*
> idealsim
> *Envoyé :* jeudi 4 février 2016 13:13
> *À :* meta-freescale@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-05 8:17 ` idealsim
@ 2016-02-05 11:00 ` idealsim
2016-02-05 11:26 ` Gary Thomas
2016-02-05 12:26 ` Esponde, Joel
0 siblings, 2 replies; 18+ messages in thread
From: idealsim @ 2016-02-05 11:00 UTC (permalink / raw)
To: meta-freescale, Esponde, Joel
[-- Attachment #1: Type: text/plain, Size: 5071 bytes --]
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@laposte.net> a
écrit:
> thank's for you help but i already install it (sorry it's in french, but
> already install) :
>
> mls@be-linuxHpZ400 ~ $ sudo apt-get install python-pysqlite2
> [sudo] password for mls:Lecture des listes de paquets... Fait
> Construction de l'arbre des dépendancesLecture 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@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@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@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@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@yoctoproject.org
>> [mailto:meta-freescale-bounces@yoctoproject.org] De la part de idealsim
>> Envoyé : jeudi 4 février 2016 13:13
>> À : meta-freescale@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/
[-- Attachment #2.1: Type: text/html, Size: 10915 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-04 17:01 ` Esponde, Joel
@ 2016-02-05 8:17 ` idealsim
2016-02-05 11:00 ` idealsim
0 siblings, 1 reply; 18+ messages in thread
From: idealsim @ 2016-02-05 8:17 UTC (permalink / raw)
To: meta-freescale, Esponde, Joel
[-- Attachment #1.1: Type: text/plain, Size: 4600 bytes --]
thank's for you help but i already install it (sorry it's in french, but
already install) :
mls@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@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@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@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@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@yoctoproject.org
> [mailto:meta-freescale-bounces@yoctoproject.org] De la part de idealsim
> Envoyé : jeudi 4 février 2016 13:13
> À : meta-freescale@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/
[-- Attachment #1.2.1: Type: text/html, Size: 10288 bytes --]
[-- Attachment #2: C2C9AC~L.PNG --]
[-- Type: image/png, Size: 205872 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux Mint 17.3
2016-02-04 12:13 yocto and linux Mint 17.3 idealsim
@ 2016-02-04 17:01 ` Esponde, Joel
2016-02-05 8:17 ` idealsim
0 siblings, 1 reply; 18+ messages in thread
From: Esponde, Joel @ 2016-02-04 17:01 UTC (permalink / raw)
To: idealsim, meta-freescale
[-- Attachment #1: Type: text/plain, Size: 2607 bytes --]
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@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] De la part de idealsim
Envoyé : jeudi 4 février 2016 13:13
À : meta-freescale@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/
[-- Attachment #2: Type: text/html, Size: 8349 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux mint 17.3
2016-02-04 12:49 ` idealsim
@ 2016-02-04 12:50 ` Burton, Ross
0 siblings, 0 replies; 18+ messages in thread
From: Burton, Ross @ 2016-02-04 12:50 UTC (permalink / raw)
To: idealsim; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
On 4 February 2016 at 12:49, idealsim <idealsim@laposte.net> wrote:
> I don't think, probably install by default ! do you think i can remove
> python 3 to solve the problem ?
>
You can if you want, but there's no need. You just need to ensure the
required libraries are available to python2.
Ross
[-- Attachment #2: Type: text/html, Size: 746 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux mint 17.3
2016-02-04 12:32 ` Burton, Ross
@ 2016-02-04 12:49 ` idealsim
2016-02-04 12:50 ` Burton, Ross
0 siblings, 1 reply; 18+ messages in thread
From: idealsim @ 2016-02-04 12:49 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
I don't think, probably install by default ! do you think i can remove
python 3 to solve the problem ?
Le Thu, 04 Feb 2016 13:32:10 +0100, Burton, Ross <ross.burton@intel.com> a
écrit:
>
> On 4 February 2016 at 12:09, idealsim <idealsim@laposte.net> wrote:
>> 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 ?
>
> Did that install a pysqlite for python 3? bitbake uses python2.
>
> Ross
--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
[-- Attachment #2.1: Type: text/html, Size: 1741 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux mint 17.3
2016-02-04 12:09 idealsim
@ 2016-02-04 12:32 ` Burton, Ross
2016-02-04 12:49 ` idealsim
0 siblings, 1 reply; 18+ messages in thread
From: Burton, Ross @ 2016-02-04 12:32 UTC (permalink / raw)
To: idealsim; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
On 4 February 2016 at 12:09, idealsim <idealsim@laposte.net> wrote:
> 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 ?
>
Did that install a pysqlite for python 3? bitbake uses python2.
Ross
[-- Attachment #2: Type: text/html, Size: 1094 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* yocto and linux Mint 17.3
@ 2016-02-04 12:13 idealsim
2016-02-04 17:01 ` Esponde, Joel
0 siblings, 1 reply; 18+ messages in thread
From: idealsim @ 2016-02-04 12:13 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]
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/
[-- Attachment #2.1: Type: text/html, Size: 3658 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: yocto and linux mint 17.3
@ 2016-02-04 12:09 idealsim
2016-02-04 12:32 ` Burton, Ross
0 siblings, 1 reply; 18+ messages in thread
From: idealsim @ 2016-02-04 12:09 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 2501 bytes --]
Up ! nobodies have an idea ?
Le Thu, 04 Feb 2016 13:08:00 +0100, a écrit:
>
> Hi all, i'm new on yocto and i have a problem to start a buil with my
> host pc. My pc is under linux mint 17.3 (cinnamon) 64 bits. 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 ?
> --Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
--
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
[-- Attachment #2.1: Type: text/html, Size: 3597 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2016-02-26 18:46 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 12:44 yocto and linux mint 17.3 idealsim
2016-02-04 12:09 idealsim
2016-02-04 12:32 ` Burton, Ross
2016-02-04 12:49 ` idealsim
2016-02-04 12:50 ` Burton, Ross
2016-02-04 12:13 yocto and linux Mint 17.3 idealsim
2016-02-04 17:01 ` Esponde, Joel
2016-02-05 8:17 ` idealsim
2016-02-05 11:00 ` idealsim
2016-02-05 11:26 ` Gary Thomas
2016-02-05 12:26 ` Esponde, Joel
2016-02-05 13:21 ` idealsim
2016-02-05 15:50 ` Edward L Swarthout
2016-02-05 18:39 ` idealsim
2016-02-17 13:10 ` Esponde, Joel
2016-02-26 18:46 ` idealsim
2016-02-05 16:34 ` Esponde, Joel
2016-02-18 9:41 ` idealsim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.