[yocto] Meta-web-kiosk Layer

2017-06-15 Thread Riko Ho

Hello Everyone,

I tried doing bitbake core-image-web-kiosk and got some errors, does 
anyone know how to fix it ? thanks,


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.

--
*

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

*
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Meta-web-kiosk Layer

2013-01-24 Thread Ciobanu, Emilia Maria Silvia
Hi,

I've created a new layer that can be used for kiosk devices.
You can check it out at:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-web-kiosk/

It contains a new bitbake target that automatically
starts a web browser right after boot and enables the
use of a virtual keyboard if there is support for it.

The layer currently includes recipes for the web browser,
and bsp configurations.

I'm open to receiving feedback, patches and any suggestions.

Thanks,
Emilia Ciobanu
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Meta-web-kiosk Layer

2013-01-24 Thread Burton, Ross
On 24 January 2013 12:36, Philip Balister phi...@balister.org wrote:
 On 01/24/2013 07:12 AM, Burton, Ross wrote:
 On 24 January 2013 12:03, Ciobanu, Emilia Maria Silvia
 emilia.maria.silvia.ciob...@intel.com wrote:
 I've created a new layer that can be used for kiosk devices.
 You can check it out at:
 http://git.yoctoproject.org/cgit/cgit.cgi/meta-web-kiosk/

 Excellent, good to see it not hidden away!

 It is hidden until it appears on the Layer index :)

 http://www.openembedded.org/wiki/LayerIndex

 Please add it there.

Yes, it should be on the layer index.  Emelia, can you update the wiki?

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto