Closed tomk3003 closed 2 years ago
This looks somewhat similar to #2463 This is not related to the upgrade. I just tested my previous Pycharm versions and the problem is the same. Strange is that the command is working fine in the Pycharm Terminal. So it doesn't look like a perlbrew problem.
Verified. Adding the exact same perl as a new local interpreter in perl5.xml with "versionmanager" set to "system" works without problems. So executing the perlbrew command seems somehow broken.
I have narrowed this down to the variables from perlbrews etc/bashrc not being available when pycharm is started from a gnome desktop file. The file is normally sourced from the user's .bashrc. Using perlbrew exec -q
masks the error message No perl installation found.
And getting a return code 0 doesn't help either.
After making sure that the variables are set, everything works as expected.
I just upgraded Pycharm to 2022.2 and updated the Perl plugin. I cannot get the tests to run. The only output is:
The shown command works when pasted into the terminal and produces the expected output:
There is nothing additional in the Pycharm logs. This is happening for all my projects even for newly created ones.
Build version: PyCharm 2022.2 Build: #PY-222.3345.131 July 27, 2022 JRE: 17.0.3+7-b469.32, JetBrains s.r.o. JVM: 17.0.3+7-b469.32, OpenJDK 64-Bit Server VM, JetBrains s.r.o. Operating System: Linux 5.15.0-46-generic (amd64) Custom plugins: [Perl (222.2964.55-EAP-SNAPSHOT), Template Toolkit Support (222.2964.55-EAP-SNAPSHOT), Embedded Perl Support (222.2964.55-EAP-SNAPSHOT), Mojolicious Support (222.2964.55-EAP-SNAPSHOT)]