PyCharm won't open a specific project
I recently started having an issue with PyCharm not opening one of my repositories. It doesn't seem to matter what method I use to open it, clone it, or anything else like that. It simply opens up to what appears to be a blank page (when trying to tab into the project, it will not display on the screen). Interestingly, files will not open when part of this project, but if copy pasted elsewhere they are fine until they are reassigned to the project. I tried deleting the .idea folder and the fresh one created when trying to open the project does not fix the issue. I'm not given any diagnostic info or a failure message when I've tried any of these approaches, so I'm at a total loss for what is actually wrong. I am using PyCharm 2021.3.2.
Please sign in to leave a comment.
Hi, could you please provide a screenshot of the issue and Logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue?
You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.
Hello Andrey,
I was actually able to get in for the first time since this started just now! I opened it in an already opened window instead of creating a new window. I've attached logs of both the successful and failed attempts to open. I'd like to get this working, but now that I have a workaround it's not a huge deal to me.
Upload id: 2022_04_12_HfU5nwxXi1d8mAKN (files: pycharm-logs-new-window.zip, pycharm-logs-same-window.zip)
Seems that something is wrong with the interpreter
Could you please provide the `python -V` and `python -c "import sys; print(sys.path)"` outputs from the interpreter used in the problematic project?
I'm having exactly the same problem with the variation that PyCharm won't open a window at all, it simply puts an icon in the task bar. If I hover over it it shows a blank window but nothing I can do will open that window. I can shutdown PyCharm by clicking the X that is shown when hovering over the taskbar icon.
It worked fine last time I opened the project and I cannot think of anything that has changed on my PC recently.
I have a dozen other projects that follow the same pattern and the ones I've tries all open correctly except the one I need to work in - of course. Each of these projects each have their own virtual environment.
I'm using
I was using an earlier version but upgraded in case that was the problem. It made no difference.
After I attempt to open the broken project, the log file reports a few SEVERE warnings:
But no errors.
I've tried deleting the .idea directory and recreating the project but that didn't help. I recerated the virtual environment but that made no difference either. Trying to open the project while another project that works is open still only adds an icon to the task bar for the broken project.
`python -V` and `python -c "import sys; print(sys.path)" just point to the virtual environment, when it is activated, or the system python when it isn't. Unclear which one would be used when recreating the project. In both instances the code is running Python 3.9.9.
There seems to be multiple issues with a similar error:
https://youtrack.jetbrains.com/issue/IDEA-251589/Project-window-doesnt-appear-at-the-startup
https://youtrack.jetbrains.com/issue/IDEA-217643/javalangThrowable-Frame-bounds-are-invalid-javaawtRectanglex4539y-1444width1861height1084
https://youtrack.jetbrains.com/issue/IDEA-236029/Main-IDE-window-is-shown-offscreen-after-disconnecting-the-external-changing-the-primary-display
There's a workaround mentioned: https://youtrack.jetbrains.com/issue/IDEA-251589/Project-window-doesnt-appear-at-the-startup#focus=Comments-27-6063121.0-0
Could you please try it?
The work around you mention fixed the issue. And after applying it successive opening aren't affected.
Thanks.