Chrome should not ever read binary files from the local drive. You really
think you can get it do do that with PSE files? Check your net logging and
see if that's really what it is doing. As for the PDB files, there is a
slight of hand there -- if Jmol detects that it cannot read a binary file,
as should be the case with Chrome locally, then in the case that these are
"xxxx.pdb.gz"  Jmol automatically lops off the ".gz" and tries to read
"xxxx.pdb".  I'm sure that's what is happening here.

Bob



On Sun, Sep 22, 2013 at 6:18 AM, Geoffrey Rowland
<[email protected]>wrote:

> Hi
>
> I'm still getting a problem with Chrome (Version 29.0.1547.76 on Fedora
> 19) and recent JSmol versions opening pdb.gz files.
>
> To reproduce the issue:
>
> Download a recent jmol.zip from http://chemapps.stolaf.edu/jmol/zip/
>
> unzip, then unzip the bundled jsmol.zip to get the jsmol folder
>
> copy the jsmol folder to a local webserver e.g. /var/www/html/jsmol,
> setting appropriate permissions
>
> edit, say, jsmol.htm so that var Info points at the local jsmol.php
> add a link to data/3hz7.pdb.gz (one of the bundled pdb.gz files) e.g.
>
> <a href="javascript:Jmol.script(jmolApplet0,'load data/3hz7.pdb.gz')">load
> data/3hz7.pdb.gz</a>
>
> With recent versions of JSmol, 3hz7.pdb.gz fails to load with a 404 Not
> found error
>
> The problem does not seem to be binary files in general as .pse files
> display fine
> Similarly, the problem does not seem to be .gz files in general as
> water.xyz.gz displays fine
>
> So, seems to be a specific issue with processing .pdb.gz files. If I
> actually unpack 3hz7.pdb.gz such that a copy of 3hz7.pdb is also present in
> the /data folder the 3hz7.pdb.gz link (and an equivalent 3hz7.pdb link)
> works!
>
> Not mission critical, as I can just use the .pdb files. However. it used
> to work! The last version of JSmol, that I am aware of, for which this
> worked properly was 3.3.0 2013-07-18 (NB jsmol.php not in /php folder in
> this case)
>
> Anyone else seeing this?
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor 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
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to