Hi Angel,

thanks a lot for the help! I indeed was setting the path wrong Info.J2sPath.
I had a simple script setting Info.J2sPath and Info.jarPath depending on the
surrounding, and this failed at the new location. 

Klaus




-----Ursprüngliche Nachricht-----
Von: jmol-developers-requ...@lists.sourceforge.net
[mailto:jmol-developers-requ...@lists.sourceforge.net] 
Gesendet: Dienstag, 25. Juli 2017 10:18
An: jmol-developers@lists.sourceforge.net
Betreff: Jmol-developers Digest, Vol 122, Issue 3

Send Jmol-developers mailing list submissions to
        jmol-developers@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/jmol-developers
or, via email, send a message with subject or body 'help' to
        jmol-developers-requ...@lists.sourceforge.net

You can reach the person managing the list at
        jmol-developers-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Jmol-developers digest..."


Today's Topics:

   1. de.po 404 error (Klaus Schaper)
   2. Re: de.po 404 error (=?ISO-8859-1?Q?Angel_Herr=E1ez?=)
   3. Re: de.po 404 error (=?ISO-8859-1?Q?Angel_Herr=E1ez?=)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Jul 2017 07:48:51 +0200
From: "Klaus Schaper" <scha...@hhu.de>
To: <jmol-developers@lists.sourceforge.net>
Subject: [Jmol-developers] de.po 404 error
Message-ID: <000d01d30509$b19cbc80$14d63580$@hhu.de>
Content-Type: text/plain; charset="iso-8859-1"

Hi everybody,

 

I am just moving my website from a windows 7 server (apache 2.4.4, php
5.4.16) to a Unix system (Virtual Server, CentOS, apace 2.4.25, php 7.1.6).

 

On the new server the menus of the included jsmol instances do not show
German menus. Network analysis of firefox gives me a 404 error for de.po. 

Actually de.po is searched at:
http://test.schelm.hhu.de/scheLM_3D/2Propanol/http:/_INCLUDE/JSMOL/idioma/de
.po, which is a complete unreasonable path.  It should be:

http:/_INCLUDE/JSMOL/idioma/de.po

I upgraded jsmol from 14.4.1 to 14.20.3, but the error persists. As far as I
know this path is set automatically and I have no idea how to change it. 

 

Any ideas?

 

Thanks,

 

Klaus

 

 

****************************************************************************
********

 

PD Dr. Klaus Schaper

 

http://www.photochemie.hhu.de/ oder http://www.klaus-schaper.de
<http://www.klaus-schaper.de/> 

 

e-mail: scha...@klaus-schaper.de

 

Arbeitsgruppe f?r Organische Photochemie

Institut f?r Organische Chemie und Makromolekulare Chemie I

Raum 26.43.00.27

 

Heinrich-Heine-Universit?t D?sseldorf

Universit?tsstr. 1

D-40225 D?sseldorf

Deutschland

 

Telefon: +49 211 81 12571

FAX: +49 211 81 14324

 

****************************************************************************
********

 

 

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Tue, 25 Jul 2017 09:34:39 +0200
From: "=?ISO-8859-1?Q?Angel_Herr=E1ez?=" <angel.herr...@uah.es>
To: <jmol-developers@lists.sourceforge.net>
Subject: Re: [Jmol-developers] de.po 404 error
Message-ID: <5976f48f.17520.1d967...@angel.herraez.uah.es>
Content-Type: text/plain; charset=US-ASCII

Hello Klaus

1. Yes, the location of the language files cannot be specified. As far as I
remember, it always looks for them in a 'idioma' folder which is a sibling
of the 'java' folder. I'm not sure what happens when you don't specify the
java folder

2. Some javascript error loading the language file is normal and does not
prevent it from working

Is this your location?
http://test.schelm.hhu.de/scheLM_3D/

What I see in the source there may be a cause. you are using an Info.jarPath
that is outside the main JSmol folder. Try changing the java folder to be
under the JSmol folder, or move the idioma folder to be a sibling of the
java folder.
Alternatively, if you are not using the java mode, comment out definition of
jarPath and see what happens





------------------------------

Message: 3
Date: Tue, 25 Jul 2017 09:43:14 +0200
From: "=?ISO-8859-1?Q?Angel_Herr=E1ez?=" <angel.herr...@uah.es>
To: <jmol-developers@lists.sourceforge.net>
Subject: Re: [Jmol-developers] de.po 404 error
Message-ID: <5976f692.19025.1d9e5...@angel.herraez.uah.es>
Content-Type: text/plain; charset=ISO-8859-1


On the other hand,

Why http:/_ ? That is not correct
You need either two slashes (and then it must be an absolute server url) or
no http (relative url)


>     is a complete unreasonable path. ?It should be:
>     http:/_INCLUDE/JSMOL/idioma/de.po

that is not correct. You need   /_INCLUDE/JSMOL/idioma/de.po

Maybe your problem is some code that worked in the Windows server but is 
not good for the Linux server, after all.



------------------------------

----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

------------------------------

Subject: Digest Footer

_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


------------------------------

End of Jmol-developers Digest, Vol 122, Issue 3
***********************************************


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to