Apologies! I’ve found the typo in my code which was causing issues! The python
is working as I hoped – and the JS applet now displays .mrc files using the
python output
Cheers,
Chris
From: Robert Hanson [mailto:[email protected]]
Sent: 01 August 2014 15:16
To: [email protected]
Subject: Re: [Jmol-users] Server-side scripts
Great! Or at least almost great!
"zapped" is the name given to the "current model" after the ZAP command.
Something in your code is trying to load that as a file and, of course, not
finding it. It's not Jmol code that is doing that, I think.
Web site for viewing?
probably need the report that is going to the JavaScript console "behind" the
applet viewable with the drop-down menu item "JavaScript Console"
You can add all sorts of debuging messages
document.title = ....
or
System.out.println(.....)
or
alert(...)
into JSmol.
On Fri, Aug 1, 2014 at 8:57 AM,
<[email protected]<mailto:[email protected]>> wrote:
Due to the setup of a server I’ve got, I’ve rewritten the part of the PHP
script which deals with converting binary to base64 into python, including
setting the correct headers; the output I get seems identical to the output
from the original PHP script. However, running the file results in:
Unrecognized file format for file http://localhost/zapped
<head>
<title>Error response</title>
</head>
Is there anything I can do to get around this?!
Cheers,
Chris
-------------------
Dr Chris Wood
STFC Rutherford Appleton Laboratory
Didcot
OX11 0QX
[email protected]<mailto:[email protected]>
www.ccpem.ac.uk<http://www.ccpem.ac.uk>
Tel: +44(0)1235 567864<tel:%2B44%280%291235%20567864>
Tel: +44(0)7909 586624<tel:%2B44%280%297909%20586624>
Fax: +44(0)1235 567801<tel:%2B44%280%291235%20567801>
Skype: chris_c_wood<callto://chris_c_wood/>
--
Scanned by iCritical.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Jmol-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jmol-users
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users