[krita] [Bug 464464] broken 5.2.0 macos dmg, Python initialization error
amyspark
bugzilla_noreply at kde.org
Tue Jan 24 21:01:54 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=464464
--- Comment #2 from amyspark <amy at amyspark.me> ---
This is the full script log:
krita.scripting: Loading Python plugin
krita.scripting: Initializing Python plugin for Python 3 , 10
krita.scripting: Plugin Directories: ("/Users/amalia/Library/Application
Support/krita/", "/Volumes/krita/krita.app/Contents/Resources/",
"/Users/amalia/Library/Application Support/krita/pykrita/",
"/Volumes/krita/krita.app/Contents/share/krita/pykrita/",
"/Volumes/krita/krita.app/share/krita/pykrita/",
"/Volumes/krita/krita.app/Contents/share/pykrita/")
krita.scripting: Python::setPath. Script paths:
("/Users/amalia/Library/Application Support/krita/",
"/Volumes/krita/krita.app/Contents/Resources/",
"/Users/amalia/Library/Application Support/krita/pykrita/",
"/Volumes/krita/krita.app/Contents/share/krita/pykrita/",
"/Volumes/krita/krita.app/share/krita/pykrita/",
"/Volumes/krita/krita.app/Contents/share/pykrita/") true
krita.scripting: pythonLibsPath (krita-python-libs)
"/Volumes/krita/krita.app/Contents/Frameworks/krita-python-libs"
krita.scripting: Found krita-python-libs at
"/Volumes/krita/krita.app/Contents/Frameworks/krita-python-libs"
krita.scripting: pythonLibsPath (sip) ""
krita.scripting: "python3.10" "python3.10"
krita.scripting: Setting python paths: "/Users/amalia/Library/Application
Support/krita/:/Volumes/krita/krita.app/Contents/Resources/:/Users/amalia/Library/Application
Support/krita/pykrita/:/Volumes/krita/krita.app/Contents/share/krita/pykrita/:/Volumes/krita/krita.app/share/krita/pykrita/:/Volumes/krita/krita.app/Contents/share/pykrita/:/Volumes/krita/krita.app/Contents/Frameworks/krita-python-libs:/Users/Packaging/KritaBuild/i/lib/python3.10/site-packages:/Users/Packaging/KritaBuild/i/lib/python3.10/site-packages/PyQt5"
krita.scripting: Initializing Python interpreter
Python path configuration:
PYTHONHOME =
'/Volumes/krita/krita.app/Contents/Frameworks/Python.framework/Versions/3.10/lib/python3.10'
PYTHONPATH = (not set)
program name = 'python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/Volumes/krita/krita.app/./Contents/MacOS/krita'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.platlibdir = 'lib'
sys.executable = '/Volumes/krita/krita.app/./Contents/MacOS/krita'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
'/Users/amalia/Library/Application Support/krita/',
'/Volumes/krita/krita.app/Contents/Resources/',
'/Users/amalia/Library/Application Support/krita/pykrita/',
'/Volumes/krita/krita.app/Contents/share/krita/pykrita/',
'/Volumes/krita/krita.app/share/krita/pykrita/',
'/Volumes/krita/krita.app/Contents/share/pykrita/',
'/Volumes/krita/krita.app/Contents/Frameworks/krita-python-libs',
'/Users/Packaging/KritaBuild/i/lib/python3.10/site-packages',
'/Users/Packaging/KritaBuild/i/lib/python3.10/site-packages/PyQt5',
]
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 0x0000000113f8ce00 (most recent call first):
<no Python frame>
krita.general: Warning: some tiles have leaked:
krita.general: Tiles in memory: 4
Total tiles: 4
fish: Job 1, 'env QT_LOGGING_RULES="krita.scr…' terminated by signal SIGSEGV
(Address boundary error)
See the lines hardcoded to the binary factory? It means that Krita's thinking
that we're running from a system installation of Python (utilities.cpp line
382, involving KRITA_PYKRITA_LIBRARY). findKritaPythonLibsPath needs to be
fixed so that it detects Python 3.10.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list