-
Notifications
You must be signed in to change notification settings - Fork 141
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
Problems about Structure Display with anvi-display-structure #2166
Comments
Hi @YongyiPeng, Can you please send the output for these two commands after running them in your anvi'o environment?
|
Thanks for your quick reply! I get these after running the first command: JavaScript-MD5 bootstrap-sortable d3.js jquery-ui svg-crowbar After running the second command: |
Can you please run this command and send the output:
|
The output is: |
Good. Can you please run these two commands: # change directory
cd `python -c 'import anvio; import os; print(os.path.dirname(anvio.__file__))'`/tests
# run test
./run_component_tests_for_SCVs_SAAVs_structure.sh new At the end of this test, I get the following display on my browser, please let me know if you're getting the same exact error: |
I get this error: :: anvi-gen-structure-database with DSSP ... Traceback for debuggingFile "/opt/anaconda3/envs/anvio-8/bin/anvi-gen-structure-database", line 151, in
|
Good. Please address this problem by following the instructions on the message until you don't see it anymore when you run |
Hi, thanks for developing this powerful tool! I appreciate for its exceptional performance, but I encountered a specific issue while attempting to display structure (anvio's interactive stuck at still loading).
Anvio's version
Anvi'o .......................................: marie (v8)
Python .......................................: 3.10.13
Profile database .............................: 38
Contigs database .............................: 21
Pan database .................................: 16
Genome data storage ..........................: 7
Auxiliary data storage .......................: 2
Structure database ...........................: 2
Metabolic modules database ...................: 4
tRNA-seq database ............................: 2
System info
masOS high sierra 10.13.2
Detailed description
anvi-display-structure -c CONTIGS.db -p PROFILE.db -s STRUCTURE_889488.db --gene-caller-ids 889488
The output is:
WARNING
If you are using OSX and if the server terminates prematurely before you can see
anything in your browser, try running the same command by putting 'sudo ' at the
beginning of it (you will be prompted to enter your password if sudo requires
super user credentials on your system). If your browser does not show up, try
manually entering the URL shown below into the address bar of your favorite
browser. cough CHROME cough.
Server address ...............................: http://0.0.0.0:8080
command line.
The website loads into the Chrome browser, but it remains stuck in a continuous loading state.
Messages in the console of Chrome Developer tools
Failed to load resource: net::ERR_CONNECTION_RESET bootstrap-slider.css:1 Failed to load resource: net::ERR_CONNECTION_RESET bootstrap-slider.min.js:1 Failed to load resource: net::ERR_CONNECTION_RESET d3.min.js:1 Failed to load resource: net::ERR_CONNECTION_RESET jszip.min.js:1 Failed to load resource: net::ERR_CONNECTION_RESET FileSaver.js:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT ngl.js:1 Uncaught TypeError: structure.js?rand=edf3395fa85040d922fbaf29cb276773:1134 $(...).slider is not a function at structure.js?rand=edf3395fa85040d922fbaf29cb276773:1134:43 at Array.forEach (<anonymous>) at Object.success (structure.js?rand=edf3395fa85040d922fbaf29cb276773:1105:25) at j (jquery.js:3148:30) at Object.fireWith [as resolveWith] (jquery.js:3260:7) at x (jquery.js:9314:14) at XMLHttpRequest.b (jquery.js:9718:8) Uncaught (in promise) ReferenceError: NGL is not defined structure.js?rand=edf3395fa85040d922fbaf29cb276773:255 at create_single_ngl_view (structure.js?rand=edf3395fa85040d922fbaf29cb276773:255:17) at create_ngl_views (structure.js?rand=edf3395fa85040d922fbaf29cb276773:225:15) at load_sample_group_widget (structure.js?rand=edf3395fa85040d922fbaf29cb276773:191:9) at HTMLSelectElement.<anonymous> (structure.js?rand=edf3395fa85040d922fbaf29cb276773:95:9) at HTMLSelectElement.dispatch (jquery.js:4670:9) at r.handle (jquery.js:4338:28) at Object.trigger (jquery.js:4579:12) at HTMLSelectElement.<anonymous> (jquery.js:5289:17) at Function.each (jquery.js:384:23) at m.fn.init.each (jquery.js:136:17)
I have used different ip address and port numbers, but it didn't help.
I would be grateful if you could provide any suggestion.
The text was updated successfully, but these errors were encountered: