Issue481990

classification
Title: simple script generates warnings
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn, mvanier
Priority: normal Keywords:

Created on 2001-11-15.07:09:13 by mvanier, last changed 2001-11-15.14:24:48 by bckfnn.

Messages
msg470 (view) Author: Michael C. Vanier (mvanier) Date: 2001-11-15.07:09:13
This simple script generates an infinite series of
warnings:

# Start of script.
from pawt import swing
import java

class SwingApplication:
    def __init__(self):
        frame = swing.JFrame("SwingApplication");
        frame.pack();
        frame.setVisible(1);


app = SwingApplication()
# End of script.

Here are the warnings:

Nov 14, 2001 11:07:43 PM
java.util.prefs.FileSystemPreferences
checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 37.
Nov 14, 2001 11:07:43 PM
java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs:
java.util.prefs.BackingStoreException: Couldn't get
file lock.
Nov 14, 2001 11:07:45 PM
java.util.prefs.FileSystemPreferences
checkLockFile0ErrorCode
WARNING: Could not lock System prefs.Unix error code
37.
Nov 14, 2001 11:07:45 PM
java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush system prefs:
java.util.prefs.BackingStoreException: Couldn't get
file lock.

over and over. I just downloaded and installed the
latest version of jython running on top of the Java 2
SDK beta 1.4 on Red Hat Linux 6.1.  I also got these
warnings during installation.

Thanks,

Mike


msg471 (view) Author: Finn Bock (bckfnn) Date: 2001-11-15.14:24:48
Logged In: YES 
user_id=4201

I will blame JDK1.4 on linux for this. The message is 
clearly about some new 1.4 feature which jython does not 
use at all. The windows version of 1.4 beta works 
flawlessly with jython.

I will close the bugreport because I fail to see how we can 
do anything about it. You might want to try a JDK1.3 
instead.
History
Date User Action Args
2001-11-15 07:09:13mvaniercreate