OHDSI / WhiteRabbit

WhiteRabbit is a small application that can be used to analyse the structure and contents of a database as preparation for designing an ETL. It comes with RabbitInAHat, an application for interactive design of an ETL to the OMOP Common Data Model with the help of the the scan report generated by White Rabbit.
http://ohdsi.github.io/WhiteRabbit
Apache License 2.0
185 stars 90 forks source link

I can't open the graphical interface of WhiteRabbit and Rabbit-In-a-Hat on Linux (Ubuntu) #397

Closed FranSoriano closed 11 months ago

FranSoriano commented 11 months ago

Describe the bug I am trying to use WhiteRabbit and Rabbit-In-a-Hat on Linux (Ubuntu) but I can't get the GUI to open. When I double click on the file as indicated in the documentation (https://ohdsi.github.io/WhiteRabbit/WhiteRabbit.html#installation_and_support) it simply opens in a text editor.

To Reproduce Steps to reproduce the behavior:

  1. Use Linux (Ubuntu).
  2. Download the latest version of WhiteRabbit from Github.
  3. Unzip the download.
  4. Double-click on bin/whiteRabbit on Linux to start WhiteRabbit or double-click on bin/rabbitInAHat on Linux to start Rabbit-In-a-Hat depending on the tool you wish to use.

Expected behavior The WhiteRabbit or Rabbit-In-a-Hat graphical interface should open.

Screenshots This is what I get when I double click on bin/whiteRabbit (instead of running the tool, the text editor opens). WhiteRabbit

Desktop (please complete the following information):

Additional context I have tried launching WhiteRabbit from the command line and it worked but Rabbit-In-a-Hat is a tool that can only be run through the graphical interface. Your messages and suggestions are important to me because due to this problem I cannot use the tools.

Thank you.

janblom commented 11 months ago

Unfortunately the documentation is not entirely correct/complete in this respect. Whether starting the programs through double clicking works, is depending on how your system is configured. There are however some alternatives:

Hope this helps.

FranSoriano commented 11 months ago

I have tried typing in the command line the name of the program without any parameters and it has worked! I had previously typed it with parameters and with some other instruction but it had not occurred to me to just use the program name.

Thank you very much!