Bug 1346937 - change MOL format URL
Summary: change MOL format URL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: jmol
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-15 16:52 UTC by Przemek Klosowski
Modified: 2016-09-02 23:22 UTC (History)
1 user (show)

Fixed In Version: jmol-14.6.0-1.2016.06.30.fc24 jmol-14.6.0-1.2016.06.30.fc23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-02 20:54:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Przemek Klosowski 2016-06-15 16:52:38 UTC
Description of problem:
retrieving MOL format structures (File/Get MOL) no longer works due to a URL change at NIH

Version-Release number of selected component (if applicable):
jmol-14.2.12-3.2015.01.22.fc23.noarch

How reproducible: every time


Steps to Reproduce:
1. File/Get MOL
2. accept default 'tylenol', press ENTER

Actual results:
Script ERROR: unrecognized file format for file
http://cactus.nci.nih.gov/chemical/structure/ascorbic%20acid/file?format=sdf&get3d=True

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>



Expected results:
correct file retrieval and structure display


Additional info:

Comment 1 Przemek Klosowski 2016-06-15 16:57:00 UTC
This was caused by NIH redirecting http to https
I think all that needs to be done is to change the URL template accordingly or have the WWW library follow the redirect.
I haven't figured out yet where the URL is specified, so I wasn't able to test the above.

Comment 2 Przemek Klosowski 2016-06-16 18:58:26 UTC
Just mentioning that the following redirect can't be too hard (assuming the library jmol uses for http can do TLS): curl, for instance, can be made to do so with the -L option.

Comment 3 Susi Lehtola 2016-06-16 20:33:17 UTC
http://wiki.jmol.org/index.php/Database_Connection#Connection_of_Jmol_to_databases

Looks like an update to Jmol is in order

Comment 4 Przemek Klosowski 2016-06-20 00:53:53 UTC
as a temporary workaround, it's possible to load CACTUS structures by using the explicit load command in the console (File/Console):

 load "http://cactus.nci.nih.gov/chemical/structure/tylenol/file?format=sdf&get3d=True"

Comment 5 Przemek Klosowski 2016-06-20 00:58:43 UTC
Sorry, the command above doesn't work because it is what jmol actually does now; you have to modify it to use https:
 
load "https://cactus.nci.nih.gov/chemical/structure/tylenol/file?format=sdf&get3d=True"

Comment 6 Fedora Update System 2016-07-09 00:28:28 UTC
jmol-14.6.0-1.2016.06.30.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1b3bb236a0

Comment 7 Fedora Update System 2016-07-09 00:28:38 UTC
jmol-14.4.0-1.2015.10.13.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cfc0ff0291

Comment 8 Fedora Update System 2016-07-09 00:28:45 UTC
jmol-14.6.0-1.2016.06.30.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1a092bb6df

Comment 9 Fedora Update System 2016-07-10 03:52:22 UTC
jmol-14.6.0-1.2016.06.30.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1b3bb236a0

Comment 10 Fedora Update System 2016-07-10 15:57:36 UTC
jmol-14.6.0-1.2016.06.30.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1a092bb6df

Comment 11 Fedora Update System 2016-07-12 03:27:29 UTC
jmol-14.4.0-1.2015.10.13.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cfc0ff0291

Comment 12 Fedora Update System 2016-09-02 20:54:38 UTC
jmol-14.6.0-1.2016.06.30.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2016-09-02 23:22:09 UTC
jmol-14.6.0-1.2016.06.30.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.