Title: Message
I use the 'pyserial' package, and it stopped working after upgrading from python-2.2.1-1 to python-2.2.2-1.
 
Python gives this traceback:
Traceback (most recent call last):
  File "./upgrade.py", line 2, in ?
    import serial, sys, os
  File "/usr/lib/python2.2/site-packages/serial/__init__.py", line 15, in ?
    from serialposix import *
  File "/usr/lib/python2.2/site-packages/serial/serialposix.py", line 107, in ?
    TIOCMBIS = TERMIOS.TIOCMBIS
AttributeError: 'module' object has no attribute 'TIOCMBIS'
 
I tried going back to python-2.2.1-1, and everything started working again.  I've attached a cygcheck.  I have also submitted a bug report to the pyserial project at sourceforge, but the projects looks a little dead there.
 
I don't know if this is really a problem with the cygwin version of python or not.  The "TIOCMBI[SC]" attributes of the termios module seem to have disappeared.  I really don't know what these are, or what they are used for, but if anyone knows what I can change them to, to make it work, I'd be appreciative.
 
-Rolf Campbell
 

[ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1

  • From: Jason Tishler <jason at tishler dot net>
  • To: cygwin at cygwin dot com
  • Date: Fri, 15 Nov 2002 12:44:53 -0500 (EST)
  • Subject: [ANNOUNCEMENT] Updated Cygwin Package: python-2.2.2-1
  • Reply-to: cygwin at cygwin dot com

New News:
=== ====
I have updated the version of Python to 2.2.2-1.  The tarballs should be
available on a Cygwin mirror near you shortly.

The _socket module is still being built static instead of shared to
workaround a fork() issue with DLL base address conflicts.  See the
README for more details.
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Nov 18 13:10:52 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:   C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        C:\Program Files\ActivePython\
        C:\WINNT\SYSTEM32
        C:\WINNT
        C:\WINNT\SYSTEM32\WBEM
        C:\PERFORCE
        C:\cygwin\bin
        C:\WINNT\system32
        C:\WINNT
        C:\WINNT\System32\Wbem
        C:\Perforce
        C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\Program Files\SSH
        C:\cygwin\usr\X11R6\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:\cygwin\home\rcampbell'
MAKE_MODE = `unix'
PWD = `/home/rcampbell'
USER = `rcampbell'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\rcampbell\Application Data'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `PCRCAMPBELL2'
COMSPEC = `C:\WINNT\system32\cmd.exe'
COSMIC = `c:/node.beta1/COSMIC'
DISPLAY = `:0'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\OTTDC2'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/c/node/node/comp/hc12'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
P4CONFIG = `.p4config'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;.pyo;.pyw;.pys'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\]$PWD\[\]>\[\] '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\Temp'
TERM = `xterm'
USERDNSDOMAIN = `tropicnetworks.com'
USERDOMAIN = `TROPICNETWORKS'
USERNAME = `rcampbell'
USERPROFILE = `C:\Documents and Settings\rcampbell'
USE_GCC3_FOR_DEPENDANCIES = `yes'
WINDIR = `C:\WINNT'
WINDOWID = `168035096'
_ = `/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 = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `C:'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/e
  (default) = `E:'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/f
  (default) = `F:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/g
  (default) = `G:'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/p
  (default) = `P:'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/w
  (default) = `W:'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d
  (default) = `D:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/h
  (default) = `H:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS   19069Mb  67% CP CS UN PA FC     Campbell
d:  cd           N/A    N/A                    
e:  net NTFS   102400Mb  26% CP CS UN PA        pub
f:  net NTFS   859752Mb  82% CP CS UN PA FC     Backups
g:  net NTFS   102400Mb  26% CP CS UN PA        home
i:  net NTFS   102400Mb  26% CP CS UN PA        pub
p:  net NTFS   35001Mb  74% CP CS UN PA FC     UsrData

C:                                 /c                        user    binmode
E:                                 /e                        user    binmode
F:                                 /f                        user    textmode
G:                                 /g                        user    binmode
P:                                 /p                        user    binmode
W:                                 /w                        user    binmode
.                                  /cygdrive                 user    binmode,cygdrive
C:/cygwin                          /                         system  binmode
D:                                 /d                        system  binmode
H:                                 /h                        system  binmode
C:/cygwin/bin                      /usr/bin                  system  binmode
C:/cygwin/lib                      /usr/lib                  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.                                  /cygdrive                 user    binmode,cygdrive

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:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2002/5/7 2:33
   54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2002/1/26 20:07
  643k 2002/11/09 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/11/9 4:56
   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 1:03
   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/19 22:05
   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/6 23:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 13:28
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 14:24
   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 4:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/19 23:13
   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/20 13:09
   81k 2001/10/20 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2001/10/19 20:25
   35k 2001/10/20 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2001/10/19 20:25
   45k 2002/02/08 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2002/2/7 18:59
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 0:19
   59k 2002/09/20 C:\cygwin\bin\cygkpathsea-3-3-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygkpathsea-3-3-7.dll" v0.0 ts=2002/9/20 10:54
   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 1: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 1: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 1: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 1:03
   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/21 17: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/21 17:15
  175k 2002/07/22 C:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2002/7/22 11:51
  179k 2002/07/22 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2002/7/22 12:03
  170k 2002/01/21 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/1/20 20:05
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
  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/6 23:34
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 13:28
   66k 2001/11/20 C:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0
                  "cygregex.dll" v0.0 ts=2001/11/20 9:44
  169k 2002/11/09 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/11/9 4:56
  390k 2001/10/20 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2001/10/19 20:24
    5k 2001/10/20 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2001/10/20 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2001/10/19 20:24
  253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2002/2/10 3:34
  623k 2001/10/20 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2001/10/19 20:25
   41k 2002/01/20 C:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2002/1/20 13:49
   46k 2002/01/20 C:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2002/1/20 13:50
   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/11 23:38
  906k 2002/11/07 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/11/7 13:57
    Cygwin DLL version info:
        DLL version: 1.3.15
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 63
        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: Thu Nov 7 13:57:47 EST 2002
        CVS tag: cygwin-1-3-15-1
        Shared id: cygwin1S3

   41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygPropList-0.dll" v0.0 ts=2002/5/13 23:13

Cygwin Package Information
Last downloaded files to: C:\cygwin\install
Last downloaded files from: http://mirrors.rcn.net/pub/sourceware/cygwin

Package             Version             
WindowMaker         0.80.0-2            
XFree86-base        4.2.0-1             
XFree86-bin         4.2.0-2             
XFree86-etc         4.2.0-1             
XFree86-fenc        4.2.0-2             
XFree86-fnts        4.2.0-2             
XFree86-lib         4.2.0-3             
XFree86-startup-scripts4.2.0-3             
XFree86-xserv       4.2.0-15            
_update-info-dir    00090-1             
ash                 20020731-1          
autoconf            2.54-1              
autoconf-devel      2.54-1              
autoconf-stable     2.13-4              
automake            1.7.1-1             
automake-devel      1.7.1-1             
automake-stable     1.4p5-5             
base-files          1.0-1               
base-passwd         1.0-1               
bash                2.05b-7             
binutils            20021107-2          
byacc               1.9-1               
bzip2               1.0.2-2             
clear               1.0-1               
cpio                2.4.2               
crypt               1.0-1               
ctags               5.2-1               
cvs                 1.11.0-1            
cygrunsrv           0.95-1              
cygutils            1.1.3-1             
cygwin              1.3.15-2            
dejagnu             20010117-1          
diff                1.0-1               
diffutils           2.8.1-1             
ed                  0.2-1               
emacs               21.2-8              
emacs-X11           21.2-8              
expect              20010117-1          
file                3.37-1              
fileutils           4.1-1               
findutils           4.1.7-4             
flex                2.5.4-2             
gawk                3.1.1-5             
gcc                 3.2-3               
gcc-mingw           3.2-20020817-1      
gdb                 20010428-3          
gdbm                1.8.0-4             
gettext             0.11.5-1            
gperf               0.0                 
grep                2.5-1               
groff               1.17.2-1            
gzip                1.3.3-4             
inetutils           1.3.2-19            
irc                 20010101-1          
jbigkit             1.2-6               
jpeg                6b-7                
less                374-1               
libPropList         0.10.1-3            
libbz2_0            1.0.2-1             
libbz2_1            1.0.2-2             
libiconv2           1.8-2               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libintl2            0.11.5-1            
libkpathsea3        20020911-1          
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.2.4-2             
libpng10            1.0.14-2            
libpng12            1.2.4-2             
libpng2             1.0.12-1            
libpopt0            1.6.4-4             
libreadline4        4.1-2               
libreadline5        4.3-2               
login               1.7-1               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-7            
man                 1.5g-2              
mingw               20010917-1          
mingw-runtime       2.2-1               
mktemp              1.4-1               
more                2.11o-1             
mt                  2.0.1-1             
mutt                1.4-1               
ncftp               3.1.4-1             
ncurses             5.2-8               
newlib-man          20020801            
opengl              1.1.0-6             
openssh             3.5p1-2             
openssl             0.9.6g-2            
patch               2.5-3               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.4-4             
postgresql          7.2.3-2             
python              2.2.2-1             
readline            4.3-2               
regex               4.4-2               
rsync               2.5.5-2             
rxvt                2.7.2-14            
sed                 4.0.1-1             
sh-utils            2.0-2               
squid               2.4.STABLE7-1       
ssmtp               2.38.7-3            
tar                 1.13.25-1           
tcltk               20001125-1          
tcsh                6.11.00-4           
termcap             20020930-1          
terminfo            5.2-3               
tetex-beta          20020911-1          
tetex-bin           20020911-1          
texinfo             4.2-4               
textutils           2.0.21-1            
tiff                3.5.7-1             
time                1.7-1               
unzip               5.50-1              
vim                 6.1-2               
w32api              2.0-1               
wget                1.8.2-1             
which               1.5-1               
xpm-nox             4.2.0-1             
zip                 2.3-2               
zlib                1.1.4-1             

Use -h to see help about each section
--
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/


Reply via email to