Bugs item #1892582, was opened at 2008-02-13 11:21
Message generated for change (Comment added) made by yingying
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1892582&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: PF/runtime
Group: Pathfinder 0.22
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Ying Zhang (yingying)
Summary: PF: XRpc does not work on Windows
Initial Comment:
On Windows, all XRpc tests fail with
QUERY = import module namespace xrpc = "xrpc-fun" at
"C:\\cygwin\\var\\tmp\\monet.Int.64.32.d.30065\\pathfinder\\tests\\XRpc\\Tests/xrpcfun.xq";
ERROR = !ERROR: during RPC call to "PARKIET:42437"
!ERROR: HTTP Error Code : 403 Forbidden
!ERROR: SOAP Fault Code : env:Sender
!ERROR: SOAP Fault Reason:
!ERROR: Called module not allowed:
!ERROR:
'C:\cygwin\var\tmp\monet.Int.64.32.d.30065\pathfinder\tests\XRpc\Tests/xrpcfun.xq'
not in
!ERROR: 'http://monetdb.cwi.nl',
!ERROR:
'C:\cygwin\var\tmp\monet.Int.64.32.d.30065\MonetDB4\.Int.64.32.d-Windows5.2\share\MonetDB\xrpc\export',
!ERROR: 'http://127.0.0.1:42437',
!ERROR:
'C:\cygwin\var\tmp\monet.Int.64.32.d.30065\pathfinder/tests/XRpc/Tests',
!ERROR:
'C:\cygwin\var\tmp\monet.Int.64.32.d.30065\pathfinder\NT\mTests\tests\XRpc'.
!ERROR: CMDhttp_post: operation failed.
MAPI = [EMAIL PROTECTED]:32550
QUERY = import module namespace xrpc = "xrpc-fun" at
"C:\\cygwin\\var\\tmp\\monet.Int.64.32.d.30065\\pathfinder\\tests\\XRpc\\Tests/xrpcfun.xq";
ERROR = !ERROR: doLoopLiftedRPC: execution failed at all destinations
See
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d-Windows5.2/tests_XRpc/add_dbl-localhost.err.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/Int.64.32.d-Windows5.2/tests_XRpc/add_dbl.err.00.html
etc.
----------------------------------------------------------------------
>Comment By: Ying Zhang (yingying)
Date: 2008-02-13 14:07
Message:
Logged In: YES
user_id=341633
Originator: NO
I don't know how much work it is to add this DIRSEP variable...
I might temporarily just use TSTSRCBASE so that XRPC can be tested on
Windows as well.
I think there is no need to postpone the release for this issue.
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2008-02-13 13:51
Message:
Logged In: YES
user_id=572415
Originator: YES
Maybe, we should consider letting Mtest set and export a system-specific
environment variable DIRSEP that shoudl then be used in paths in such tests
instead of a literal "/" ...
I'll consider that --- but it will in any case most probably be a
post-release fix --- unless we want to postpone the release even longer
...
----------------------------------------------------------------------
Comment By: Ying Zhang (yingying)
Date: 2008-02-13 13:24
Message:
Logged In: YES
user_id=341633
Originator: NO
The problem is caused by the prefix
'C:\cygwin\var\tmp\monet.Int.64.32.d.30065\pathfinder/tests/XRpc/Tests',
where the '/' should be '\'.
This path has been added by the file 'add_trusted.mil' in the XRPC test
directory, using MIL commands:
var TSTSRCDIR := getenv("TSTSRCBASE") + "/tests/XRpc/Tests";
add_xrpc_trusted(TSTSRCDIR);
which is wrong on Windows.
Does someone know how can I calculate the correct file separator (or check
for OS) in my MIL script?
If this is not possible, I would suggest to use the simplest solution, nl.
just add TSTSRCBASE (in this case
'C:\cygwin\var\tmp\monet.Int.64.32.d.30065\pathfinder') to xrpc_trusted.
Jennie
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1892582&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs