From: Andrew K. <aku...@me...> - 2001-12-18 15:40:25
|
On Tue, Dec 18, 2001 at 01:36:21PM +0000, Finn Bock wrote: >Are you completely sure. If I create a file called "strop.class" in my >cwd, I get the very same error: Pretty sure: ute awt>jar -t <microscope.jar |grep str string.class string$_PyInner.class org/python/core/PyReflectedConstructor.class ute awt> Hmm... the problem might be due to the bug described at http://developer.java.sun.com/developer/bugParade/bugs/4196224.html; the JDK doesn't find a .class file in the JAR, tries to download it using HTTP, doesn't find it, and reports the 'bad magic number' error. That explains why it only shows up when running as an applet. (However, it also shows up with IBM's 1.3 JDK; oh dear...) A workaround is to edit string.py to not try importing strop. Maybe string.py should only try to import strop in CPython. --amk |