-
Notifications
You must be signed in to change notification settings - Fork 199
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
Error: "failed to retrieve file size" when browsing through indexed vcf tracks #1473
Comments
Possible fix here rbuels/http-range-fetcher#7 If you are interested in testing, here is a way you can
|
After yarn watch, jbrowse is rebuilt and you can open the index.html or run |
Thanks @cmdcolin, will check out the potential fix above and will report back here |
Hi @cmdcolin - I've installed a test version as per above. It's here: However, I'm still able to reproduce the error. NOTE - I tried putting a breakpoint in httpRangeFetcher.js to ensure it was actually reaching the new code, but something is puzzling me - I must have done something wrong, as the source code in the debugger for httpRangeFetcher.js doesn't seem to match the code on Github. For example, the definition of the HTTPRangeFetcher class at the start of the source code of httpRangeFetcher.js is defined in "var ... function()" syntax in the debugger (see second pic below) however it is defined with "class" syntax in the actual master souce code on github. Cheers, |
@russellmyers I am not seeing the error happen when I visit this link. I can confirm you have the right http-range-fetcher installed there too |
Can you clear browser cache and ensure that you are still seeing the error with your updated link? |
@cmdcolin Thanks for confirmation of the correct http-range-fetcher installation in the test jbrowse link I set up (jb_rf/jbrowse..). For example:
Result: I still get the "failed to retrieve file size error". Would you be able to try the above as well? Do you get the same error? Cheers, |
I can reproduce, and can see where there is a possible problem |
Ref here rbuels/http-range-fetcher#12 |
No fix yet but will keep you posted |
Great, thanks @cmdcolin ! |
@russellmyers if you want to try a new fix
This should create a new instance with the new http-range-fetcher incorporated |
Excellent, seems to have done the trick! Thanks heaps @cmdcolin |
…bers of tracks were being loaded. Fixes #1473
This was fixed on dev branch, pending next release |
JBrowse version: JBrowse 1.16.6
Web browser: Chrome (also reproducible in other browsers)
Error encountered "failed to retrieve file size" when browsing through indexed vcf tracks - see attached images.
The issue appears to be very similar to issue #1252 on github (which is marked as closed).
Steps to reproduce:
The text was updated successfully, but these errors were encountered: