Skip to content

Errors Building SciWIn Studio #232

@XaverStiensmeier

Description

@XaverStiensmeier

Using Ubuntu24.04 I had to specify bash at:

# Install Dioxus CLI
curl -sSL http://dioxus.dev/install.sh | sh

I also had to use

curl https://sh.rustup.rs -sSf | sh

to get around:

dx serve -p sciwin

ERROR dx serve: `cargo metadata` exited with an error: error: failed to parse manifest at `/home/xaver/Documents/presentationen/SciWIn/sciwin/Cargo.toml`

Caused by:
  `resolver` setting `3` is not valid, valid options are "1" or "2"

I then encountered:

xaver@xw-1:~/Documents/presentationen/SciWIn/sciwin$ dx serve -p sciwin
warning: Waiting for cargo-metadata...
warning: (Try 1) Taking a while...
warning: (Try 2) Taking a while...
warning: (Try 3) Taking a while...
warning: (Try 4) Taking a while...
warning: (Try 5) Taking a while...
warning: (Try 6) Taking a while...
warning: (Try 7) Taking a while...
warning: (Try 8) Taking a while...
warning: (Try 9) Taking a while...
warning: (Try 10) Taking a while...
warning: maybe check your network connection or build lock?
12:01:07 [dev] Installing tailwindcss@v4.1.5 
12:01:07 [dev] -----------------------------------------------------------------
                Serving your app: sciwin! 🚀
                • Press `ctrl+c` to exit the server
                • Press `r` to rebuild the app
                • Press `p` to toggle automatic rebuilds
                • Press `v` to toggle verbose logging
                • Press `/` for more commands and shortcuts
                Learn more at https://dioxuslabs.com/learn/0.7/getting_started
               ---------------------------------------------------------------- 
12:01:07 [dev] Installing tailwindcss@v4.1.5 
12:02:07 [cargo] error: failed to run custom build command for `gdk-sys v0.18.2` 
12:02:07 [cargo] Caused by: 
12:02:07 [cargo]   process didn't exit successfully: `/home/xaver/Documents/presentationen/SciWIn/sciwin/target/desktop-dev/build/gdk-sys-423654804ab562d6/build-script-build` (exit status: 1) 
12:02:07 [cargo]   --- stdout 
12:02:07 [cargo]   cargo:rerun-if-env-changed=GDK_3.0_NO_PKG_CONFIG 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_PATH 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu 
12:02:07 [cargo]   cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR 
12:02:07 [cargo]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR 
12:02:07 [cargo]   --- stderr 
12:02:07 [cargo]   pkg-config exited with status code 1 
12:02:07 [cargo]   > PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags gdk-3.0 'gdk-3.0 >= 3.22' 
12:02:07 [cargo]   The system library `gdk-3.0` required by crate `gdk-sys` was not found. 
12:02:07 [cargo]   The file `gdk-3.0.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory. 
12:02:07 [cargo]   The PKG_CONFIG_PATH environment variable is not set. 
12:02:07 [cargo]   HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `gdk-3.0.pc`. 
12:02:07 [cargo] warning: build failed, waiting for other jobs to finish... 
12:02:08 [dev] Build failed: cargo build finished with errors for target: sciwin [x86_64-unknown-linux-gnu] 
╭──────────────────────────────────────────────────────────────────────────────── /:more ╮
│  App:     ━━━━━━━━━━━━━━━━━━━━━━━━━━  ❌           Platform: Linux                     │
│  Bundle:  ━━━━━━━━━━━━━━━━━━━━━━━━━━  ❌           Features: ["desktop"]               │
│  Status:  Failed                                   Server at: no server address        │
╰────────────────────────────────────────────────────────────────────────────────────────╯

and later a few more which I solved by:

sudo apt update
sudo apt install \
  libgtk-3-dev \
  libwebkit2gtk-4.1-dev \
  libsoup-3.0-dev \
  pkg-config \
  build-essential \
  libxdo-dev

Afterwards, the GUI started, but after opening my https://github.com/fairagro/m4.4_demo_corn_prediction/tree/main project which I previously successfully executed on REANA, I was unable to see the node overview which I intended to capture for a presentation.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions