Moodle

Dragmath equation editor generating 404 errors in server logs

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 2.0
  • Fix Version/s: STABLE backlog
  • Component/s: HTML Editor, Maths filters
  • Labels:
  • Environment:
    Moodle 2.0 dev (Build: 20090629)
    Dragmath 0.7.8

Description

When using the dragmath equation editor, lots of 404 errors are created in the webserver logs, requesting files that aren't (and don't appear to ever have been) shipped with the plugin.

The following files were requested and not found:

  • /lib/dragmath/applet/META-INF/services/javax.xml.parsers.SAXParserFactory
  • /lib/dragmath/applet/javax/swing/LayoutStyle.class

Recently revived forum thread:

http://moodle.org/mod/forum/discuss.php?d=105483

Issue Links

Activity

Hide
Mauno Korpelainen added a comment -

Chris Sangwin & Alex Billingsley sent just today the latest version of Dragmath (0.7.8.1) to Marc and me for testing (not yet the public version) and paths did not cause any errors to my test server apache error logs anymore - the only remaining issue is applet/META-INF/services/javax.xml.parsers.SAXParserFactory error message and Alex commented it this way:

The library I am using to parse the XML files looks for this file
to determine which xml parser driver to use. If the file is missing (which
it is) then the library uses the default driver available. The drivers
available depend on which version of the Java runtime is installed.
Therefore, we have four options:

1. Require DragMath to run on Java 1.6+ - this way I know which XML driver
they have available
2. Include an XML driver with DragMath - this would add approx. an extra 200
KB
3. Leave the file missing, so that an XML driver can be selected depending
upon the users Java runtime version
4. Include a blank file in order to stop the error message appearing and the
XML driver can be selected depending upon the users Java runtime version

Option 4 seems to be the best to me...unless yourself or Marc or Mauno
suggest otherwise.

Hopefully, this release will have fixed the problems. Once I have
confirmation it has I'll put it on SourceForge

So let's wait and see what option Alex has chosen...

Show
Mauno Korpelainen added a comment - Chris Sangwin & Alex Billingsley sent just today the latest version of Dragmath (0.7.8.1) to Marc and me for testing (not yet the public version) and paths did not cause any errors to my test server apache error logs anymore - the only remaining issue is applet/META-INF/services/javax.xml.parsers.SAXParserFactory error message and Alex commented it this way:
The library I am using to parse the XML files looks for this file to determine which xml parser driver to use. If the file is missing (which it is) then the library uses the default driver available. The drivers available depend on which version of the Java runtime is installed. Therefore, we have four options: 1. Require DragMath to run on Java 1.6+ - this way I know which XML driver they have available 2. Include an XML driver with DragMath - this would add approx. an extra 200 KB 3. Leave the file missing, so that an XML driver can be selected depending upon the users Java runtime version 4. Include a blank file in order to stop the error message appearing and the XML driver can be selected depending upon the users Java runtime version Option 4 seems to be the best to me...unless yourself or Marc or Mauno suggest otherwise. Hopefully, this release will have fixed the problems. Once I have confirmation it has I'll put it on SourceForge
So let's wait and see what option Alex has chosen...
Hide
Marc Grober added a comment -

Dragmath 0.7.8.2 was added to Moodle. Though Dragmath is now at 0.7.9 (as of March) it does not look like this issue was ever noted in the dragmath version doc or in the dragmath tracker (for 0.7.8.2 or 0.7.9).

I have added it to the dragmath tracker.
http://sourceforge.net/tracker/?func=detail&aid=3396952&group_id=201862&atid=979256

Two things to note here: There will be issues with syncing versions and core devs are now responsible for this.
Oh, and as these error messages are harmless, it is possible that the DragMath devs just had other things to do....

SOmeone should also confirm the DragMath version if this problem is still popping up, just in case.

Show
Marc Grober added a comment - Dragmath 0.7.8.2 was added to Moodle. Though Dragmath is now at 0.7.9 (as of March) it does not look like this issue was ever noted in the dragmath version doc or in the dragmath tracker (for 0.7.8.2 or 0.7.9). I have added it to the dragmath tracker. http://sourceforge.net/tracker/?func=detail&aid=3396952&group_id=201862&atid=979256 Two things to note here: There will be issues with syncing versions and core devs are now responsible for this. Oh, and as these error messages are harmless, it is possible that the DragMath devs just had other things to do.... SOmeone should also confirm the DragMath version if this problem is still popping up, just in case.
Hide
Michael de Raadt added a comment -

I'm closing this issue as a duplicate because the more recent linked issue has more detail.

Show
Michael de Raadt added a comment - I'm closing this issue as a duplicate because the more recent linked issue has more detail.

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: