Bugs item #1819168, was opened at 2007-10-24 09:31
Message generated for change (Comment added) made by nielsnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1819168&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: Clients 1.20
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: sql/src/test/mapi/python_dbapi test fails

Initial Comment:
The python_dbapi and python_dbapi_embedded in sql/src/test/mapi fail when run 
in the testweb.

The reason for this is because the MonetDB and clients packages are installed 
in different directories.

In MonetDB/src/common there are a couple of Python files which get installed in 
PYTHON_LIBDIR/MonetDB.  One of the files installed is __init__.py which turns 
the directory into an importable Python module.  In clients/src/python/Cimpl 
some more files are installed into that same (supposedly) directory.  But since 
in the testweb, the directories are not the same, MonetDB.CMapi is not found.  
You can't install an extra __init__.py into the directory for several reasons: 
it is not a good idea to overwrite installed files; and it is not possible to 
have two identically named but distinct Python modules (i.e. the one from 
MonetDB/src/common and the one from clients/src/python/Cimpl).

I don't know the solution to this.

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

>Comment By: Niels Nes (nielsnes)
Date: 2007-11-16 19:48

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

the ohter problem is python_dbapi_embedded, which now has its own bug
report. So this one can be closed.

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

Comment By: Stefan Manegold (stmane)
Date: 2007-10-25 08:14

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

The import of CMapi seems to work, now.

Sjoerd seems to be taking care of (some of) the remaining problems with
these tests and/or the implementation of CMapi.py itself.

...


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

Comment By: Stefan Manegold (stmane)
Date: 2007-10-24 12:32

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

In the test scripts, 
I extended PYTHONPATH to find CMapi in client-prefix
in case clients-prefix differs from MonetDB-prefix.

Tonight's testing will show whether this helps, or not...


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1819168&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