Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#57358 - [pycharm-community-edition] Python debugger extension asks for root permissions
Attached to Project:
Community Packages
Opened by xsmile (xsmile) - Saturday, 03 February 2018, 22:49 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 04 February 2018, 13:28 GMT
Opened by xsmile (xsmile) - Saturday, 03 February 2018, 22:49 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 04 February 2018, 13:28 GMT
|
DetailsDescription:
PyCharm supports setting up a speedup extension for debugging which is placed in $HOME/.PyCharm<VERSION>/system/cythonExtensions. However, it seems that the home directory is not derived from the current user but is determined by the owner of the directory /usr/share/pycharm/helpers, resulting in PyCharm asking for root permissions to compile and install the extension. Additional info: * package version: 2017.3.3-1 Steps to reproduce: - remove the directory $HOME/.PyCharmCE<VERSION>/system/cythonExtensions, if available - run the debugger in an existing Python project - click 'Install' in the 'Python Debugger Extension Available' popup - PyCharm asks for root permissions Workaround: - as a non-root user, take ownership of the directory /usr/share/pycharm/helpers - PyCharm will install the extension without root permissions |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Sunday, 04 February 2018, 13:28 GMT
Reason for closing: Fixed
Additional comments about closing: 2017.3.3-2
Sunday, 04 February 2018, 13:28 GMT
Reason for closing: Fixed
Additional comments about closing: 2017.3.3-2
https://youtrack.jetbrains.com/issue/PY-26701
https://github.com/JetBrains/intellij-community/commit/6bcb81edff98624c9f8c2206b6f554b86153a164#diff-1a1ceee58353f11f7edb59175b7501e5
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -71,8 +71,10 @@ fi
package() {
# compile PyDev debugger used by PyCharm to speedup debugging
- python2 pycharm-$_pkgver/helpers/pydev/setup_cython.py build_ext --inplace
- python3 pycharm-$_pkgver/helpers/pydev/setup_cython.py build_ext --inplace
+ python2 pycharm-$_pkgver/helpers/pydev/setup_cython.py build_ext \
+ --build-temp build --build-lib .
+ python3 pycharm-$_pkgver/helpers/pydev/setup_cython.py build_ext \
+ --build-temp build --build-lib .
# base
install -dm 755 $pkgdir/opt/$pkgname