All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Esponde, Joel" <Joel.Esponde@Honeywell.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: yocto and linux Mint 17.3
Date: Fri, 5 Feb 2016 12:26:51 +0000	[thread overview]
Message-ID: <F6CD090A69E64C4289DC608E1C5D20240F78D00C@DE08W1305.global.ds.honeywell.com> (raw)
In-Reply-To: <op.yccwvnapmnlnty@pc-mls.ecafaros.local>

[-- 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 --]

  parent reply	other threads:[~2016-02-05 12:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2016-02-04 12:09 yocto and linux mint 17.3 idealsim
2016-02-04 12:32 ` Burton, Ross
2016-02-04 12:49   ` idealsim
2016-02-04 12:50     ` Burton, Ross
2016-01-19 12:44 idealsim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F6CD090A69E64C4289DC608E1C5D20240F78D00C@DE08W1305.global.ds.honeywell.com \
    --to=joel.esponde@honeywell.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.