PyCharm Run Configuration does not stay - module

I am trying to change PyCharm Run Configuration of *.py file from Script Path to Module Name. It allows me apply changes fine, but when I come back it is still Script Path. I am using PyCharm 2021.2.3 Community Edition.

Related

configuration is still incorrect in intellij

When I just want to run my simple beginner java program, the IntelliJ tell me that "configuration is still incorrect, Do you want to edit it again". I've read the official web of IntelliJ about set up configuration, but I don't think it give me helps. My computer is macOS with version 10.14.6; the IntelliJ version is 2021.2.3 community edition. I'll post my configuration setting, can anyone tell me where I set my configuration wrong?
My second question is that: When I want to run a specific file by right click my current java file and choose run xxx, IntelliJ will run all the fills under my current directory. How can I only run a single fill that I want to run?

IntellijJ IDEA 2020.2.3 Not Starting

I downloaded IntelliJ IDEA Community edition from jetbrains and I installed it.
When I try to run it, nothing happens.
It doesn't respond.
Tried uninstall and install again, same.
Using Java 11.
First check if the JAVA_HOME variable is set.
If you go to IntelliJ Idea installation directory, try running idea.exe or idea64.exe, it will clearly say to add the JAVA_HOME variable and also append it in path variable.
Come back again to IntelliJ Idea installation directory and double click on idea.bat file.
It should open now.

Why doesn't my Intellij Ultimate detect virtualenv?

I've opened a Python project from IntelliJ Utlimate 2019.2.5 after using Pycharm.
I've the IDEA to a newly created virtualenv project SDK under <root>/.virtualenv directory, however, I cannot run pip install on the requirements using the terminal because virtualenv is not working, and I'm using my global python installation.
Opening the same project back in Pycharm brings it back to life again.
Is there a specific configuration I've missed (though I doubt that because there are only these instructions).
It's not possible at the moment in IntelliJ IDEA.
Vote for https://youtrack.jetbrains.com/issue/PY-22067

How to generate 64-bit version of sikuli JAR?

I am working on developing test automation code in selenium, I want to use 'sikuli' inside my code to handle windows and Flash objects in my web application,
I'm using 64-bit JVM, but there is no 64-bit version of Sikuli available, this is resulting in an error while running the code,
"Can't load IA 32-bit .dll on a AMD 64-bit platform"
I could not find a 64-bit sikuli Jar on internet, but I found that Sikuli source code is hosted on GitHub, could someone help me understand if I can use that source code and compile it into a jar of 64 bit version?
I'm not sure if this is possible or not.
If you install Sikuli 1.0.1 you have the option to install 6 packages with it as well. I would recommend installing the first 5. Then you will have all the things you are ever going to use.
If you also work on different sytems other then Windows, the 6th packages is also advisable.
I have installed all 6.
Finally got this working, here is what I did,
Download the sikuli set-up Jar from
"https://launchpad.net/sikuli/sikulix/1.0.1/+download/sikuli-setup.jar"
Save this jar in a folder 'SikuliSetup',now create a sub directory
'Downloads' which will come into picture later.
Run the above Jar, this will generate two files under the above
directory.
Now run the 'runSetup.bat' file generated from above setup. This
will start the setup, now select the 4th and 6th option in the
'sikulisetup' pop-up and click on 'setup Now'.
The above step will fail for most people due to default security
issues.
If the above step fails then you need to download an offline
version of this jar from this URL
"https://launchpadlibrarian.net/156273987/Sukuli-1.0.1-Offline-Setup-Java-option3-option4.zip".
UnZip the above file and copy the '1.0.1-3.jar' file to 'Downloads'
directory created under the 'SikuliSetup' directory previously.
Now run the 'runSetup.bat' file again, this will generate a new
jar file 'sikuli-java' and its dependent libraries under 'lib'
folder.
That's it, now copy this jar 'sikuli-java.jar' to your java build
path in eclipse.
Now Java will use this sikuli libraries without any issues.
Once after you setup the jar file under build path, restart the
system and login again.

Configuring PHPUnit on Server in PHPStorm 3.0 using XML configuration file

I would like to run PHPUnit tests on the development server as opposed to my desktop.
Using PHPStorm Run debug configuration I have created new PHPUnit on Server configuration.
However when I try to run it, PHPStorm does not seem to be able to see the XML configuration file. The path to the XML configuration file is on the local desktop, so it makes sense that PHPStorm runner would not be able to find the file on the server. However PHPStorm does not allow me to supply the path on the server.
P.S. I was able to run tests manually on the server and on my local desktop. In this question I am trying to figure out how to run the tests on the server directly from PHPStorm.
P.P.S. Could this be a bug in PHPStorm? if yes, then I'll submit it.
So far this seems to be an issue in PHPStorm. I have filed the issue here: http://youtrack.jetbrains.net/issue/WI-9369