GMOD / jbrowse

JBrowse 1, a full-featured genome browser built with JavaScript and HTML5. For JBrowse 2, see https://github.com/GMOD/jbrowse-components.
http://jbrowse.org
Other
460 stars 199 forks source link

JBrowse failed in IE #817

Closed billzt closed 7 years ago

billzt commented 7 years ago

My datasets are:

[datasets.A]
url = ?data=data/A
name = A

[datasets.B]
url = ?data=data/B
name = B

My directory is

---- data/
  |-- --- A
       |-- names/, seq/, tracks/, trackList.json, tracks.conf
  |-- --- B
       |-- names/, seq/, tracks/, trackList.json, tracks.conf

When I visit http://localhost/jbrowse in firefox, chrome and edge, it is OK. A Datasets list would appear. However there are JS error in console:

Object { message: "Unable to load data/names/root.json…", stack: ".cache["dojo/errors/create"]/</</e@…", response: Object, status: 404, responseText: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD…", xhr: XMLHttpRequest }dojo.js:364:431
.cache["dojo/_base/xhr"]/</s()dojo.js:364
.cache["dojo/_base/xhr"]/</h._ioSetArgs/<()dojo.js:364
q()dojo.js:276
n()dojo.js:276
.cache["dojo/_base/Deferred"]/</h.Deferred/this.errback()dojo.js:277
q()dojo.js:277

When I visit in IE, it is total blank. No Datasets lists.

cmdcolin commented 7 years ago

Which IE version? That console error is pretty harmless, just means generate-names wasn't run

On Oct 14, 2016 6:03 AM, "billzt" notifications@github.com wrote:

My datasets are:

[datasets.A] url = ?data=data/A name = A

[datasets.B] url = ?data=data/B name = B

My directory is

---- data/ |-- --- A |-- names/, seq/, tracks/, trackList.json, tracks.conf |-- --- B |-- names/, seq/, tracks/, trackList.json, tracks.conf

When I visit http://localhost/jbrowse in firefox, chrome and edge, it is OK. A Datasets list would appear. However there are JS error in console:

Object { message: "Unable to load data/names/root.json…", stack: ".cache["dojo/errors/create"]/</</e@…", response: Object, status: 404, responseText: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD…", xhr: XMLHttpRequest }dojo.js:364:431 .cache["dojo/_base/xhr"]/</s()dojo.js:364 .cache["dojo/_base/xhr"]/</h._ioSetArgs/<()dojo.js:364 q()dojo.js:276 n()dojo.js:276 .cache["dojo/_base/Deferred"]/</h.Deferred/this.errback()dojo.js:277 q()dojo.js:277

When I visit in IE, it is total blank. No Datasets lists.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GMOD/jbrowse/issues/817, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNdQf7GK6i2HpPhPoRnzBaj7933Cxy_ks5qz1NWgaJpZM4KW1-O .

billzt commented 7 years ago

Well, I've found the reason, it was due to the https://github.com/tsaari88/FeatureSequence plugin. If I did not load this plugin, JBrowse is OK in IE. I'll report the bug to @tsaari88

cmdcolin commented 7 years ago

Good to know it was the plugin, thanks for the follow up