jmol error

jmol error

by Chris Adams -
Number of replies: 2

Hello all

I have jmol embedded into some Moodle books, thus:

<a title="jmol" href="https://dlm.chm.bris.ac.uk/dlm2015-16/filter/jmol/hexagonal_P.cif">hexagonal</a>

which used to work, but now I get an iframe with an error message:


Coding error detected, it must be fixed by a programmer: Invalid string identifier. The identifier cannot be empty. Please fix your get_string() call.

Debug info: 32767

Error code: codingerror

Stack trace:

  • line 6640 of /lib/moodlelib.php: coding_exception thrown
  • line 208 of /filter/jmol/iframe.php: call to get_string()
Any thoughts anybody? This is jmol version 2015091700, and moodle 2.9.1.

Thanks!

Chris

Average of ratings: -
In reply to Chris Adams

Re: jmol error

by Geoffrey Rowland -
Picture of Plugin developers

Hi Chris

Try the latest version from the master branch on GitHub (not yet in Moodle plugins directory)

https://github.com/geoffrowland/moodle-filter_jmol

If you are not familiar with GitHub, use the Download ZIP link on right of the GitHub page

Also, check the permissions/ownership of the filter/jmol/temp folder. This needs to be writeable by the web-server  process.

See discussion in: https://github.com/geoffrowland/moodle-filter_jmol/issues/17

Hope to release a new version of the Filter, which avoids using the  filter/jmol/temp folder and associated permissions issues, and includes the latest stable J(S)mol 14.4 release, in the next few days.

In reply to Geoffrey Rowland

Re: jmol error

by Chris Adams -

Just to let you know that I fixed this by commenting out lines 261-282 of iframe.php (in version 2015110900).

Chris