|
From: Petr G. <pet...@gm...> - 2007-02-28 09:56:12
|
Hello. I feel i have encountered a bug. With latest beta 2.2 I have created db connection object as follows: dbConn = zxJDBC.connect(uri, username, password, driver) However subsequent dir(dbConn) causes following exception AttributeError: 'list' object has no attribute 'keys' at org.python.core.Py.AttributeError(Unknown Source) at org.python.core.PyObject.noAttributeError(Unknown Source) at org.python.core.PyObject.__getattr__(Unknown Source) at org.python.core.PyObject.invoke(Unknown Source) at org.python.core.PyDictionary.dict_update(Unknown Source) at org.python.core.PyDictionary.update(Unknown Source) at org.python.core.PyObject.addKeys(Unknown Source) at org.python.core.PyObject.__rawdir__(Unknown Source) at org.python.core.PyObject.__dir__(Unknown Source) at org.python.core.__builtin__.dir(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.python.core.PyReflectedFunction.__call__(Unknown Source) at org.python.core.PyReflectedFunction.__call__(Unknown Source) at org.python.core.PyObject.__call__(Unknown Source) at org.python.pycode._pyx0.f$0(src/py/main.py:107) at org.python.pycode._pyx0.call_function(src/py/main.py) at org.python.core.PyTableCode.call(Unknown Source) at org.python.core.PyCode.call(Unknown Source) at org.python.core.Py.runCode(Unknown Source) at org.python.core.__builtin__.execfile_flags(Unknown Source) at org.python.util.PythonInterpreter.execfile(Unknown Source) Should I post this bug to bugtracker? -- Petr Gladkikh |