SillyTavern / SillyTavern-WebSearch-Selenium

Add-on for the Web Search extension that provides the web browsing capabilities without the need for Extras API.
GNU Affero General Public License v3.0
19 stars 1 forks source link

Does not work on aarch64 platform #1

Open luimu64 opened 3 months ago

luimu64 commented 3 months ago

Issue

Due to no aarch64 builds of selenium-manager being shipped the extension fails with non-descriptive wanna be permission error.

Logs

Screenshot from 2024-05-10 18-20-55 While this looks like it's because I don't have the chromedriver installed, I do, I also have geckodriver and firefox all confirmed working on their own.

Temporary workaround

  1. install rust (rustup?)
  2. clone the https://github.com/SeleniumHQ/selenium (I recommend --depth=1)
  3. cd selenium/rust
  4. cargo build --profile=release
  5. cp target/release/selenium-manager <sillylocation>/plugins/SillyTavern-WebSearch-Selenium/bin/linux/

relevant issue in selenium repo https://github.com/SeleniumHQ/selenium/issues/13542

edit: I guess that's why "This plugin will not work in termux" was mentioned in the readme. I was installing on remote arm server though so...

Cohee1207 commented 3 months ago

edit: I guess that's why "This plugin will not work in termux" was mentioned in the readme

Close, but not quite. I'll add a remark about ARM Linux