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; 21+ 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] 21+ messages in thread

end of thread, other threads:[~2017-06-21  2:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-15  7:16       ` Riko Ho
2017-06-16  1:32       ` Image type on bitbake ? Riko Ho
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
2017-06-18 11:48           ` dd image to sdcard ? Riko Ho
2017-06-18 19:17             ` Burton, Ross
2017-06-18 19:37               ` Maciej Borzęcki
2017-06-18 22:03                 ` Riko Ho
2017-06-19  3:00           ` RTL8192EU rev B (SMIC) ==> rtl8192eu_nic.bin ? Riko Ho
2017-06-19 19:57             ` Khem Raj
2017-06-20  3:35               ` Riko Ho
2017-06-20  3:46               ` Riko Ho
2017-06-20  4:51                 ` Khem Raj
2017-06-21  1:52                   ` Riko Ho
2017-06-21  2:28                     ` Khem Raj
2017-06-21  2:32                       ` 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.