Thanks for the suggestion Jaim.
It works properly in firefox but not in Safari.
Is there a fix to get it working in Chrome and Safari?
Thanks,
Mark
From: Jaime Prilusky
<jaime.prilu...@weizmann.ac.il<mailto:jaime.prilu...@weizmann.ac.il>>
Reply-To:
"jmol-users@lists.sourceforge.net<mailto:jmol-users@lists.sourceforge.net>"
<jmol-users@lists.sourceforge.net<mailto:jmol-users@lists.sourceforge.net>>
Date: Wednesday, 3 September 2014 10:41
To: "jmol-users@lists.sourceforge.net<mailto:jmol-users@lists.sourceforge.net>"
<jmol-users@lists.sourceforge.net<mailto:jmol-users@lists.sourceforge.net>>
Subject: Re: [Jmol-users] JSmol - Unable to load PDB file appears to think it
is binary
This seems to be a Chrome problem.
Try with Firefox or Safari before trying to fix your server.
Jaim
On Sep 3, 2014, at 12:33 PM, Mark Wass
<m.n.w...@kent.ac.uk<mailto:m.n.w...@kent.ac.uk>> wrote:
Hi,
I am currently trying to get Jsmol to work on my server. I have used Jsmol
successfully on other servers but this time I can’t get it to work. As a test I
am simply trying to load a PDB file but when I try to load the page I get the
following message:
Error connecting to server:
http://www.sbg.bio.ic.ac.uk/3dligandsite/jmol-14.2.4_2014.08.03/jsmol/php/jsmol.php?call=getRawDataFromDatabase&database=_&query=http%3A%2F%2Fwww.sbg.bio.ic.ac.uk%2F3dligandsite%2Fmodel.jmol.pdb&encoding=base64
The page then displays the following:
Unrecognized file format for file
http://www.sbg.bio.ic.ac.uk/3dligandsite/model.jmol.pdb
<!DOCTYPEE HTML PUBLIC “-//ETF//DTD HTML 2.0/EN”
>
<html><head>
<title>500 Internal Server Error</title>
I have tried with different versions of Jmol without success. Any suggestions
on how I can resolve this would be appreciated. I have copied the code fro mthe
page below:
In the header I have the following code:
<script type="text/javascript"
src="jmol-14.2.4_2014.08.03/jsmol/JSmol.min.js"></script>
<script type="text/javascript"
src="jmol-14.2.4_2014.08.03/jsmol/js/Jmol2.js"></script>
<script type="text/javascript">
Jmol._alertNoBinary = false;
var jmolApplet0 = null;
var JSInfo = {
addSelectionOptions: false,
color: "#000000",
j2sPath: "jmol-14.2.4_2014.08.03/jsmol/j2s",
// HTML5 only
use: "HTML5",
width: 900,
height: 900,
disableJ2SLoadMonitor: false,
readyFunction: null,
deferApplet: false,
src: null,
serverURL:
"http://www.sbg.bio.ic.ac.uk/3dligandsite/jmol-14.2.4_2014.08.03/jsmol/php/jsmol.php"
}
</script>
Then in the body I have:
<script type="text/javascript">
jmolApplet0 = Jmol.getApplet("jmolApplet0", JSInfo);
Jmol.script(jmolApplet0, "load model.jmol.pdb;");
</script>
Many thanks,
Mark
------------------------------------------
Dr Mark Wass
Lecturer in Computational Biology
Centre for Molecular Processing
School of Biosciences
University of Kent
web: http://www.wasslab.org<http://www.wasslab.org/>
m.n.w...@kent.ac.uk<mailto:m.n.w...@kent.ac.uk>
------------------------------------------
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net<mailto:Jmol-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users