https://bugs.kde.org/show_bug.cgi?id=397643

            Bug ID: 397643
           Summary: appimage working, but unpacked appimage failing on
                    Python
           Product: krita
           Version: 4.1.1
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: pbow...@yahoo.com
  Target Milestone: ---

When I launch Krita 4.1.1 via the appimage it works fine.

However, we need to unpack the appimage to run it in a production environment,
and while this worked previously in 3.x.x it is now failing. It appears to be
on Python but the output messages are a little hard to grasp :)

hoop /opt/software/krita/krita4.1.1> bin/krita
Setting XDG_DATA_DIRS
"/opt/software/krita/krita4.1.1/bin/../share:/usr/local/share:/usr/share:/opt/Ardour-4.0.0/share:/opt/cxoffice/share:/opt/kde3/share:/opt/wine-staging/share"
Override language: ""
OpenGL Info 
  Vendor:  NVIDIA Corporation 
  Renderer:  "GeForce GTX 960/PCIe/SSE2" 
  Version:  "4.5.0 NVIDIA 384.69" 
  Shading language:  4.50 NVIDIA 
  Requested format:  QSurfaceFormat(version 3.0, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1,
stencilBufferSize 8, samples -1, swapBehavior
QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace
QSurfaceFormat::ColorSpace(DefaultColorSpace), profile 
QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
  Current format:    QSurfaceFormat(version 4.5, options
QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24,
redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0,
stencilBufferSize 8, samples -1, swapBehavior
QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, colorSpace
QSurfaceFormat::ColorSpace(DefaultColorSpace), profile 
QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) 
     Version: 4.5
     Supports deprecated functions true 
     is OpenGL ES: false 
krita has opengl true
Available translations QSet("fr", "oc", "sk", "sl", "fy", "br", "en_US", "bs",
"sq", "sv", "ga", "ast", "kk", "km", "ko", "ca", "hne", "ta", "xh", "gl", "tg",
"th", "pa", "cs", "tr", "pl", "cy", "he", "pt", "da", "hi", "de", "lt", "lv",
"ug", "hr", "uk", "hu", "ia", "pt_BR", "mk", "uz", "en_GB", "zh_CN", "mr",
"ms", "is", "el", "uz@cyrillic", "vi", "it", "af", "zh_TW", "eo", "nb", "es",
"et", "eu", "ne", "mai", "ro", "ja", "ar", "nl", "ru", "nn", "fa",
"ca@valencia", "wa", "nds", "fi", "be", "bg", "se")
Available domain translations QSet("fr", "oc", "sk", "sl", "fy", "br", "en_US",
"bs", "sq", "sv", "ga", "ast", "kk", "km", "ko", "ca", "hne", "ta", "xh", "gl",
"tg", "th", "pa", "cs", "tr", "pl", "cy", "he", "pt", "da", "hi", "de", "lt",
"lv", "ug", "hr", "uk", "hu", "ia", "pt_BR", "mk", "uz", "en_GB", "zh_CN",
"mr", "ms", "is", "el", "uz@cyrillic", "vi", "it", "af", "zh_TW", "eo", "nb",
"es", "et", "eu", "ne", "mai", "ro", "ja", "ar", "nl", "ru", "nn", "fa",
"ca@valencia", "wa", "nds", "fi", "be", "bg", "se")
Qt UI languages ("en-CA") "en_CA.UTF-8"
input profiles were read from '
/opt/software/krita/krita4.1.1/share/krita/input '.
Loading Python plugin
"" false
("libpython3.5m.so.1.0")
()
()
Python::setPath. Script paths: ("/home/pbowmar/.local/share/krita/",
"/opt/software/krita/krita4.1.1/share/krita/",
"/home/pbowmar/.local/share/krita/pykrita/",
"/opt/software/krita/krita4.1.1/share/krita/pykrita/",
"/opt/software/krita/krita4.1.1/share/pykrita/") false
pythonLibsPath (krita-python-libs)
"/opt/software/krita/krita4.1.1/lib/krita-python-libs"
Found krita-python-libs at
"/opt/software/krita/krita4.1.1/lib/krita-python-libs"
pythonLibsPath (sip) "/opt/software/krita/krita4.1.1/lib/sip"
Found sip at "/opt/software/krita/krita4.1.1/lib/sip"
Setting python paths:
"/home/pbowmar/.local/share/krita/:/opt/software/krita/krita4.1.1/share/krita/:/home/pbowmar/.local/share/krita/pykrita/:/opt/software/krita/krita4.1.1/share/krita/pykrita/:/opt/software/krita/krita4.1.1/share/pykrita/:/opt/software/krita/krita4.1.1/lib/krita-python-libs:/opt/software/krita/krita4.1.1/lib/sip"
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to