Bugs item #1814768, was opened at 2007-10-17 01:12
Message generated for change (Comment added) made by mr-meltdown
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1814768&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: None
>Group: Clients 1.20
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: bjbuter (bjbuter)
Assigned to: Niels Nes (nielsnes)
Summary: Python Client problems

Initial Comment:
The Python client in /clients/src/python/Cimpl
after issuing cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/monetdb checkout 
clients, needs some hacks to work.

specifically:
in CMapi.py: the MapiLib.mapi_connect requires a dbname other than the default 
None, else a connection to the database cannot be established.

in MonetSQLdb/__init__.py
from CMapi import * 
leads to errors, CMapi cannot be found this should be: 
from MonetDB.CMapi import *

(when a dbname is required in CMapi, MonetSQLdb/__init__ should use CMapi with 
this dbname when using CMapi)


diffs of these hacks are provided
greetings 
Bart

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

>Comment By: Fabian (mr-meltdown)
Date: 2007-11-16 19:20

Message:
Logged In: YES 
user_id=963970
Originator: NO

m h reports this fix to be sufficient.  We should release this soon.

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

Comment By: bjbuter (bjbuter)
Date: 2007-11-06 20:31

Message:
Logged In: YES 
user_id=1624832
Originator: YES

Did: cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/monetdb
 co buildtools MonetDB clients
build: buildtools & MonetDD
then in clients:
./bootstrap
./configure 
./configure --prefix=/home/bjbuter  --with-python

however this chokes in odbc with
Making all in odbc
make[4]: Entering directory `/tmp/clients/src/odbc'
make  all-recursive
make[5]: Entering directory `/tmp/clients/src/odbc'
Making all in include
make[6]: Entering directory `/tmp/clients/src/odbc/include'
make[6]: *** No rule to make target `sql.h', needed by `all'.  Stop.
make[6]: Leaving directory `/tmp/clients/src/odbc/include'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/clients/src/odbc'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/clients/src/odbc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/clients/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/clients/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/clients'
make: *** [all] Error 2

So no chance to check Python yet


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

Comment By: Niels Nes (nielsnes)
Date: 2007-10-23 09:08

Message:
Logged In: YES 
user_id=43556
Originator: NO

bart could you check if the current code in the stable branch fixed your
problems.

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

Comment By: Martin Kersten (mlkersten)
Date: 2007-10-21 20:22

Message:
Logged In: YES 
user_id=490798
Originator: NO

Niels is taking care of it.

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

Comment By: bjbuter (bjbuter)
Date: 2007-10-17 01:20

Message:
Logged In: YES 
user_id=1624832
Originator: YES

I forgot to add a big annoyance, though not critical, the Python client
does not relay any error messages from MonetDB. If anything goes wrong it
issues a RuntimeError:None instead of the more detailed response the normal
MapiClient gives.
Bart

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1814768&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to