sax with python 2.2
G.Villot
georges_villot@yahoo.com
Mon Apr 1 13:38:00 GMT 2002
Hi,
I got the following error when using sax.utils:
class Test(saxutils.DefaultHandler):
AttributeError: 'module' object has no attribute 'DefaultHandler'
here is the python file:
import pyPgSQL.PgSQL
from xml.sax import saxutils
from xml.sax import make_parser
from xml.sax.handler import feature_namespaces
class Test(saxutils.DefaultHandler): ...
Any idea ?
Thanks,
Georges.
PS: the cygcheck report has been attached to this mail
-------------- next part --------------
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Apr 02 07:29:25 2002
Windows 98 SE Ver 4.10 Build 2222
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\PROGRA~1\ULTRAE~1
c:\WINDOWS
c:\WINDOWS
c:\WINDOWS\COMMAND
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\Geo'
MAKE_MODE = `unix'
PWD = `/home/Geo'
USER = `Geo'
BLASTER = `A220 I5 D1 T4 P330'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
MANPATH = `:/usr/ssl/man'
OLDPWD = `/usr/bin'
PROMPT = `$p$g'
PS1 = `\[033円]0;\w007円
033円[32m\]\u@\h \[033円[33m\w033円[0m\]
$ '
SHLVL = `1'
TEMP = `c:\windows\TEMP'
TERM = `cygwin'
TMP = `c:\windows\TEMP'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:\cygwin'
flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:\cygwin/bin'
flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:\cygwin/lib'
flags = 0x00000008
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd FAT32 1969Mb 77% CP UN WINDOWS 98
d: hd FAT32 1976Mb 88% CP UN DOCUMENTS
e: hd FAT32 494Mb 85% CP UN NETSCAPE
f: hd FAT32 1245Mb 72% CP UN MISC
g: cd N/A N/A
. /cygdrive user textmode,noumount
C:\cygwin / system textmode
C:\cygwin/bin /usr/bin system textmode
C:\cygwin/lib /usr/lib system textmode
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\sh.exe
19k 2002年02月20日 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002年2月20日 14:05
22k 2001年12月13日 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001年12月13日 20:28
45k 2001年04月25日 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001年4月25日 15:28
26k 2001年04月25日 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001年4月25日 15:27
156k 2001年04月25日 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001年4月25日 15:29
226k 2001年04月25日 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001年4月25日 15:17
15k 2001年04月25日 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001年4月25日 15:27
35k 2002年01月09日 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002年1月9日 17:03
20k 2002年01月09日 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002年1月9日 17:03
175k 2002年01月09日 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002年1月9日 17:03
202k 2002年01月09日 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002年1月9日 17:03
12k 2002年01月09日 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002年1月9日 17:03
17k 2001年06月28日 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001年1月7日 15:34
108k 2001年06月28日 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001年1月7日 15:34
20k 2002年01月13日 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002年1月13日 12:27
121k 2002年01月13日 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002年1月13日 12:27
621k 2002年01月16日 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002年1月16日 20:54
156k 2002年01月16日 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002年1月16日 20:54
40k 2001年11月21日 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001年11月22日 9:15
39k 2001年11月21日 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001年11月22日 9:15
81k 2000年12月05日 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000年11月26日 12:43
35k 2000年12月05日 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000年11月26日 12:43
390k 2000年12月05日 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000年11月26日 12:39
5k 2000年12月05日 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000年12月05日 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000年11月26日 12:39
623k 2000年12月05日 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000年11月26日 12:43
50k 2002年03月12日 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002年3月12日 15:38
21k 2001年06月20日 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001年6月21日 3:09
56k 2000年12月03日 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2000年11月21日 10:53
751k 2002年02月25日 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002年2月26日 3:14
Cygwin DLL version info:
DLL version: 1.3.10
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Mon Feb 25 11:14:34 EST 2002
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: \\BOB\SOFTS\cygwin
Last downloaded files from: ftp://mirror.aarnet.edu.au/pub/cygwin
Package Version
ash 20020131-1
bash 2.05a-3
binutils 20011002-1
bzip2 1.0.1-6
clear 1.0-1
cygutils 1.0.0-1
cygwin 1.3.10-1
diff 0.0
fileutils 4.1-1
findutils 4.1
gawk 3.0.4-1
gcc 2.95.3-5
gdbm 1.8.0-4
grep 2.5g
groff 1.17.2-1
gzip 1.3.2-1
less 374-1
libintl 0.10.38-3
libintl1 0.10.40-1
libncurses5 5.2-1
libncurses6 5.2-8
libreadline4 4.1-2
libreadline5 4.2a-1
login 1.4-3
man 1.5g-2
ncurses 5.2-8
openssl 0.9.6c-3
pcre 3.7-1
popt 1.6.2-1
postgresql 7.2-2
python 2.2-1
readline 4.2a-1
sed 3.02-1
sh-utils 2.0-2
tar 1.13.19-1
tcltk 20001125-1
termcap 20010825-1
terminfo 5.2-1
textutils 2.0.21-1
vim 6.0.93-1
w32api 1.2-2
which 1.5-1
zlib 1.1.4-1
Use -h to see help about each section
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list