Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to start Viewer #216

Open
pwkooij opened this issue Jul 15, 2024 · 2 comments
Open

Not able to start Viewer #216

pwkooij opened this issue Jul 15, 2024 · 2 comments

Comments

@pwkooij
Copy link

pwkooij commented Jul 15, 2024

I haven't been able to get the viewer started since it seems to have issues with both my firefox and chromium versions.

blobtools view --interactive masurca_blobtools/
Initializing viewer
2024-07-15 11:26:22.058 [ERROR] Unable to start Firefox using geckodriver, possible version mismatch.
2024-07-15 11:26:22.059 [ERROR] Try `conda install -c conda-forge firefox geckodriver` or use `blobtools view --driver chromium` to use chrome browser.
2024-07-15 11:26:22.059 [ERROR] Or try deleting the existing geckodriver executable from /home/pepijn/miniconda3/envs/btk/bin/geckodriver then rerun this command to install a compatible version.
blobtools view --driver chromium --interactive masurca_blobtools/
Initializing viewer
2024-07-15 11:27:00.796 [INFO] Chrome and chromedriver must be available for blobtools view
2024-07-15 11:27:00.796 [INFO] Attempting to install the appropriate chromedriver version
2024-07-15 11:27:01,534 [INFO] Downloading chromedriver (126.0.6478.126)...
2024-07-15 11:27:02.744 [INFO] Successfully installed chromedriver
2024-07-15 11:28:02.990 [ERROR] Unable to start Chrome using chromedriver, possible version mismatch.
2024-07-15 11:28:02.990 [ERROR] Try `blobtools view --driver firefox` to use firefox browser.
2024-07-15 11:28:02.990 [ERROR] Or try deleting the existing chromedriver executable from /home/pepijn/miniconda3/envs/btk/lib/python3.9/site-packages/chromedriver_autoinstaller/126/chromedriver then rerun this command to install a compatible version.

blobtoolkit v4.3.11
Mozilla Firefox 128.0
Chromium 126.0.6478.126 snap

@rjchallis
Copy link
Contributor

Sorry I'd let your issue go stale

If you haven't got this working, then for interactive use I'd recommend installing and starting up the Viewer and API binaries separately using these instructions.

If you want to use blobtools view to generate plots on the command line, you can pass the --plot flag to blobtools view to have it use an alternate plotting library that doesn't involve spinning up a web browser., e.g.

blobtools view \
    --plot \
    --view snail \
    /path/to/BlobDir

@pwkooij
Copy link
Author

pwkooij commented Jan 24, 2025

I'll have a look at this to see if I can get it to work this way.

In the meantime I resolved it using blobtools view --remote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants