No Charts on Visualizations

JoãoFRF
JoãoFRF New Altair Community Member
edited November 5 in Community Q&A
Hey there everyone.
I just started using rapidminer, as I am using it in my university.
I'm here asking for help (I tried figuring it out with my teacher but no success), where I have no graphic what so ever on results -> visualizations.
Here is the print: imgur.com/TTcFYBd.png

Here is the neofetch of my system: imgur.com/he6Hcwn.png


I've tried using the legacy options and the html 5.

Thank you all in advance.

Best Answer

  • BalazsBarany
    BalazsBarany New Altair Community Member
    Answer ✓
    Hi,

    I'm actually using the Amazon Coretto Java VM 8 for Studio on Linux nowadays. It is also compatible with the new database connection dialogs.

    With OpenJDK, I see:
    - Upon start, the Cloud extension can't be loaded
    - No visualizations
    - Editing database connections doesn't work

    Errors in the terminal:
    Exception in thread "AWT-EventQueue-1" java.lang.UnsatisfiedLinkError: /home/barany/.RapidMiner/internal cache/browser7.3-ANY/libawt_helper.so: libjawt.so: Can't open shared object file: no such file or directory

    Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: javafx/beans/property/StringProperty
           at com.rapidminer.connection.gui.model.ConnectionModelConverter.fromConnection(ConnectionModelConverter.java:77)
           at com.rapidminer.connection.gui.AbstractConnectionGUI.<init>(AbstractConnectionGUI.java:132)
           at com.rapidminer.extension.jdbc.connection.gui.JDBCConnectionGUI.<init>(JDBCConnectionGUI.java:40)

    So I guess we can only recommend the Coretto JDK for RapidMiner Studio on Linux. 

    Regards,
    Balázs

Answers

  • sgenzer
    sgenzer
    Altair Employee
    hi @JoãoFRF can you please share your rapidminer-studio.log file?
  • JoãoFRF
    JoãoFRF New Altair Community Member
    edited February 2020
    @sgenzer

    Here it is : pastebin.com/raw/7h3ppz02
  • sgenzer
    sgenzer
    Altair Employee
    thanks @JoãoFRF. That helps. What's your computer hardware and operating system?
  • JoãoFRF
    JoãoFRF New Altair Community Member
    @sgenzer
    I posted it on the question, I'm using mx linux, on a laptop, i7-7700hq and a 1050ti (no nvidia drivers installed because last time i installed them i had issues (it has conflicts with other softwares i use atm), but i have no need to install them anyways.)
  • sgenzer
    sgenzer
    Altair Employee
    yes that is what I suspected. We are aware of some issues with the visualizations on some Linux installations. Our resident Linux expert is @BalazsBarany so I will see if he has any insight here. Otherwise you may wish to use RapidMiner on any standard Windows / Mac machine.

    Scott

  • JoãoFRF
    JoãoFRF New Altair Community Member
    @sgenzer
    But it is the only feature that doesn't work, everything else seems alright, graphics work etc, just not in the visualizations tab
  • sgenzer
    sgenzer
    Altair Employee
    Yup. That's exactly what we have heard from time to time. Let's see what Balazs has to say.
  • BalazsBarany
    BalazsBarany New Altair Community Member
    Answer ✓
    Hi,

    I'm actually using the Amazon Coretto Java VM 8 for Studio on Linux nowadays. It is also compatible with the new database connection dialogs.

    With OpenJDK, I see:
    - Upon start, the Cloud extension can't be loaded
    - No visualizations
    - Editing database connections doesn't work

    Errors in the terminal:
    Exception in thread "AWT-EventQueue-1" java.lang.UnsatisfiedLinkError: /home/barany/.RapidMiner/internal cache/browser7.3-ANY/libawt_helper.so: libjawt.so: Can't open shared object file: no such file or directory

    Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: javafx/beans/property/StringProperty
           at com.rapidminer.connection.gui.model.ConnectionModelConverter.fromConnection(ConnectionModelConverter.java:77)
           at com.rapidminer.connection.gui.AbstractConnectionGUI.<init>(AbstractConnectionGUI.java:132)
           at com.rapidminer.extension.jdbc.connection.gui.JDBCConnectionGUI.<init>(JDBCConnectionGUI.java:40)

    So I guess we can only recommend the Coretto JDK for RapidMiner Studio on Linux. 

    Regards,
    Balázs
  • JoãoFRF
    JoãoFRF New Altair Community Member
    @BalazsBarany
    And now how do I "force" rapidminer to use that java version?
  • BalazsBarany
    BalazsBarany New Altair Community Member
    Hi,

    I set JAVA_HOME before calling RapidMiner. You can also put the following into your RapidMiner-Studio.sh at the beginning:

    export JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto

    Regards,
    Balázs
  • JoãoFRF
    JoãoFRF New Altair Community Member
    Worked like a charm.
    Thank you so much!
  • JoãoFRF
    JoãoFRF New Altair Community Member
    edited February 2020
    In any case someone ends ups here with the same problem here's what I did.
    As i'm in a debian based distro after getting told to use the amazon correto 8 I did this:

    sudo dpkg --install java-1.8.0-amazon-corretto-jdk_8.242.07-1_amd64.deb
    I downloaded the file here: docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
    sudo update-alternatives --config java
    selected the number with the correct version and restarted rapidminer.

  • BalazsBarany
    BalazsBarany New Altair Community Member
    Thanks @JoãoFRF for sharing the installation process.

    I've heard from developers that the problem is only temporary, affecting version 9.5.
    Studio 9.6 will also work with OpenJDK again, as it will bundle the necessary libraries.

    Regards,
    Balázs