Syntax Errors on Install ??? runing Python 3 on imac

22 views
Skip to first unread message

david.bajamexico

unread,
Apr 30, 2009, 5:30:39 PM4/30/09
to buzhug
david-thompsons-imac:buzhug-1.5 david$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/buzhug
copying buzhug/__init__.py -> build/lib/buzhug
copying buzhug/buzhug.py -> build/lib/buzhug
copying buzhug/buzhug_algos.py -> build/lib/buzhug
copying buzhug/buzhug_client.py -> build/lib/buzhug
copying buzhug/buzhug_files.py -> build/lib/buzhug
copying buzhug/buzhug_info.py -> build/lib/buzhug
copying buzhug/buzhug_server.py -> build/lib/buzhug
copying buzhug/buzhug_test.py -> build/lib/buzhug
copying buzhug/conversion_float.py -> build/lib/buzhug
copying buzhug/SimpleAsyncHTTPServer.py -> build/lib/buzhug
running install_lib
byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug.py to buzhug.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug.py", line 127
raise AttributeError,'No attribute named %s' %k
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_algos.py to buzhug_algos.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_algos.py", line 31
raise ValueError,"If argument is a list, only 2 values \
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_client.py to buzhug_client.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_client.py", line 55
raise IndexError,'No record at index %s' %_id
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_files.py to buzhug_files.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_files.py", line 152
raise ValueError,'Bad type : expected str, got %s %s' %(value,
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_info.py to buzhug_info.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_info.py", line 16
raise ValueError,'Field name "%s" is reserved' %name
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_server.py to buzhug_server.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_server.py", line 45
except IndexError,msg:
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_test.py to buzhug_test.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/buzhug_test.py", line 9
print buzhug.__file__
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/conversion_float.py to
conversion_float.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/conversion_float.py", line 54
raise ValueError,'Bad type : expected float, got %s %s' \
^
SyntaxError: invalid syntax

byte-compiling /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/SimpleAsyncHTTPServer.py to
SimpleAsyncHTTPServer.pyc
File "/Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug/SimpleAsyncHTTPServer.py", line 327
print "Asynchronous server running on port %s" %port
^
SyntaxError: invalid syntax

running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug-1.5-py3.0.egg-info
Writing /Library/Frameworks/Python.framework/Versions/3.0/lib/
python3.0/site-packages/buzhug-1.5-py3.0.egg-info
david-thompsons-imac:buzhug-1.5 david$
david-thompsons-imac:buzhug-1.5 david$ which python
/Library/Frameworks/Python.framework/Versions/3.0/bin/python
david-thompsons-imac:buzhug-1.5 david$

Nicolas Pinault

unread,
May 2, 2009, 3:24:06 AM5/2/09
to buz...@googlegroups.com
Buzhug is not designed for Python3.0.

Nicolas

david.bajamexico a écrit :
Reply all
Reply to author
Forward
0 new messages