Skip to content

Instantly share code, notes, and snippets.

@sambar-fgfs
Last active November 8, 2020 15:17
Show Gist options
  • Save sambar-fgfs/41354afad0376cfda53e2ad73500f8d6 to your computer and use it in GitHub Desktop.
Save sambar-fgfs/41354afad0376cfda53e2ad73500f8d6 to your computer and use it in GitHub Desktop.
ice_dev.yml for AppImage
app: ice
ingredients:
dist: xenial
packages:
- python3
- python3-gi
- python3-requests
- python3-bs4
- python3-lxml
pretend :
- chromium-browser
- build-essential
- devscripts
- build-dep
sources:
- deb http://archive.ubuntu.com/ubuntu/ xenial main
- deb http://archive.ubuntu.com/ubuntu/ xenial-updates main
- deb http://security.ubuntu.com/ubuntu xenial-security main
script:
- wget https://github.com/sambar-fgfs/ice/archive/master.zip
- unzip master.zip
- cd ice-master
- debuild -uc -us -b
@hiringManager
Copy link

hiringManager commented Nov 8, 2020

Okay, so I've tried on both Cinnamon and Ubuntu to make this script work. I thought that the wrong version of Python was the culprit, but that doesn't seem to be the case. Here is the output I'm getting in both cases

`out ➤ ./Ice-6.0.8.glibc2.17-x86_64.AppImage
Python path configuration:
PYTHONHOME = '/tmp/.mount_Ice-6.Jnp9i7/usr/'
PYTHONPATH = '/tmp/.mount_Ice-6.Jnp9i7/usr/share/pyshared/:'
program name = 'python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/tmp/.mount_Ice-6.Jnp9i7/usr'
sys.base_exec_prefix = '/tmp/.mount_Ice-6.Jnp9i7/usr'
sys.executable = '/usr/bin/python3'
sys.prefix = '/tmp/.mount_Ice-6.Jnp9i7/usr'
sys.exec_prefix = '/tmp/.mount_Ice-6.Jnp9i7/usr'
sys.path = [
'/tmp/.mount_Ice-6.Jnp9i7/usr/share/pyshared/',
'',
'/tmp/.mount_Ice-6.Jnp9i7/usr/lib/python38.zip',
'/tmp/.mount_Ice-6.Jnp9i7/usr/lib/python3.8',
'/tmp/.mount_Ice-6.Jnp9i7/usr/lib/python3.8/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007efe07b98740 (most recent call first):

out ➤`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment