IsraelSlays / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

namebench throws syntax error under Python 2.4 #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Grab the namebench tarball (or check out the latest code from SVN) on 
any CentOS or RHEL machine (they still ship 2.4 as standard)
2. Run namebench.py.

What is the expected output? What do you see instead?
-> ./namebench.py 
Traceback (most recent call last):
  File "./namebench.py", line 40, in ?
    from libnamebench import cli
  File "/home/cchandler/sources/namebench-read-only/libnamebench/cli.py", 
line 28
    from . import base_ui
         ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?

Latest SVN build as well as 1.2 demonstrate this behavior.  This has occurred 
on a few python 2.4 boxes, yet works correctly in 2.6

Original issue reported on code.google.com by Sort...@gmail.com on 1 May 2010 at 11:15

GoogleCodeExporter commented 8 years ago
Update: namebench 1.04 works on Python 2.4.  Not sure when 2.4 became 
unsupported.

Original comment by Sort...@gmail.com on 3 May 2010 at 6:40

GoogleCodeExporter commented 8 years ago
Fixed in r801 - namebench 1.3.x will be compatible with Python 2.4 again.

Original comment by tstromb...@google.com on 6 May 2010 at 9:42

GoogleCodeExporter commented 8 years ago
Confirmed that r801 and later works correctly with Python 2.4  

Thanks for the fix!

Original comment by Sort...@gmail.com on 10 May 2010 at 7:50

GoogleCodeExporter commented 8 years ago

Original comment by helixblue on 20 May 2010 at 3:20