InSyncWithFoo / ryecharm

The all-in-one PyCharm plugin for Astral-backed Python tools
https://insyncwithfoo.github.io/ryecharm/
MIT License
82 stars 3 forks source link

build+alpha4: Cannot Create New Project #27

Closed AlmogBaku closed 1 week ago

AlmogBaku commented 2 weeks ago

What happened?

With build+alpha4 - I cannot create New Project. Buttons are not responding

MacOs InteliJ IDEA Ultimate

Steps to reproduce

Click on New Project

Relevant log output or stack trace

No response

Operating system

macOS

InSyncWithFoo commented 2 weeks ago

I'm afraid there is not enough information for me to reproduce the problem. In fact, the project generator works just fine on my Windows machine.

I assume you are using a nightly version. If it isn't the latest (3bc4492), could you install the latest and try again? If not, what do you see in the logs? The entries/stacktraces of interest should all contain insyncwithfoo.ryecharm somewhere; if you don't see them, enable the insyncwithfoo.ryecharm.logging.commands registry key ( + Shift + ARegistry...) and repeat the process.

Also, what is the version of your uv? What happens when you run uv init && uv venv manually at that same directory?

Do also note that RyeCharm's project generator is obsolete in favor of the native generator, expected to be included in PyCharm 2025.1 EAP (releasing sometime in January).

InSyncWithFoo commented 2 weeks ago

Ah, my apologies, you say you are using IntelliJ IDEA and not PyCharm?

I'm sorry to say that IntelliJ IDEA is not supported, mainly because it still uses legacy APIs when creating project generation panels. However, it is true that the plugin shouldn't freeze the UI. I'll see if I can mitigate this somehow.

zentaos commented 2 weeks ago

I had a similar issue on windows with IntelliJ IDEA. It cause a RuntimeException, the new project dialog wont open but it wont freeze the IDE.

Works in PyCharm tho.