ZOE ERROR(来自/ usr / lib / snap / snap):错误打开参数文件

时间:2016-06-03 06:55:35

标签: linux ubuntu ubuntu-14.04 electron snapcraft

我使用snapcraft在ubuntu 14.04 LTS上打包电子应用程序。我通过引用此link来构建它。包已成功构建但是当我使用以下命令安装包时

 sudo snap install springbok_1.0.1_i386.snap

它显示以下错误消息

 ZOE ERROR (from /usr/lib/snap/snap): error opening parameter file

这是我的snapcraft.yaml

name: springbok
version: 1.0.1
summary: The simplest way to keep notes.
description: The simplest way to keep notes. Light, clean, and free.
vendor: Ajatus software <pitabas.prathal@ajatus.co.in>
icon: icon.png
apps:
  springbok:
  command: wrapper
  plugs: [unity7, opengl, network]
parts:
  springbok:
  plugin: copy
  stage-packages:
    - libnss3
    - fontconfig-config
    - gnome-themes-standard
files:
  springbok: springbok
  wrapper: usr/bin/wrapper
  icudtl.dat: icudtl.dat
  snapshot_blob.bin: snapshot_blob.bin
  natives_blob.bin: natives_blob.bin
  resources*: resources
  libnode.so: usr/lib/i386-linux-gnu/libnode.so
  libffmpeg.so: usr/lib/i386-linux-gnu/libffmpeg.so

这是我的wrapper

 export FONTCONFIG_PATH=$SNAP/etc/fonts
 export FONTCONFIG_FILE=$SNAP/etc/fonts/fonts.conf
 export XDG_DATA_HOME=$SNAP/usr/share
 export           LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$SNAP/springbok:$SNAP/usr/lib/i386-linux-gnu/

exec "$SNAP/springbok" "$@"

0 个答案:

没有答案