Comments (16)
That is weird, I will investigate a bit more during the weekend and maybe add more logs to help triage the issue
from jetbrainsrunner.
That is good to know! Also good that I made the logs a bit more extensive/clear so that we can tangle potential issues easier.
from jetbrainsrunner.
The snap version works fine for me (KDE Neon based on Ubuntu 22.04). Could you please attach the ~/.config/JetBrains/PyCharmCE2023.2/options/recentProjects.xml file?
from jetbrainsrunner.
Here it is. I removed a couple of private pieces of info but nothing crucial I believe.
from jetbrainsrunner.
When removing the check if the given project exists, KRunner shows projects with your given file.
Are you sure those files exist on disk?
from jetbrainsrunner.
Could there be a trick with $USER_HOME$
? Otherwise yes, I'm sure, for instance:
% ls -al ~/perso/soft/moreutils
total 188K
...
drwxrwxr-x 8 jg jg 4096 sept. 3 15:15 .git
-rw-rw-r-- 1 jg jg 44 aoรปt 21 19:36 .gitattributes
drwxrwxr-x 4 jg jg 4096 sept. 3 15:18 .idea
...
from jetbrainsrunner.
Remark: my ~/.config/JetBrains
is a symlink to a directory located elsewhere. Could this be a problem?
from jetbrainsrunner.
user ~> ls -l ~/.config/JetBrains/PyCharmCE2023.2/options/recentProjects.xml
lrwxrwxrwx 1 user user 29 Sep 4 16:11 /home/user/.config/JetBrains/PyCharmCE2023.2/options/recentProjects.xml -> /home/user/recentProjects.xml
Even with a symlink, it works fine. But it might be worth a try to not symlink it on your system.
The USER_HOME variable is expanded by the plugin and should thus not be an issue
from jetbrainsrunner.
Yeah I tried putting the folder in place of the symlink and it didn't work.
from jetbrainsrunner.
Sorry, I overlooked you having responded. I am a bit confused by this not working, maybe try out disabling the check if the files exist.
src/jetbrains-api/JetbrainsApplication.h line 72:
bool checkIfProjectsExist = false; // for test purposes
from jetbrainsrunner.
Hey, I made the change and used install.sh, same result:
Application path map:
========== Find Available Config Folders ==========
AndroidStudio /home/jg/.config/Google/AndroidStudio2021.1
PyCharmCE /home/jg/.config/JetBrains/PyCharmCE2023.2
IdeaIC /home/jg/.config/JetBrains/IdeaIC2023.2
CLion /home/jg/.config/JetBrains/CLion2023.2
========== Filter Jetbrains Apps ==========
from jetbrainsrunner.
My neon Plasma5 setup is broken, but after a quick KF6/Qt6 port, everything still seems to work.
Question: Does Pycharm show up in your KDE launchers as expected? Does the file /var/lib/snapd/desktop/applications/pycharm-community_pycharm-community.desktop exist on your machine? If so, please attach it. According to the log, there were not apps found (meaning the empty application path map)
from jetbrainsrunner.
@nahoj Could you please respond to my last comment? That should help making this plugin more reliable :)
from jetbrainsrunner.
Hey, sorry for the delay. JetBrains apps don't appear in my KDE launchers. The .desktop file exists and works (launches PyCharm) though:
$ cat /var/lib/snapd/desktop/applications/pycharm-community_pycharm-community.desktop ๎ฒ โ ๎ณ took 4s ๎ณ system ๎ ๎ณ at 14:34:52
[Desktop Entry]
X-SnapInstanceName=pycharm-community
Version=1.0
Type=Application
Name=PyCharm Community Edition
Icon=/snap/pycharm-community/350/bin/pycharm.png
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/pycharm-community_pycharm-community.desktop /snap/bin/pycharm-community %f
Comment=Python IDE for Professional Developers
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm-ce
StartupNotify=true
from jetbrainsrunner.
It works ๐
I fixed snap apps not showing in my launchers by adding emulate sh -c 'source /etc/profile'
to /etc/zsh/zprofile
(https://askubuntu.com/a/989485) which in turn adds /var/lib/snapd/desktop
to XDG_DATA_DIRS
on login, and now your plugin shows my projects. Thanks!
from jetbrainsrunner.
As I understand it, this issue would arise for anyone using zsh as a login shell on Ubuntu, if they didn't take the time to fix their XDG_DATA_DIRS
/ zprofile
.
from jetbrainsrunner.
Related Issues (20)
- The full path of the project is too long. Is there a prompt box to show the full path HOT 3
- Android Studio Canary not detected HOT 8
- Updating HOT 2
- "Configuring incomplete, errors occurred!" HOT 3
- Shorter name formatting HOT 9
- Can't find kcmutils_version HOT 5
- Install script doesn't install the latest version HOT 8
- IDEA in Flatpak does not open Project HOT 6
- WebStorm in Flatpak does not open Project HOT 3
- JetbrainsRunner opens an empty file instead of project HOT 3
- While projects are listed on KRunner, no actions are taken. HOT 16
- Automatic detection not working HOT 12
- Recent projects not found HOT 3
- Projects visible but won't start (only last used project is opened) HOT 3
- Rider Project Name HOT 3
- Automatic detection not working with ansible pycharm installation HOT 3
- Mention Arch Linux package in readme HOT 3
- Writerside support HOT 7
- Plasma 6 support? HOT 44
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetbrainsrunner.