Package Details: pycharm-professional 2024.1-1

Git Clone URL: https://aur.archlinux.org/pycharm-professional.git (read-only, click to copy)
Package Base: pycharm-professional
Description: Python IDE for Professional Developers. Professional Edition
Upstream URL: https://www.jetbrains.com/pycharm/
Keywords: development editor ide jetbrains python
Licenses: custom
Submitter: hippojazz
Maintainer: Xavier (37h4n)
Last Packager: Xavier
Votes: 287
Popularity: 1.31
First Submitted: 2013-09-25 03:56 (UTC)
Last Updated: 2024-04-04 13:20 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 43 Next › Last »

Singularity commented on 2020-12-08 19:24 (UTC)

I just looked over the last changes. You placed a link to the icon in /usr/share/pixmaps. However, you also hardcoded the icon path in the desktop files now. If you wouldn't do that, the icon theme could provide it's own icon, and the one from pixmaps would be used if it doesn't. Also, I think using the pixmaps directory is deprecated, /usr/share/icons/hicolor/scalable/apps/ is the new location.
PS: I also wouldn't hardcode the executable's path either, because then I can override it by placing my own in /usr/local/bin … (For example, I do that with java applications which still need java8, to set there a different JAVA_HOME and then calling the real binary from there.)

klaasjanelzinga commented on 2020-12-08 10:19 (UTC)

@donny thanks for the reply. I had cython installed and did a clean build. The problem was that I was working in a virtualenv. In this virtualenv there was no Cython installed.

So I deactivated and it worked, like a charm :)

donny commented on 2020-12-08 09:49 (UTC)

@klaasjanelzinga: Make sure your system is up to date (pacman -Suy) and cython package is installed (it's in makedepends), it's in the [community] repo. Also if you use yay or some similar aur helper, do a clean build, don't re-use your old build files.

klaasjanelzinga commented on 2020-12-08 09:36 (UTC) (edited on 2020-12-08 09:37 (UTC) by klaasjanelzinga)

Hi, I am getting an error when updating:

==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
  File "pycharm-2020.3/plugins/python/helpers/pydev/setup_cython.py", line 
112, in <module>
    build_extension("_pydevd_bundle", extension_name, target_pydevd_name,     
force_cython, extension_folder, True)
  File "pycharm-2020.3/plugins/python/helpers/pydev/setup_cython.py", line 
69, in build_extension
from Cython.Build import cythonize  # @UnusedImport
ModuleNotFoundError: No module named 'Cython'
==> ERROR: A failure occurred in build().
    Aborting...
error making: pycharm-professional

mqs commented on 2020-12-06 12:43 (UTC)

@XavierCLL thank you for the swift fix :)

Xavier commented on 2020-12-06 01:54 (UTC) (edited on 2020-12-06 02:01 (UTC) by Xavier)

Hi @mqs, thanks for reporting it, I didn't know that some app still uses the pixmaps folder, fixed, (update: small fix but I decided increases the pkgrel)

mqs commented on 2020-12-05 23:17 (UTC)

Hey! Thanks for the package. Could you please put the icon back into /usr/share/pixmaps, so other apps can find it via xdg (when only searching for the icon)? A symlink to /opt/pycharm-professional/bin/pycharm.png(or svg) should be enough.

I noticed that it was gone by pure coincidence (the albert plugin[1] uses it and I was working on it today) :D

Is there a reason it was (re)moved?

[1] Albert Launcher: https://albertlauncher.github.io/ Jetbrains plugin for albert: https://github.com/mqus/jetbrains-albert-plugin

Xavier commented on 2020-12-05 18:48 (UTC)

Thanks guys, updated and fixed

donny commented on 2020-12-05 14:34 (UTC) (edited on 2020-12-05 14:35 (UTC) by donny)

@qft thanks for your tip, it's working again.

  • add 'cython' to makedepends, so it looks like this:

makedepends=('python-setuptools' 'cython')

  • update the build() function:
build() {
  cd "pycharm-$pkgver"

  # compile PyDev debugger used by PyCharm to speedup debugging
  rm plugins/python/helpers/pydev/_pydevd_frame_eval/*.c
  python plugins/python/helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib . --force-cython 

  rm -r bin/fsnotifier lib/pty4j-native/linux/{x86,ppc64le}
}

qft commented on 2020-12-05 03:57 (UTC)

@XavierCLL The reason for this bug is that the debugger .c files are not synchronized with the .pyx files. This issue can be fixed by regenerating the .c files by passing the --force-cython flag to setup_cython.py. As I have done in the pycharm-eap PKGBUILD https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pycharm-eap