-
Notifications
You must be signed in to change notification settings - Fork 12
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
blobtools view issue #169
Comments
Hi Marco And, apologies if you've already installed BTK using some other way, but the easiest way currently (which needs to be better documented) is:
Or, if you prefer conda (it's easiest to reinstall the env if you already have it, so you could do
Do you still get the error even after creating a new env and doing a fresh pip install? |
This is the version : blobtoolkit v4.1.5 I have installed it using the conda command for creating the environment and pip installation of blobtoolkit. |
Great. Thanks for confirming that :-)
If you get a message like
then you can retry it with something like this:
And you should see a message like:
If you're on your own desktop or laptop, just open a browser and type http://localhost:8080 in the URL bar (or http://localhost:8030) and type Depending on whether this is working for you or not, we'll think of other things to debug the situation! :-) |
This could be a red herring but your path suggests that you have the btk_env inside another env called snakemake? |
Unfortunately still not working. Even if I use this trick. |
Could you confirm the answer to my questions 1 and 2 please? That'll help us think of solutions...
Also, is your btk env installed inside a snakemake env? |
Dear all,
I activate my btk_env environment, where I have the following version of nodejs-> 14.14.0
Then I launch the command:
blobtools view folder_with_different_json_files
I receive the following output:
Initializing viewer
Traceback (most recent call last):
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/blobtools/lib/view.py", line 300, in static_view
driver, display = firefox_driver(args)
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/blobtools/lib/view.py", line 212, in firefox_driver
driver = webdriver.Firefox(
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/selenium/webdriver/firefox/webdriver.py", line 192, in init
self.service.start()
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 106, in start
self.assert_process_still_running()
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/selenium/webdriver/common/service.py", line 119, in assert_process_still_running
raise WebDriverException(f"Service {self.path} unexpectedly exited. Status code was: {return_code}")
selenium.common.exceptions.WebDriverException: Message: Service geckodriver unexpectedly exited. Status code was: 64
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/bin/blobtools", line 8, in
sys.exit(cli())
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/blobtools/blobtools.py", line 105, in cli
sys.exit(subcommand())
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/blobtools/lib/view.py", line 495, in cli
main(args)
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/blobtools/lib/view.py", line 480, in main
static_view(args, loc, viewer)
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/site-packages/blobtools/lib/view.py", line 302, in static_view
format_exc(err)
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/traceback.py", line 167, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/traceback.py", line 120, in format_exception
return list(TracebackException(
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/traceback.py", line 508, in init
self.stack = StackSummary.extract(
File "/mnt/DATA/home/marcos/anaconda3/envs/snakemake/envs/btk_env/lib/python3.8/traceback.py", line 340, in extract
if limit >= 0:
TypeError: '>=' not supported between instances of 'WebDriverException' and 'int'
How can I solve that?
Thanks for the support,
Marco
The text was updated successfully, but these errors were encountered: