Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
python installation problem

I'm probably doing something wrong, but ...

Just downloaded 1.3, made it successfully without errors, and then tried
"python allTests.py" and got this:

Traceback(most recent call last):
File "allTests.py", line 113, in ?
loop = False
NameError: name 'False' is not defined

I did a "python -V" to get the version and it is 2.2 as required.

Did this with 1.2 and it worked.

Any insight would be appreciated.

Thanks,

Brian
Reply With Quote
  #2 (permalink)  
Old 03-18-2004
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,542
Thanks for bringing this to our attention! It looks like the allTests.py script isn't working anymore with Python 2.2 (support for True and False was added in Python 2.2.1). You should be able to get the script working by replacing False with 0 and True with 1, or by upgrading python to an earlier version. We'll fix this in the next release.

Benoit.
Reply With Quote
  #3 (permalink)  
Old 03-19-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
Thanks for the workaround Benoit.

Brian
Reply With Quote
  #4 (permalink)  
Old 03-19-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
By the way, I noticed that there is at least one other .py file in the installation that needs this fix -> config/TestUtil.py. There may be others as well.
Reply With Quote
  #5 (permalink)  
Old 06-22-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
FYI, looks like the problem is still not fixed in 1.4. No biggie, all we had to do was change "True" to "1" in TestUtil.py again and it worked, but thought you guys would like to know.

Brian
Reply With Quote
  #6 (permalink)  
Old 06-22-2004
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,542
Sorry, I thought I had fixed it but obviously I didn't . It will be fixed in the next release!

Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IcePy 3.1.0 and 3.1.1 have problem working with python 2.4.3 eagle Bug Reports 1 11-12-2006 09:54 AM
problem with installation of python danielhf Help Center 1 09-21-2006 02:41 AM
Problem with slice2javae in installation cesartovic Help Center 8 05-10-2006 01:28 PM
Linux installation problem surfer Help Center 1 08-09-2005 08:30 AM
Installation problem yserge Help Center 2 03-16-2004 08:16 PM


All times are GMT -4. The time now is 11:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.