-
Notifications
You must be signed in to change notification settings - Fork 63
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
Having trouble viewing BAMs #457
Comments
Hi @emreatbina, That exception seems to be raised by According to the Would you mind double checking your nginx setup to make sure that it can serve unicode characters? If the problem is not that, I am curious about how that BAM file was generated — in which case, a sliced version to reproduce the problem would be really useful. Let me know! |
I tried the BAM files that you used in your demo as well and got the same error. In addition to Nginx, I tried a few Node.js servers (node-static and http-server). Made sure that the charset is UTF-8 for all of them. |
@emreatbina: hmm, that is really weird. We have been testing those parsing APIs so hard that it is sad to see this failure, but we first have to look for a few things that might be causing this behavior:
Thanks and sorry that you are having this issue. |
Thanks for getting back. I'm sure we'll resolve this issue soon.
|
Sorry for the late reply, @emreatbina; but at this point, I have no idea what might be going wrong. The only possibility of getting such inconsistent responses from the server might be related to the client's request headers where your browser might be asking for something different and forcing to nginx server to use the wrong character encoding. We haven't been testing the library against various combinations of browser settings, but this looks to me a like an edge use case. Let me know if you want to try to debug this on your side, but otherwise, I will probably won't be able to take a look at it in the foreseeable future :( |
I set up pileup.js in my own environment where I am serving BAM files using Nginx. However; I see this error in the js console. Do I need any specific headers sent by Nginx?
The text was updated successfully, but these errors were encountered: