From: Colin <col...@gm...> - 2023-04-19 11:55:10
|
You may want to use a different file server (apache2, or nginx, or python RangeHTTPServer, or npx serve, etc) to serve your static files as the Django server doesn't support range requests and adds some gzip headers like Content-Encpding: gzip which jbrowse does not want. I tried the Django server here and ran into many of the same issues you did so made a small write up in the readme https://github.com/cmdcolin/django-jbrowse2-nonworking-example -Colin On Wed, Apr 19, 2023, 12:45 AM lpsong--- via Gmod-ajax < gmo...@li...> wrote: > I have embedded Jbrowse into a django framework site and am using the > example given by doc. I have this problem, I get error when opening local > gz file, the information is'index.ts:144 GET > http://8.218.176.27:7000/static/Jbrowse/GCA_000001405.15_GRCh38_full_analysis_set.refseq_annotation.sorted.gff.gz > net::ERR_CONTENT_DECODING_FAILED'. How can I fix it please? > > ------------------------------ > 宋利璞 > 中国科学院 监督与审计局 > 北京市西城区三里河路52号(100864) > 电话:010-68597127 > 手机:15210675921 > _______________________________________________ > Gmod-ajax mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-ajax > |