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

video_tool.py problems with rendering on an HPC #598

Open
hash-ir opened this issue Jun 6, 2024 · 0 comments
Open

video_tool.py problems with rendering on an HPC #598

hash-ir opened this issue Jun 6, 2024 · 0 comments

Comments

@hash-ir
Copy link

hash-ir commented Jun 6, 2024

Hi,

I am running a viewer locally on an HPC cluster and using the video tool to create a script. The script is created successfully however when I try to render with a web driver, I get the following error:

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /u/hashirah/.cache/selenium/chrome/linux64/125.0.6422.141/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

I tried rendering without a web-driver but it also has issues where 0 chunks are identified and the window is an empty neuroglancer viewer:

Open the following URLs to begin rendering
http://127.0.0.1:1337/v/8b760429ffc4419fb98ff0897ffd81e341958173/
2024-06-06T11:2614.962285 [0.000/    4] Requesting screenshot
2024-06-06T11:2621.058847 [0.000/    4] Screenshot in progress:      0/     0 chunks loaded (         0 bytes),   0 downloading
2024-06-06T11:2622.033892 [0.000/    4] Screenshot in progress:      0/     0 chunks loaded (         0 bytes),   0 downloading
2024-06-06T11:2623.038067 [0.000/    4] Screenshot in progress:      0/     0 chunks loaded (         0 bytes),   0 downloading

Here is the script which was created using the tool:

https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22y%22:%5B9e-09,%22m%22%5D,%22x%22:%5B9e-09,%22m%22%5D,%22z%22:%5B2e-08,%22m%22%5D%7D,%22position%22:%5B5332.5,5456.5,2850.5%5D,%22crossSectionScale%22:1,%22projectionScale%22:16384,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22python://volume/synem.e1571b6c6d771165b525f5d5fbaa7824b8e4c6ab%22,%22tab%22:%22source%22,%22name%22:%22img%22%7D,%7B%22type%22:%22segmentation%22,%22source%22:%22python://volume/synem.1dc92b93cd1f6f353519c1170492739c1ac73da6%22,%22tab%22:%22source%22,%22segments%22:%5B%5D,%22name%22:%22seg%22%7D%5D,%22layout%22:%224panel%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22y%22:%5B9e-09,%22m%22%5D,%22x%22:%5B9e-09,%22m%22%5D,%22z%22:%5B2e-08,%22m%22%5D%7D,%22position%22:%5B5332.5,5456.5,2850.5%5D,%22crossSectionScale%22:1,%22projectionScale%22:16384,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22python://volume/synem.e1571b6c6d771165b525f5d5fbaa7824b8e4c6ab%22,%22tab%22:%22source%22,%22name%22:%22img%22%7D,%7B%22type%22:%22segmentation%22,%22source%22:%22python://volume/synem.1dc92b93cd1f6f353519c1170492739c1ac73da6%22,%22tab%22:%22source%22,%22segments%22:%5B%5D,%22name%22:%22seg%22%7D%5D,%22layout%22:%224panel%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22y%22:%5B9e-09,%22m%22%5D,%22x%22:%5B9e-09,%22m%22%5D,%22z%22:%5B2e-08,%22m%22%5D%7D,%22position%22:%5B5726.5,5312.5,2850.5%5D,%22crossSectionScale%22:1,%22projectionOrientation%22:%5B-0.24128201603889465,-0.4746597111225128,-0.009776276536285877,0.8463956117630005%5D,%22projectionScale%22:4934.765967969518,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22python://volume/synem.e1571b6c6d771165b525f5d5fbaa7824b8e4c6ab%22,%22tab%22:%22source%22,%22name%22:%22img%22%7D,%7B%22type%22:%22segmentation%22,%22source%22:%22python://volume/synem.1dc92b93cd1f6f353519c1170492739c1ac73da6%22,%22tab%22:%22source%22,%22segments%22:%5B%5D,%22name%22:%22seg%22%7D%5D,%22layout%22:%22xy-3d%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22y%22:%5B9e-09,%22m%22%5D,%22x%22:%5B9e-09,%22m%22%5D,%22z%22:%5B2e-08,%22m%22%5D%7D,%22position%22:%5B5743.34423828125,5297.53759765625,2850.5%5D,%22crossSectionScale%22:0.301194211912202,%22projectionOrientation%22:%5B-0.24128201603889465,-0.4746597111225128,-0.009776276536285877,0.8463956117630005%5D,%22projectionScale%22:4934.765967969518,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22python://volume/synem.e1571b6c6d771165b525f5d5fbaa7824b8e4c6ab%22,%22tab%22:%22source%22,%22name%22:%22img%22%7D,%7B%22type%22:%22segmentation%22,%22source%22:%22python://volume/synem.1dc92b93cd1f6f353519c1170492739c1ac73da6%22,%22tab%22:%22source%22,%22segments%22:%5B%5D,%22name%22:%22seg%22,%22visible%22:false%7D%5D,%22layout%22:%22xy-3d%22%7D
1
https://neuroglancer-demo.appspot.com#!%7B%22dimensions%22:%7B%22y%22:%5B9e-09,%22m%22%5D,%22x%22:%5B9e-09,%22m%22%5D,%22z%22:%5B2e-08,%22m%22%5D%7D,%22position%22:%5B5445.384765625,5251.00439453125,2850.5%5D,%22crossSectionScale%22:0.9999999999999992,%22projectionOrientation%22:%5B-0.17828431725502014,-0.3193039000034332,-0.015502532944083214,0.9306016564369202%5D,%22projectionScale%22:29853.594425598087,%22layers%22:%5B%7B%22type%22:%22image%22,%22source%22:%22python://volume/synem.e1571b6c6d771165b525f5d5fbaa7824b8e4c6ab%22,%22tab%22:%22source%22,%22name%22:%22img%22,%22visible%22:false%7D,%7B%22type%22:%22segmentation%22,%22source%22:%22python://volume/synem.1dc92b93cd1f6f353519c1170492739c1ac73da6%22,%22tab%22:%22source%22,%22segments%22:%5B%5D,%22name%22:%22seg%22%7D%5D,%22layout%22:%223d%22%7D
1

I was also wondering why the script had URLs with the prefix neuroglancer-demo.appspot.com when I launch the viewer locally and it should be localhost:1337?

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

1 participant