Replies: 5 comments 5 replies
-
Hello, If you have opened your project in PyCharm before, then Qodana should be able to open problem in the IDE. Does your project remote "origin" match the URL from the log? |
Beta Was this translation helpful? Give feedback.
-
My git origin is [email protected]:myproject/plato.git, but our CI site is gitlab.mygitlab.com. However, I tested both origin in that URI, same issue. The log doesn't have detail errors:
|
Beta Was this translation helpful? Give feedback.
-
how does PyCharms locate the project? I thought it could be by that origin. I test in various combination.. no luck. One more guess, my project is a submodule, so it doesn't have |
Beta Was this translation helpful? Give feedback.
-
OK, I updated CI job to root project. After I manually replaced that origin URI from gitlab.mygitlab.com to git.mygitlab.com, it works... So it actually still not working for my case because it seems no way to modify that origin URI. Furthermore, open VCS was working if Qodana built from the sub-module project, but failed when it was built on root project, due to Gitlab cannot open a submodule project file from root project URI :( If your future development can consider these scenarios, that will be great! Thank you. |
Beta Was this translation helpful? Give feedback.
-
More information, why our git origin and gitlab CI are using different domain, that is because we are using Cloudflare Zero Trust gateway, we have to use different domain for these two kind of network services. |
Beta Was this translation helpful? Give feedback.
-
I am using our hosted gitlab CI to publish the report to Qodana cloud. When I click
open file in PyCharm
, it reports "Cannot find or open the specified project". From log, I can see it try to openjetbrains://pycharm/qodana/showMarker?origin=https://gitlab.mygitlab.com/myproject/plato.git&marker_revision=3ac986ca623f30d5d435d16ca5e2e5eccd1b50da&path=src/plato/invitation/services.py:186:129&length=14&message=Local%20variable%20%27inv_identifier%27%20might%20be%20referenced%20before%20assignment
Qodana is 2023.1 python linter, Pycharm is also latest 2023.1.2. OS is Mac OSX 13.4.
Because our hosted gitlab webpage URL and git URL are different, https://gitlab.mygitlab.com/myproject/plato.git and https://git.mygitlab.com/myproject/plato.git, without "lab" in first part of url. I tried replace it in that URI and open but same result.
I am not sure what is the indicator to tell PyCharm project name. Git origin? or project name in some configuration files under .idea folder?
Beta Was this translation helpful? Give feedback.
All reactions