Bugs item #2844980, was opened at 2009-08-26 17:04
Message generated for change (Settings changed) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2844980&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matthew W. Jones (matburt)
>Assigned to: Gijs Molenaar (gijzelaerr)
Summary: Python client install error
Initial Comment:
Attempting to install the monetdb python client the build/installation fails:
# python setup.py install
[...]
byte-compiling /usr/lib/python2.5/site-packages/monetdb/mapi.py to mapi.pyc
byte-compiling /usr/lib/python2.5/site-packages/monetdb/mapi3.py to mapi3.pyc
File "/usr/lib/python2.5/site-packages/monetdb/mapi3.py", line 84
except socket.error as error:
^
SyntaxError: invalid syntax
byte-compiling /usr/lib/python2.5/site-packages/monetdb/monetdb_exceptions.py
to monetdb_exceptions.pyc
[...]
#
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-08-26 22:41
Message:
The file mapi3.py is the version specifically for Python 3.X, so it is not
so strange that it uses Python 3.X syntax. But it should be possible to
install the package using Python 2.X.
Assigning to Gijs to come up with a solution.
----------------------------------------------------------------------
Comment By: Matthew W. Jones (matburt)
Date: 2009-08-26 17:11
Message:
There are several places in this file where that syntax is used.
----------------------------------------------------------------------
Comment By: Matthew W. Jones (matburt)
Date: 2009-08-26 17:06
Message:
except EXCEPTION as other
is supported in Python 3.0 but not 2.5
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2844980&group_id=56967
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs