Package Details: pycharm-professional 2024.3.2-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: 293
Popularity: 1.73
First Submitted: 2013-09-25 03:56 (UTC)
Last Updated: 2025-01-28 12:53 (UTC)

Dependencies (19)

Required by (0)

Sources (4)

Pinned Comments

Xavier commented on 2024-12-20 15:15 (UTC)

MANUAL INTERVENTION FOR v2024.3.1.1:

Due to the latest changes for the cython speed up, this release is going to show a commit transaction conflicting files, to fix this you need to enable Cython Speed ​​Up file overwriting:

[aur helper] pycharm-professional --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'

or after manual build:

sudo pacman -U pycharm-professional-2024.3.1.1-1-x86_64.pkg.tar.zst --overwrite '/opt/pycharm-professional/plugins/python-ce/helpers/pydev/*'

Latest Comments

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

Xavier commented on 2020-12-21 23:14 (UTC)

@edacval fixed, thanks

edacval commented on 2020-12-21 22:21 (UTC)

Build fails with : install: cannot stat '/opt/pycharm-professional/bin/pycharm.png': No such file or directory Fix:

diff --git a/PKGBUILD b/PKGBUILD
index 6912f8b..fc3ec0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -66,8 +66,8 @@ package() {
     install -dm 755 "$pkgdir/usr/share/applications"
     install -Dm 644 "$pkgname.desktop" "$pkgdir/usr/share/applications/"
     install -dm 755 "$pkgdir/usr/share/icons/hicolor/"{128x128,scalable}"/apps/"
-    install -Dm 644 "/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pycharm.png"
-    install -Dm 644 "/opt/$pkgname/bin/pycharm.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/pycharm.svg"
+    install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pycharm.png"
+    install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/pycharm.svg"

     # exec
     install -dm 755 "$pkgdir/usr/bin/"

Xavier commented on 2020-12-21 21:04 (UTC)

@Singularity yeah I know that pixmap is deprecated I did it due to a request by one user but I think in the hicolor folder is the correct place, fixed, thanks. @nickb937 I checked it and I added some of them, nspr is provided by nss and jre-openjdk-headless is not necessary, this pycharm version uses the bundle package with JRE inside provided by them.

nickb937 commented on 2020-12-15 10:45 (UTC)

The following packages are required dependencies:

libxss, nspr, nssutil, jre-openjdk-headless

See: ldd /opt/pycharm-professional/jbr/lib/libjcef.so

hopter commented on 2020-12-11 10:41 (UTC)

why hardcoded the icon path in desktop file?

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 :)