Issue1010

classification
Title: module logging doesn't work after rev 4201
Type: crash Severity: critical
Components: Core Versions: 2.5alpha1
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, shoyu
Priority: Keywords:

Created on 2008-03-19.13:48:42 by shoyu, last changed 2008-03-21.20:12:15 by cgroves.

Messages
msg3094 (view) Author: Stéphane JULIEN (shoyu) Date: 2008-03-19.13:48:41
Since rev 4201 (4200 is OK) the logging module crashes:

import logging
logging.debug('toto')


  File "e:\ftproot\jython\dist\lib\logging\__init__.py", line 1179, in debug
java.lang.NoSuchFieldError: table
        at org.python.core.__builtin__.apply(__builtin__.java:411)
        at org.python.core.BuiltinFunctions.__call__(__builtin__.java:202)
        at
logging$py.debug$85(e:\ftproot\jython\dist\lib\logging\__init__.py:11
79)
        at
logging$py.call_function(e:\ftproot\jython\dist\lib\logging\__init__.
py)
        at org.python.core.PyTableCode.call(PyTableCode.java:174)
        at org.python.core.PyTableCode.call(PyTableCode.java:395)
        at org.python.core.PyTableCode.call(PyTableCode.java:255)
        at org.python.core.PyFunction.__call__(PyFunction.java:197)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.pycode._pyx0.f$0(tiers_anael_ptd.py:29)
        at org.python.pycode._pyx0.call_function(tiers_anael_ptd.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:174)
        at org.python.core.PyCode.call(PyCode.java:14)
        at org.python.core.Py.runCode(Py.java:1317)
        at org.python.core.__builtin__.execfile_flags(__builtin__.java:550)
        at
org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:143
)
        at org.python.util.jython.main(jython.java:217)

java.lang.NoSuchFieldError: java.lang.NoSuchFieldError: table
msg3095 (view) Author: Charlie Groves (cgroves) Date: 2008-03-19.15:41:53
It works fine for me.  The type of PyDictionary.table changed in 4200,
so perhaps you have a stale class lying around referring to the old
type?  Mind trying an ant clean before running ant and then logging again?
msg3098 (view) Author: Stéphane JULIEN (shoyu) Date: 2008-03-20.06:24:11
Hello,
The ant clean worked fine !
All seems OK now.
Thank you very much.
Stéphane.
History
Date User Action Args
2008-03-21 20:12:15cgrovessetstatus: open -> closed
resolution: invalid
2008-03-20 06:24:12shoyusetmessages: + msg3098
2008-03-19 15:41:53cgrovessetnosy: + cgroves
messages: + msg3095
2008-03-19 13:48:42shoyucreate