There is an error when I add ruby SDK for my project in rubymine - rubymine

At the beginning, I opened my project by rubymine. it remind me No ruby interpreter configured for the project. the following error emits when I add the SDK for the project following the wizard.
12:55:57 PM Unknown Module Type
Cannot determine module type ("JAVA_MODULE") for the following module:"p4ep"
The module will be treated as a Unknown module.
Anyone knows that's why?

The error may occur as a result of opening the project in different IDEs.
To fix it you need to replace "JAVA_MODULE" in iml config file .idea/project_name.iml to "RUBY_MODULE"

You can delete the path .idea and restart ruby project. It works for me

Related

Keep Getting Error When Trying to Run Javafx on Eclipse with Mac

So I keep getting this error when trying to run my program:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found
I'm using a mac with eclipse, and my VM argument is:
--module-path /Users/myname/Desktop/javafx-sdk-11.0.2_3/lib --add-modules javafx.controls,javafx.fxml
I've tried everything, javafx.controls.jar and the other .jar file are in my lib folder. I've reinstalled the javafx program, changed my file path around hundreds of times, and I've tried to install plugins. Does anyone have any idea as too what can be happening? JavaFX is also an added library in my project, and all the .jar files assocated with it are added to it. Please let me know if anyone has an idea. Best!
I had success with the following additional step.
In the Run Configuration->Dependencies tab, click the "ModulePath" and then add the JavaFX JDK's jars (or the /lib folder that holds the jars) to the list.
You can inspect the generated command line, and check that these are included in the -p option.
IDK why this step should be needed. I would think Eclipse should be smart enough to include something on the dependency module path if it were in the project's Build Path Library list.
I have questions about this at eclipse.org and gluon. Maybe there will be an explanation, or fix so that this step isn't needed, or an edit to the documentation to let us know we need to do this.

source_sink `library(lineutils)' does not exist

When I try to compile a prolog file, in eclipse with the prodt plugin it gives me this error:
 
source_sink `library(lineutils)'does not exist
the project was not created by me, but it is a university project, I don't know where to find this library, which seems to be from YAP. I use SWI Prolog.
Is there a way to solve this problem?
From a quick glance to the library source code, it seems that it's compatible with SWI-Prolog. You can copy the library/lineutils.yap from the YAP distribution to your SWI-Prolog installation and use it from there. If you copy the file to same place where SWI-Prolog keeps its libraries, you can load it using the same directive:
:- use_module(library(lineutils)).
Otherwise, you can copy it to your application directory and then load it using simply:
:- use_module(lineutils).

QxOrm giving "could not be resolved" error

I am using the Eclipse IDE and Qt plugin.
I am using QxOrm in my Qt project. I have downloaded the library files and compiled them and when I start using the macros it's giving lots and lots of errors like:
C_str could not be resolved
macro could not be resolved
string could not be resolved
So I tried debugging it and found that, the same errors are also there when I opened the header file in which the macro I was using was defined. What might cause this and how do I fix it?
Have you tried to build all examples from ./test/ directory of QxOrm library package ?
I strongly recommend to test all examples before starting your own project to verify your development environment.
Could you provide please the source code of your persistent class (.hpp and .cpp files) ?
It will be easier to help you with some code...

Location of config file for devmode in Eclipse?

I have a multi module GWT project (say a.gwt.xml, b.gwt.xml, c.gwt.xml) that I am building in eclipse and testing in devmode. All was working well until I deleted one of the gwt module file and associated source. Now when I try to launch devmode from eclipse it fails with the following error message.
Loading modules
com.fubar.b
[ERROR] Unable to find 'com/fubar/b.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[ERROR] shell failed in doStartup method
I assume that this means there is a stale reference to the now defunct b.gwt.xml but I can't seem to find it in any of the config files. Any ideas?
At present I am working around this by doing a copy+rename a.gwt.xml -> b.gwt.xml (so there are effectively 2 copies of the a module names a + b) which works fine but compiles 2 copies of same module :(
What I think is your runtime configuration which is gone wrong. Individual projects should be fine. Open the runtime configuration which you were running and check the entries in GWT! If the module you have deleted still exists here, then you need to remove it.
Runtime config for project
You can refer to the following Video.
http://www.youtube.com/watch?v=UW4WSYs1bKE
To rename
Right Click on the project.
Select Run As ---> Run Configurations.
In the Arguments Tab, change the Old Module Names in Program
Arguments.
Also Make sure, in GWT Tab, Selected module name is correct.
ALREADY I HAVE ANSWERED THIS HERE : GWT:how can i rename my module

GWT tries to load a deleted module

I am using Eclispe with Google plugin for AppEngine and GWT. Recently I created a test GWT module, but eventually it has been deleted from the project and I can not find any sign of it in the project now.
However, whenever I run the web app locally, I get in console the following message:
Loading modules
com.piq.exemity.Test
[ERROR] Unable to find 'com/XXXXXX/Test.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
Has anyone got any idea where it can be hiding?
Open Run Configurations... from the Run pulldown menu and go to tab Arguments. In the Program arguments box delete the path to your deleted module.
It could be there in two places -
When you invoke GWTC (via the compile option in Eclipse), the module name com.xxx.Test is passed to the compiler. This causes GWT to look for com/xxx/Test.gwt.xml file
You could have a module that inherits the module "com.xxx.Test". Check your gwt.xml file if this is the case
I think (1) is more likely the culprit.