[Python-bugs-list] [ python-Bugs-639022 ] Install script goes into infinite loop

noreply@sourceforge.net noreply@sourceforge.net
Fri, 15 Nov 2002 15:48:31 -0800


Bugs item #639022, was opened at 2002-11-15 13:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=639022&group_id=5470

Category: Installation
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Mel (meldh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Install script goes into infinite loop

Initial Comment:
./configure -- works
make -- works
make test -- works
make install -- gets as far as trying to do this:

PYTHONPATH=/usr/local/lib/python2.2 \
	./python -tt /usr/local/lib/python2.2/compileall.py -x 
badsyntax \
        /usr/local/lib/python2.2
Listing /usr/local/lib/python2.2 ...
Listing /usr/local/lib/python2.2/ ...

and then goes off into infinite loop, repeating the last line until Ctrl-
C.

Debian 2.2 (potato), 2.2.18pre21 kernel version.



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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-15 18:48

Message:
Logged In: YES 
user_id=33168

Ok, could you paste a few listing lines and about 20 or so
before that.  Did you try running the command from the
shell?  Something like:  

  PYTHONPATH=/usr/local/lib/python2.2 \
    ./python -tt /usr/local/lib/python2.2/compileall.py \
        -x badsyntax /usr/local/lib/python2.2 

Does that do the same thing?

Is it possible there is a symlink in
/usr/local/lib/python2.2 to the same directory (or .)?

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:44

Message:
Logged In: YES 
user_id=649744

I give in, it just doesn't want to let me attach the file. It has 
about 10000 repeats of that same 'Listing' line, in any case.

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:43

Message:
Logged In: YES 
user_id=649744

Yeah, I tried that. In between the problems with file sizes, 
file names and the like, it doesn't seem to have worked. I'm 
giving it another go now.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-15 18:40

Message:
Logged In: YES 
user_id=33168

There's no file.  You have to click the checkbox next to
"Check to Upload and Attach a File" in addition to entering
the filename.

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:38

Message:
Logged In: YES 
user_id=649744

Log file now attached, gzipped

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:38

Message:
Logged In: YES 
user_id=649744

Log file now attached, gzipped

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:34

Message:
Logged In: YES 
user_id=649744

Here's the log file. I let it run for about 10000 repeats and 
then killed it - there may be a lot of files, but _that_ many?

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:23

Message:
Logged In: YES 
user_id=649744

It definitely isn't printing out anything else except 
the 'Listing...' line. I can let it run for a few minutes and see 
if it's printing that one-per-file or something, instead of just 
looping... hang on.

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

Comment By: Mel (meldh)
Date: 2002-11-15 18:22

Message:
Logged In: YES 
user_id=649744

It definitely isn't printing out anything else except 
the 'Listing...' line. I can let it run for a few minutes and see 
if it's printing that one-per-file or something, instead of just 
looping... hang on.

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

Comment By: Neal Norwitz (nnorwitz)
Date: 2002-11-15 18:09

Message:
Logged In: YES 
user_id=33168

Are you sure you let the process finish?  It looks like
there are at least 2 passes.  One to generate .pyc files and
the other to generate .pyo (optimized) files.  There are a
lot of files to run through.  

Does it only print the "Listing /usr/local/lib/python2.2 ...
" lines and nothing in between?  

Could you save the output and attach it to this bug report?

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

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