Skip to content

Instantly share code, notes, and snippets.

View EvilSupahFly's full-sized avatar
🧙‍♂️
Trying to make Flatpak and Python play nice with Amulet

EvilSupahFly EvilSupahFly

🧙‍♂️
Trying to make Flatpak and Python play nice with Amulet
View GitHub Profile
@EvilSupahFly
EvilSupahFly / amulet_pdb_terminal.log
Last active October 10, 2024 03:25
Amulet Flatpak Texture Problem
This file has been truncated, but you can view the full file.
sh-5.2$ python -m amulet_map_editor --amulet-debug
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
@EvilSupahFly
EvilSupahFly / minecraft_resource_pack-1.4.5.log
Created October 8, 2024 21:53
minecraft_resource_pack-1.4.5 Build Log
(3127) evilsupahfly on Black-Beast at Tue 8 Oct 2024 17:35:04 EDT
[~/src/flatpak-stuff] python -m build Minecraft-Model-Reader/
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- setuptools >= 42
- versioneer
- wheel
* Getting build dependencies for sdist...
Failed to load config from /home/evilsupahfly/src/flatpak-stuff/Minecraft-Model-Reader/pyproject.toml: 'tool'
Try to load it from setup.cfg
@EvilSupahFly
EvilSupahFly / .bashrc
Last active October 9, 2024 05:11
Python Virtual Environment Manager using PythonZ
RESET="\033[0m" # Normal
RED="\033[1m\033[1;31m" # Red
GREEN="\033[1m\033[1;32m" # Green
WHITE="\033[1m\033[1;37m" # White
pyvenv() {
local venv_name=${1:-$(read -p "Enter the virtual environment name: " name && echo "$name")}
local venv_home="$HOME/python-virtual-environs/$venv_name"
if [[ -z "$venv_name" ]]; then
@EvilSupahFly
EvilSupahFly / amulet_terminal.log
Created September 18, 2024 21:18
Amulet Super-Verbose PDB Terminal Output
This file has been truncated, but you can view the full file.
$ ./do-this.sh --skip --auto --debug
Skipping flatpak-pip-generator, starting flatpak-builder.
----------------------
| DEBUG MODE ACTIVE. |
----------------------
flatpak-builder -vvv --install-deps-from=flathub --mirror-screenshots-url=https://dl.flathub.org/media/ --add-tag=v0.10.35-beta --bundle-sources --repo=io.github.evilsupahfly.amulet-flatpak-repo amulet-flatpak_build_dir io.github.evilsupahfly.amulet-flatpak.yml --force-clean
@EvilSupahFly
EvilSupahFly / amulet_pdb_terminal.log
Last active October 7, 2024 21:24
Amulet Flatpak - PDB output
This file has been truncated, but you can view the full file.
(flatpak-builder:234585): flatpak-builder-WARNING **: 17:14:32.864: Unknown property name for type BuilderManifest
(flatpak-builder:234585): flatpak-builder-WARNING **: 17:14:32.864: Unknown property version for type BuilderManifest
(flatpak-builder:234585): flatpak-builder-WARNING **: 17:14:32.881: Unknown property versioning for type BuilderManifest
sh-5.2$ python -m pdb -m amulet_map_editor
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
@EvilSupahFly
EvilSupahFly / amulet_terminal.log
Created August 31, 2024 15:27
Amulet Flatpak Output
evilsupahfly on Black-Beast at Sat 31 Aug 2024 11:12:32 EDT
[~/Downloads/flatpack-stuff/Amulet-Flatpak/Amulet-Flatpak] flatpak run -vv --command=ls io.github.evilsupahfly.amulet-flatpak -al /app/lib/python3.11/site-packages/minecraft_model_reader/api/resource_pack/java/java_vanilla_fix/assets/minecraft/textures/block/
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/evilsupahfly/.local/share/flatpak
F: Opening user flatpak installation at path /home/evilsupahfly/.local/share/flatpak
F: Skipping parental controls check for app/io.github.evilsupahfly.amulet-flatpak/x86_64/master since parental controls are disabled globally
F: Opening user flatpak installation at path /home/evilsupahfly/.local/share/flatpak
F: /home/evilsupahfly/.local/share/flatpak/runtime/org.freedesktop.Platform/x86_64/23.08/64a85d9703e16a360fb65aeb40382183be68836567e2a3a9455f70b2a26a568f/files/lib32 does not exist
F: Cleaning up unused container id 2467703906
F: Cleaning up p
@EvilSupahFly
EvilSupahFly / gist:858eec876497153eb8c6b6bed591aa45
Created August 28, 2024 21:04
Amulet Verbose Output (PIP Edition)
(amulet-3119) evilsupahfly on Black-Beast at Wed 28 Aug 2024 16:54:04 EDT
[~] python -v -m amulet_map_editor
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_io' # <class '_frozen_importlib.BuiltinImporter'>
import 'marshal' # <class '_frozen_importlib.BuiltinImporter'>
import 'posix' # <class '_frozen_importlib.BuiltinImporter'>
@EvilSupahFly
EvilSupahFly / Zoyas-P5K-E
Created February 25, 2018 01:11
Zoyas-P5K-E
System: Host: Zoyas-P5K-E Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: mdm Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: P5K-E v: Rev 1.xx Bios: American Megatrends v: 1305 date: 06/19/2009
CPU: Quad core Intel Core2 Quad Q6600 (-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 19243
clock speeds: min/max: 1596/2394 MHz 1: 1596 MHz 2: 1596 MHz 3: 1596 MHz 4: 1596 MHz
Graphics: Card: NVIDIA G94 [GeForce 9600 GT] bus-ID: 01:00.0 chip-ID: 10de:0622
Display Server: X.Org 1.18.4 drivers: fbdev (unloaded: vesa) FAILED: nvidia
Resolution: [email protected]
GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
@EvilSupahFly
EvilSupahFly / systeminfo.txt
Created August 29, 2017 15:56
Black-Beast System Info
System: Host: black-beast Kernel: 4.11.4-041104-lowlatency x86_64 (64 bit gcc: 6.3.0)
Desktop: Cinnamon 3.2.7 (Gtk 3.18.9) dm: lightdm,mdm Distro: Linux Mint 18.1 Serena
Machine: Mobo: ASUSTeK model: P5B v: Rev 1.xx Bios: American Megatrends v: 2104 date: 03/09/2009
CPU: Quad core Intel Core2 Quad Q6600 (-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 19216
clock speeds: min/max: 1596/2394 MHz 1: 1596 MHz 2: 1596 MHz 3: 2394 MHz 4: 1596 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Turks XT [Radeon HD 6670/7670]
bus-ID: 01:00.0 chip-ID: 1002:6758
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: [email protected]
@EvilSupahFly
EvilSupahFly / mmc5_log.txt
Created June 17, 2017 15:53
MultiMC Console Log
MultiMC version: 0.5.0-887
Minecraft folder is:
instances/1.11.2 v2/minecraft
Java path is:
/usr/bin/java