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
463 stars 199 forks source link

plugins with desktop version #927

Closed bhofmei closed 6 years ago

bhofmei commented 7 years ago

I'm not sure what's going on or what I'm doing wrong, but I can't load any plugins when using the electron desktop version of JBrowse (osx). I either get a "no such file or directory" error for the trackList.json with the sample data or syntax error with a custom data directory.

enuggetry commented 7 years ago

Did the pre-installed plugins work?

On Wed, Sep 13, 2017 at 9:25 AM, Brigitte Hofmeister < notifications@github.com> wrote:

I'm not sure what's going on or what I'm doing wrong, but I can't load any plugins when using the electron desktop version of JBrowse (osx). I either get a "no such file or directory" error for the trackList.json with the sample data or syntax error with a custom data directory.

— 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/927, or mute the thread https://github.com/notifications/unsubscribe-auth/AJlnAVgOFVKqEP713chyZXdJeqecbhFGks5siAH6gaJpZM4PWYTs .

bhofmei commented 7 years ago

So I narrowed down the problem a bit more. When using the sample data, no plugins can be loaded. The sample data already loads the pre-installed plugins, so when I try to load them again, I get an error. This could be from just loading it again since JBrowse sometimes does weird things when the same plugin is declared multiple times. With the sample data, loading a custom plugin causes the same error though.

Using a custom data directory, everything seems to be working okay now. I had a sorta syntax error in the trackList.json causing a problem (it was a hanging comma, which isn't flagged when running it in the browser but caused an issue for the desktop version).