Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633370 - dev-util/pycharm-community unable to execute /opt/pycharm-community/helpers/pydev/pydevconsole.py (exit code 127)
Summary: dev-util/pycharm-community unable to execute /opt/pycharm-community/helpers/p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 10:51 UTC by Aljoscha Vollmerhaus
Modified: 2019-05-08 10:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace /usr/bin/python-exec2c /opt/pycharm-community/helpers/pydev/pydevconsole.py (trace.txt,3.31 KB, text/plain)
2017-10-03 10:51 UTC, Aljoscha Vollmerhaus
Details
emerge --info (emerge_info.txt,5.30 KB, text/plain)
2017-10-03 10:52 UTC, Aljoscha Vollmerhaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aljoscha Vollmerhaus 2017-10-03 10:51:49 UTC
Created attachment 497504 [details]
strace /usr/bin/python-exec2c /opt/pycharm-community/helpers/pydev/pydevconsole.py

When trying to use the interactive python console in dev-util/pycharm-community-2017.2.3, the subprocess dies with exit code 127.
I think it's related to dev-lang/python-exec (I'm using 2.4.4), setting the path to the python interpreter to /usr/bin/python3.4m in pycharm fixes the problem.

This can be reproduced from the OS shell using "strace /usr/bin/python-exec2c /opt/pycharm-community/helpers/pydev/pydevconsole.py", trace is attached.
Comment 1 Aljoscha Vollmerhaus 2017-10-03 10:52:33 UTC
Created attachment 497506 [details]
emerge --info
Comment 2 Michael Weber (RETIRED) gentoo-dev 2017-12-18 17:04:54 UTC
Looks like choosing any interpreter (i.e. /usr/bin/python3.6) instead of python-exec2c works.

I think there were two solutions:

a) select an interpreter based on PYTHON_SINGLE_TARGET and write in in default config

b) create files needed for ython-exec2c (note these "file not found" in the trace output)

tbd
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-05-08 10:25:22 UTC
should not be a problem now.