On 09/11/2013 06:52 PM, Angel Herráez wrote:
> Why not?  JSmol should do all that Jmol can do
>
> What methos were you using in Jmol?
>
>> I also noticed that the JSmol does not have the capability to prompt
>> you for a file upload from your local drive
>
> For example,
>     Jmol.script('myJmol', 'load ?');
> (havent' tested that, but I think it is correct)
>
>> (or to save a file on a local machine)
>
> Via the pop-up menu > File > ...
>
> A webpage is not supposed to allow arbitrary access to the users hard
> disk, so there must be user intervention.
>
But this doesn't seem to work on the JSmol page at St'Olaf 
(http://chemapps.stolaf.edu/jmol/jsmol/simple.htm) with a JSmol from Sep 
6 2013.

I get the following error messages (Firefox 23.0 on Linux, ) when I try 
to open a file from the popup menu (or the 'Load FLE' button) :

1) entering path + filename '/home/test/1a46.pdb'

----------------
File Error:unrecognized file format for file 
http://chemapps.stolaf.edu/home/test/1a46.pdb

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>404 Not Found</title>

script ERROR: unrecognized file format for file 
http://chemapps.stolaf.edu/home/test/1a46.pdb

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>404 Not Found</title>
-----------------

2) entering protocol + path + filename 'file:///home/test/1a46.pdb'

-----------------
File Error:unrecognized file format for file file:/home/test/1a46.pdb

PHP error:2 file_get_contents(file:///home/test/1a46.pdb): failed to 
open stream: No such file or directory 
/home/mscs/chemapps/jmol/jsmol/php/jsmol.php 192
------------------

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  [email protected]
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to