[Python-bugs-list] [ python-Bugs-514443 ] Python cores with "viewcvs" - Cygwin

noreply@sourceforge.net noreply@sourceforge.net
Sun, 17 Feb 2002 13:55:14 -0800


Bugs item #514443, was opened at 2002-02-07 11:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=514443&group_id=5470

Category: Threads
>Group: Not a Bug
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Jari Aalto (jaalto)
>Assigned to: Tim Peters (tim_one)
>Summary: Python cores with "viewcvs" - Cygwin

Initial Comment:
ViewCVS dies on startup with Python 2.2
under W2k Pro sp2 / Cygwin
http://www.sourceforge.net/projects/viewcvs

This may be problem in the Cygwin python itself,
So this bug has been reported to python 
dev team as well.


//root@W2KPICASSO /usr/src/cvs-source/python-viewcvs 
$ ./standalone.py -g -r /cygdrive/h/data/version-
control/cvsroot
Traceback (most recent call last):
  File "./standalone.py", line 540, in ?
  File "./standalone.py", line 495, in cli
  File "./standalone.py", line 467, in gui
  File "./standalone.py", line 406, in __init__
  File "/usr/lib/python2.2/threading.py", line 5, in ?
    import thread
ImportError: No module named thread


cygcheck -s report:


  751k 2002/01/19 h:\unix-root\u\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.7
        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: Sat Jan 19 13:20:32 EST 2002
        Shared id: cygwin1S3

  653k 1998/10/30 h:\bin\sql\mysql-
w2k\bin\cygwinb19.dll

Cygwin Package Information
Package             Version             
ash                 20011018-1          
autoconf            2.52a-1             
autoconf-devel      2.52-4              
autoconf-stable     2.13-4              
automake            1.5b-1              
automake-devel      1.5b-1              
automake-stable     1.4p5-5             
bash                2.05a-2             
bc                  1.06-1              
binutils            20011002-1          
bison               1.30-1              
byacc               1.9-1               
bzip2               1.0.1-6             
clear               1.0                 
compface            1.4-5               
cpio                2.4.2               
cron                3.0.1-5             
crypt               1.0-1               
ctags               5.2-1               
curl                7.9.2-1             
cvs                 1.11.0-1            
cygrunsrv           0.94-2              
cygutils            0.9.7-1             
cygwin              1.3.7-1             
dejagnu             20010117-1          
diff                0.0                 
ed                  0.2-1               
expect              20010117-1          
figlet              2.2-1               
file                3.37-1              
fileutils           4.1-1               
findutils           4.1                 
flex                2.5.4-1             
fortune             1.8-1               
gawk                3.0.4-1             
gcc                 2.95.3-5            
gdb                 20010428-3          
gdbm                1.8.0-3             
gettext             0.10.40-1           
ghostscript         6.51-1              
gperf               0.0                 
grep                2.4.2-1             
groff               1.17.2-1            
gzip                1.3.2-1             
inetutils           1.3.2-17            
irc                 20010101-1          
jbigkit             1.2-4               
jpeg                6b-4                
less                358-3               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.0.12-1            
libpng2             1.0.12-1            
libreadline4        4.1-2               
libreadline5        4.2a-1              
libtool             20010531a-1         
libtool-devel       20010531-6          
libtool-stable      1.4.2-2             
libxml2             2.4.13-1            
libxslt             1.0.9-1             
login               1.4-3               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-5            
man                 1.5g-2              
mingw               20010917-1          
mingw-runtime       1.2-1               
mktemp              1.4-1               
mt                  2.0.1-1             
mutt                1.2.5i-6            
nano                1.0.7-1             
ncftp               3.0.2-2             
ncurses             5.2-8               
newlib-man          20001118-1          
opengl              1.1.0-5             
openssh             3.0.2p1-4           
openssl             0.9.6c-3            
openssl-devel       0.9.6c-2            
patch               2.5-2               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.2-1             
postgresql          7.1.3-2             
python              2.2-1               
readline            4.2a-1              
regex               4.4-2               
robots              2.0-1               
rsync               2.5.1-2             
rxvt                2.7.2-6             
rxvt                2.7.2-6             
sed                 3.02-1              
sh-utils            2.0-2               
sharutils           4.2.1-2             
shellutils          0.0                 
shutdown            1.2-2               
squid               2.4.PRE-STABLE      
ssmtp               2.38.7-3            
tar                 1.13.19-1           
tcltk               20001125-1          
tcsh                6.11.00-3           
termcap             20010825-1          
terminfo            5.2-1               
tetex-beta          20001218-4          
texinfo             4.0-5               
textutils           2.0.16-1            
tiff                3.5.6beta-2         
time                1.7-1               
units               1.77-1              
unzip               5.41-1              
vim                 6.0.93-1            
w32api              20010520-1          
wget                1.7.1-1             
which               1.5-1               
whois               4.5.17-1            
xpm                 4.0.0-2             
xpm-nox             4.1.0-1             
zip                 2.3-1               
zlib                1.1.3-6             


----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2002-02-17 13:55

Message:
Logged In: YES 
user_id=31435

I'm closing this as Not-a-Bug since Norman is right that 
thread support isn't yet enabled by default in the Cygwin 
port.

However, feel free to open this again if you really 
meant "cores".  An ordinary Python exception (like failure 
to import a module that isn't there) should never lead to 
an actual core dump.  If the program simply quit without 
leaving a core file, "cores" was an incorrect claim.

----------------------------------------------------------------------

Comment By: Norman Vine (nhv)
Date: 2002-02-17 09:20

Message:
Logged In: YES 
user_id=1020

Your error message says it all :-)

>File "/usr/lib/python2.2/threading.py", line 5, in ? 
>import thread 
>ImportError: No module named thread 

You need to compile Python for yourself if you want 
threading support in Cygwin.

Note that threading with Cygwin is problematic yet
however I have good results with W2k sp2 and a locally
compiled Cygwin Python. 

IMHO this report should be considered closed

Norman



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=514443&group_id=5470