-
Notifications
You must be signed in to change notification settings - Fork 3
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
TypeError: Cannot use 'in' operator to search for 'name' #3
Comments
Fixed: Download the plugin zip file Decompress the file: Enter folder: uncompress compiled plugin: move BioNanoGenomics folder to plugins folder: @BionanoDev please correct https://github.com/bionanogenomics/JBrowsePlugin/wiki/BioNano-Genomics-Plugin-Installation accordingly if I'm correct regards |
My mistake. I forgot to re-enable the plugin. still crashing. |
Correct we used apache. |
I used python and node. neither worked. |
Thanks for testing that. Guess that is additional work to make sure it is compatible with those add'l web servers. |
help says that somewhere in the code you're requesting a JSON but the server is sending as text (not using magic mime type) and therefore DOJO is trying to use 'in' against a string instead of a object (parsed json). the solution being forcing the datatype (dataType: "JSON" for ajax, handleAs: "json" for xhr). I couldnt find where in the code you were requesting the JSON. |
Also doesnt work with NGINX in the jbrowse docker image |
I've tried with apache and found the same error |
I've succeeded in making it work by according to ( http://gmod.org/wiki/JBrowse_Configuration_Guide#Using_Plugins ), instead of using the .conf file, using the .json file: {"plugins":["BioNanoGenomics"]} this works without a problem |
There was a bug in previous jbrowse versions where if you declare plugins in trackList.json like
then it gave this error Fixed in jbrowse 1.12.3 via GMOD/jbrowse#866 |
Note that there can still be weird behavior if you try to declare plugins in multiple files, so it's probably best to declare all plugins in jbrowse.conf, or all in trackList.json, but not a mix of both (which is what was probably the original cause of this issue). Ref GMOD/jbrowse#897 |
JBrowse: JBrowse-1.12.1
From:
http://jbrowse.org/wordpress/wp-content/plugins/download-monitor/download.php?id=101
Server: Python 2.7.11
python -m SimpleHTTPServer
Chrome: 49.0.2623.87 m (64-bit)
Firefox: 45.0.1
The text was updated successfully, but these errors were encountered: