Package Details: pycharm-community 2016.2.2-1

Git Clone URL: https://aur.archlinux.org/pycharm-community.git (read-only)
Package Base: pycharm-community
Description: Powerful Python and Django IDE. Community edition.
Upstream URL: http://www.jetbrains.com/pycharm/
Licenses: Apache
Conflicts: pycharm, pycharm-professional
Provides: pycharm
Submitter: davekeogh
Maintainer: mixedCase
Last Packager: mixedCase
Votes: 259
Popularity: 8.545401
First Submitted: 2013-09-25 03:09
Last Updated: 2016-08-25 22:13

Latest Comments

mixedCase commented on 2016-08-18 17:01

@marmistrz Cannot reproduce. Looks like a file permission issue with one of your packages.

marmistrz commented on 2016-08-18 16:56

==> Starting package()...
Traceback (most recent call last):
File "/home/marcin/.cache/pacaur/pycharm-community/src/pycharm-community-2016.2.1/helpers/pydev/setup_cython.py", line 25, in <module>
from setuptools import setup
File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/lib/python2.7/site-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2953, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2939, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2966, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 626, in _build_master
ws = cls()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 619, in __init__
self.add_entry(entry)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 675, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1983, in find_on_path
path_item, entry, metadata, precedence=DEVELOP_DIST
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2371, in from_location
py_version=py_version, platform=platform, **kw
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2712, in _reload_version
md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2336, in _version_from_file
line = next(iter(version_lines), '')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2504, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1478, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1581, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/pygtkhelpers-0.4.3-py2.7.egg-info/PKG-INFO'

mixedCase commented on 2016-08-02 18:13

@w00dy Glad you were able to solve it. I'd suggest you edit the wiki and remove that particular line since I assume PyCharm isn't the only Java application affected. I'd do it myself but I don't feel okay doing it since I didn't reproduce it ;).

w00dy commented on 2016-08-02 18:09

@mixedCase turned out it was an issue with the matlab.desktop menu item. Following the arch wiki tutorial on Matlab (https://wiki.archlinux.org/index.php/matlab) it suggests a line 'StartupWMClass=sun-awt-X11-XFramePeer' at the bottom of the menu item. For whatever reason this was causing Pycharm to also take the application name 'MATLAB' in the application pane, I assume some Java conflict. Commenting out this line solved the issue and hasn't affected Matlab at all.

mixedCase commented on 2016-08-02 04:21

@w00dy sounds like a bug with your DE. If you open the application from the binary (at /usr/bin/pycharm) and the bug still occurs, you should take it up with DE upstream first, and if they tell you it's a PyCharm bug, you'll have to go with JetBrains.

If it happens only with the .desktop and not when you start it from the binary, I would still wager it's a DE problem but it might be solvable from this end.

w00dy commented on 2016-08-02 04:17

I have both Pycharm and MATLAB installed, however, Pycharm seems to think it's MATLAB, and is displayed as such in Activities in the top tool bar. Any idea why this is or how to change it? Functions perfectly fine otherwise.

mixedCase commented on 2016-06-20 06:30

So much for that async-await-like trick.

Fix committed.

willemw commented on 2016-06-20 06:26

When building in a clean chroot environment, package() hangs.
Removing the wait-lock fixes it for me:

# Compile PyDev debugger used by PyCharm to speedup debugging
python2 $srcdir/$pkgname-$pkgver/helpers/pydev/setup_cython.py build_ext --inplace
python3 $srcdir/$pkgname-$pkgver/helpers/pydev/setup_cython.py build_ext --inplace

mixedCase commented on 2016-06-19 22:39

Updated, also added python-setuptools since we also build for python 3.

Thanks for reporting.

strainwrld commented on 2016-06-19 22:25

python2-setuptools missing as a make dependency:

>Traceback (most recent call last):
> File "/home/strainwrld/.cache/pacaur/pycharm-community/src/pycharm-community-2016.1.4/helpers/pydev/setup_cython.py", line 25, in <module>
> from setuptools import setup
>ImportError: No module named setuptools

All comments