[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #18 from Sven Brauch--- Looks harmless. I'm kind of clueless what about your setup triggers this issue, sorry :( -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #17 from Gregor Mi--- /etc/python3start (pythonstart looks similar): # startup script for python to enable saving of interpreter history and # enabling name completion # import needed modules import atexit import os import readline import rlcompleter # where is history saved historyPath = os.path.expanduser("~/.pyhistory") # handler for saving history def save_history(historyPath=historyPath): import readline try: readline.write_history_file(historyPath) except: pass # read history, if it exists if os.path.exists(historyPath): readline.set_history_length(1) readline.read_history_file(historyPath) # register saving handler atexit.register(save_history) # enable completion readline.parse_and_bind('tab: complete') # cleanup del os, atexit, readline, rlcompleter, save_history, historyPath -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #16 from Sven Brauch--- Mh. Anything interesting in your /etc/pythonstartup? -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #15 from Gregor Mi--- :) XDG_VTNR=7 LESSKEY=/etc/lesskey.bin NNTPSERVER=news MANPATH=/usr/local/man:/usr/share/man SSH_AGENT_PID=7261 XDG_SESSION_ID=13 KDE_MULTIHEAD=false HOSTNAME=linux-85rg.suse XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB GPG_AGENT_INFO=/tmp/gpg-7MKsfG/S.gpg-agent:7262:1 SHELL=/bin/bash TERM=xterm HOST=linux-85rg.suse HISTSIZE=1000 PROFILEREAD=true KONSOLE_DBUS_SERVICE=:1.299 GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/gregor/.gtkrc-2.0:/home/gregor/.config/gtkrc-2.0 KONSOLE_PROFILE_NAME=Shell GS_LIB=/home/gregor/.fonts GTK_RC_FILES=/etc/gtk/gtkrc:/home/gregor/.gtkrc:/home/gregor/.config/gtkrc MORE=-sl WINDOWID=65011717 INPUT_METHOD= SHELL_SESSION_ID=78ddf700702140008265a4c4a64e893d XSESSION_IS_UP=yes GTK_MODULES=canberra-gtk-module XDG_SESSION_CLASS=user KDE_FULL_SESSION=true JRE_HOME=/usr/lib64/jvm/jre USER=gregor LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: XNLSPATH=/usr/share/X11/nls XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session3 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 QT_AUTO_SCREEN_SCALE_FACTOR=0 QEMU_AUDIO_DRV=pa SSH_AUTH_SOCK=/tmp/ssh-Qv0QbmMyRFjS/agent.7166 HOSTTYPE=x86_64 FROM_HEADER= CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu SESSION_MANAGER=local/linux-85rg.suse:@/tmp/.ICE-unix/7354,unix/linux-85rg.suse:/tmp/.ICE-unix/7354 PAGER=less CSHEDIT=emacs XDG_CONFIG_DIRS=/etc/xdg MINICOM=-c on MAIL=/var/spool/mail/gregor PATH=/home/gregor/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/bin:/home/gregor/.local/bin:/home/gregor/dataDocuments/aux/codestruct-util/bin:/home/gregor/dataDocuments/rc/bin:/home/gregor/bin:/usr/lib64/ruby/gems/2.1.0/gems/jekyll-3.1.0/bin:/home/gregor/.local/bin:/home/gregor/dataDocuments/aux/codestruct-util/bin:/home/gregor/dataDocuments/rc/bin:/home/gregor/bin:/usr/lib64/ruby/gems/2.1.0/gems/jekyll-3.1.0/bin DESKTOP_SESSION=/usr/share/xsessions/plasma5 CPU=x86_64 JAVA_BINDIR=/usr/lib64/jvm/jre/bin QT_IM_MODULE=xim INPUTRC=/home/gregor/.inputrc XDG_SESSION_TYPE=x11 PWD=/home/gregor/Downloads XMODIFIERS=@im=local JAVA_HOME=/usr/lib64/jvm/jre LANG=de_DE.UTF-8 KDE_SESSION_UID=1000 PYTHONSTARTUP=/etc/pythonstart KONSOLE_DBUS_SESSION=/Sessions/2 SSH_ASKPASS=/usr/lib/ssh/ksshaskpass AUDIODRIVER=pulseaudio GPG_TTY=/dev/pts/1 HOME=/home/gregor QT_SYSTEM_DIR=/usr/share/desktop-data SHLVL=2 XDG_SEAT=seat0 COLORFGBG=15;0 SDL_AUDIODRIVER=pulse LANGUAGE=en_US LESS_ADVANCED_PREPROCESSOR=no OSTYPE=linux KDE_SESSION_VERSION=5 ALSA_CONFIG_PATH=/etc/alsa-pulse.conf LS_OPTIONS=-N --color=tty -T 0 XCURSOR_THEME=breeze_cursors WINDOWMANAGER=/usr/bin/startkde MACHTYPE=x86_64-suse-linux LESS=-M -I -R G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 XDG_SESSION_DESKTOP=KDE LOGNAME=gregor DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7TPSkBJWUM,guid=b7c0fb3bd64d2b8b725015be57933077 XDG_DATA_DIRS=/usr/share:/opt/grass/share:/opt/kf5/share LESSOPEN=lessopen.sh %s PROMPT_COMMAND=__prompt_command DISPLAY=:0 PROFILEHOME= XDG_RUNTIME_DIR=/run/user/1000 XAUTHLOCALHOSTNAME=linux-85rg.suse XDG_CURRENT_DESKTOP=KDE GTK_IM_MODULE=cedilla LESSCLOSE=lessclose.sh %s %s QT_IM_SWITCHER=imsw-multi G_BROKEN_FILENAMES=1 XAUTHORITY=/tmp/xauth-1000-_0 COLORTERM=1 JAVA_ROOT=/usr/lib64/jvm/jre _=/usr/bin/env -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #14 from Sven Brauch--- Eh, same issue. Can you paste your environment variables ("env")? -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #13 from Gregor Mi--- Yes, I did a ping. Cool, an AppImage. :-) Sadly, I get this: ``` QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: Couldn't setup QtHelp Collection file qrc:/qml/main.qml:21:1: module "QtQuick" is not installed welcomepage errors: (qrc:/qml/main.qml:21:1: module "QtQuick" is not installed) trying to load "/tmp/.mount_rr3TSS/usr/lib/qt5/plugins/kf5/kio/file.so" from "/tmp/.mount_rr3TSS/usr/lib/qt5/plugins/kf5/kio/file.so" > PARSING > parsing file QUrl("file:///home/gregor/dataDocuments/FS-Angebote/fsworkshop.net/python-src/qpainter1/fractal1.py") ; has priority -1 trying to load "/tmp/.mount_rr3TSS/usr/lib/qt5/plugins/kf5/kio/file.so" from "/tmp/.mount_rr3TSS/usr/lib/qt5/plugins/kf5/kio/file.so" > AST > building abstract syntax tree for "/home/test/python-src/qpainter1/fractal1.py" Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' Current thread 0x7f5cc5336700 (most recent call first): /tmp/.mount_rr3TSS/AppRun: line 28: 29284 Aborted kdevelop $@ ``` -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #12 from Sven Brauch--- Maybe somebody will look again at with the soon-to-come 5.0 release. Until then, you can try the binaries: files.svenbrauch.de/kdevelop-linux/ And ping them again, of course. -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #11 from Gregor Mi--- Sadly, the maintainer is not responding since 3 months. Any idea who I could contact who is also interested in having the python plugin on openSUSE? -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #10 from Gregor Mi--- I reported the bug here: https://build.opensuse.org/package/show/home:lackhove:kdevelop-python3/kdevelop5-plugin-python3 -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 Sven Brauchchanged: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |INVALID --- Comment #9 from Sven Brauch --- There's your packagaging bug. :) You should tell the maintainer about that, that needs to be fixed. -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #8 from Gregor Mi--- The referenced .so file is not present in the given path -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #7 from Gregor Mi--- > ldd /usr/lib64/libkdevpythonparser.so | grep python libpython3.5m.so.1.0 => /usr/lib64/libpython3.5m.so.1.0 (0x7f81a6f9d000) -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #6 from Sven Brauch--- Can you just run ldd on the plugin library? I wonder what it links against right now ... -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #5 from Gregor Mi--- > I still think this is a packaging bug ... I didn't mean to refute that. :) So what can I do now? Suggest the maintainer of the kdevelop5-plugin-python3 package to link against the Python version from the opt-python35 package? -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #4 from Sven Brauch--- kdev-python finds Python 3.5 at link time and links against the library it finds. It then expects the runtime data for that Python version to be present at a location where that libpython is actually looking for it. I think in this case you can modify it through the $PYTHONHOME env var. I still think this is a packaging bug ... -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 Gregor Michanged: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED|REOPENED Ever confirmed|0 |1 --- Comment #3 from Gregor Mi --- I installed Python 3.5 using this openSUSE package https://software.opensuse.org/package/opt-python35 which installs it into /opt/python/bin/ What would be the correct way of telling kdevelop to take this version? -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 Sven Brauchchanged: What|Removed |Added Resolution|--- |INVALID CC||m...@svenbrauch.de Status|UNCONFIRMED |RESOLVED --- Comment #2 from Sven Brauch --- Hm that only applies to 1.7.x. The 5 series should work with 3.5, and 3.5 only. I'm a bit confused, since I was pretty sure my CMakeLists.txt has a pretty strict check on that ... Unless you find out this is not the case, I'd claim this is a packaging bug and I'll close this. Feel free to reopen it if you find a fault on my side :) -- You are receiving this mail because: You are watching all bug changes.
[kdevelop] [Bug 361896] kdevelop5-plugin-python3: ImportError: No module named 'encodings'
https://bugs.kde.org/show_bug.cgi?id=361896 --- Comment #1 from Gregor Mi--- I currently use python 3.4.1. On https://www.kdevelop.org/kdev-python-173-py3-released I read that a minimum version of python 3.4.3 is required, but not 3.5. For openSUSE 42.1 a suitable version seems not to be available (https://software.opensuse.org/package/python3). But this explains the problem. -- You are receiving this mail because: You are watching all bug changes.