tremor-rs / tremor-runtime

Main Tremor Project Rust Codebase
https://www.tremor.rs
Apache License 2.0
866 stars 126 forks source link

Possibly wrong version in the tremor installation instructions- - errors and potential fix also included #2664

Closed devskillz47 closed 6 days ago

devskillz47 commented 1 month ago

Problem The current installation instructions (on https://www.tremor.rs/docs/0.12/getting-started/install) point to tremor 0.12.0-rc.2 and although "tremor run server" seems to work not all associated libraries seem to have been included which make at least the demo scenarios unrunnable (ie. error message: "Module tremor::connectors not found or not readable error")

Steps

  1. $ wget https://github.com/tremor-rs/tremor-runtime/releases/download/v0.12.0-rc.2/tremor_0.12.0-rc.2_amd64.deb
  2. $ sudo apt install libatomic1
  3. $ sudo dpkg -i tremor_0.12.0-rc.2_amd64.deb
  4. running the basic demo scenario from (https://www.tremor.rs/docs/0.12/guides/basics):
    • tremor run passthrough/main.troy will fail with the above mentioned error (ie. Module tremor::connectors not found or not readable error)

Possible Solution(s)

  1. change the installation instructions to download and install the 0.12.0 library version:
  2. $ sudo apt install libatomic1
  3. $ sudo dpkg -i tremor_0.12.0_amd64.deb

Notes

  1. The 0.12.0 tremor version will install correctly both using dpkg and by unpacking the .tar.gz library(tremor-0.12.0-x86_64-unknown-linux-gnu.tar.gz) and running "tremor" from within the folder
  2. The 0.12.4 tremor version will install correctly using dpkg but unfortunately, the packaged version (tremor-0.12.4-x86_64-unknown-linux-gnu.tar.gz) is missing some dependencies or configuration and won't work correctly.
  3. No executable or packaged library was found which would work directly in windows although the above commands do work in WSL

Output of rustup --version: rustup 1.27.1 (54dd3d00f 2024-04-24) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active rustc version is rustc 1.81.0 (eeb90cda1 2024-09-04)

Output of rustup show: Default host: x86_64-unknown-linux-gnu rustup home: /home/devskillz47/.rustup stable-x86_64-unknown-linux-gnu (default) rustc 1.81.0 (eeb90cda1 2024-09-04)

Output of tremor --version: tremor 0.12.0

Screenshot_2024-10-03_180302 Screenshot_2024-10-03_200221

devskillz47 commented 6 days ago

raised a more appropriate issue report, Issue#334 in tremor-www: (https://github.com/tremor-rs/tremor-www/issues/334)