All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake core-image-web-kiosk question ?
@ 2017-06-14  4:10 Riko Ho
  2017-06-14  5:38 ` Khem Raj
  0 siblings, 1 reply; 17+ messages in thread
From: Riko Ho @ 2017-06-14  4:10 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2685 bytes --]

Hello Everyone,

I tried doing "bitbake core-image-web-kiosk"

And I got this :

====================

Loading cache: 100% 
|#####################################################################################################################################| 
Time: 0:00:00
Loaded 1310 entries from dependency cache.
ERROR: ExpansionError during parsing 
/home/bianchi77/poky/meta-web-kiosk/recipes-browser/vala/vala_0.16.0.bb 
| ETA:  --:--:--
Traceback (most recent call last):
   File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 412, 
in 
DataSmart.expandWithRefs(s='http://ftp.gnome.org/pub/GNOME/sources/${BPN}/${SHRT_VER}/${BP}.tar.xz 
http://ftp.gnome.org/pub/GNOME/sources/vala/0.36/vala-0.36.0.tar.xz', 
varname='SRC_URI'):
                  try:
     >                s = __expand_var_regexp__.sub(varparse.var_sub, s)
                      try:
   File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 111, 
in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(46, 57), 
match='${SHRT_VER}'>):
                  else:
     >                var = self.d.getVarFlag(key, "_content")
                  self.references.add(key)
   File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 794, 
in DataSmart.getVarFlag(var='SHRT_VER', flag='_content', expand=True, 
noweakdefault=False, parsing=False):
                      cachename = var + "[" + flag + "]"
     >            value = self.expand(value, cachename)

   File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 436, 
in 
DataSmart.expand(s="${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}", 
varname='SHRT_VER'):
          def expand(self, s, varname = None):
     >        return self.expandWithRefs(s, varname).value

   File "/home/bianchi77/poky/bitbake/lib/bb/data_smart.py", line 426, 
in 
DataSmart.expandWithRefs(s="${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}", 
varname='SHRT_VER'):
                  except Exception as exc:
     >                raise ExpansionError(varname, s, exc) from exc

bb.data_smart.ExpansionError: Failure expanding variable SHRT_VER, 
expression was 
${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]} 
which triggered exception AttributeError: module 'bb.data' has no 
attribute 'getVar'


Summary: There was 1 ERROR message shown, returning a non-zero exit code.

===============

Does anyone know how to fix it ?

I used poky with pyro release,

Thanks

-- 
*

/*******/
Sent by Ubuntu LTS 16.04,
谢谢,
Regards,
Riko Ho
/*******/

*

[-- Attachment #2: Type: text/html, Size: 4285 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-06-24  4:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.66247.1497786545.15860.yocto@yoctoproject.org>
2017-06-18 18:10 ` Compiling meta-browser ==>chromium ? cleaning ? Gunnar Andersson
2017-06-19 14:21   ` Jacobo Aragunde Pérez
2017-06-19 20:01     ` Khem Raj
2017-06-20  3:32       ` Riko Ho
2017-06-20  5:08         ` Khem Raj
2017-06-21  1:53           ` Riko Ho
2017-06-21  2:28             ` Khem Raj
2017-06-21  4:38               ` Riko Ho
2017-06-21  4:42               ` Riko Ho
2017-06-21  7:37                 ` Gunnar Andersson
2017-06-21  8:18                   ` Riko Ho
2017-06-21  8:24                   ` Riko Ho
2017-06-23  3:40                   ` 47401300.usb-phy supply vcc not found, using dummy regulator Riko Ho
2017-06-24  4:52                   ` Compiling meta-browser ==>chromium ? cleaning ? Riko Ho
2017-06-14  4:10 bitbake core-image-web-kiosk question ? Riko Ho
2017-06-14  5:38 ` Khem Raj
2017-06-15  5:53   ` FriendlyArm Mini6410 ? Riko Ho
2017-06-15  6:05     ` Belisko Marek
2017-06-17 23:41       ` Compiling meta-browser ==>chromium ? cleaning ? Riko Ho
2017-06-18  7:49         ` Martin Jansa
2017-06-18  7:52           ` Riko Ho

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.