Release Engineering

Tasklist

FS#14486 - AIF fails when loading remote procedure

Attached to Project: Release Engineering
Opened by tuxce (tuxce) - Tuesday, 28 April 2009, 16:10 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Monday, 15 June 2009, 11:18 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To Dieter Plaetinck (Dieter_be)
Architecture All
Severity Low
Priority Normal
Reported Version 2009.02
Due in Version 2009.08-alpha
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

aif.sh sets wrong module when executing a remote procedure:

# aif -p http://example.org/example-procedure
ERROR: Something went wrong while sourcing procedure /usr/lib/aif/user/http/procedures/http://example.org/example-procedure

The error is in lib-flowcontrol.sh, module should be "http" instead of "http:".

But even with the good module name:
# aif -p http://example.org/example-procedure
ERROR: Could not download procedure http://example.org/example-procedure

This is because $RUNTIME_DIR (/tmp/aif) doesn't exist for the first execution.

Patch attached.
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Monday, 15 June 2009, 11:18 GMT
Reason for closing:  Fixed
Comment by tuxce (tuxce) - Tuesday, 28 April 2009, 16:13 GMT
correction for the first sentence: lib-flowcontrol.sh checks wrong module name (I think)
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 14 June 2009, 19:56 GMT
I pushed a cleaned up version of your patch in the experimental branch
http://projects.archlinux.org/?p=aif.git;a=commitdiff;h=86d47cc4f61bd61f2f11dbc8e6075120f815ab71
Please retest
Comment by tuxce (tuxce) - Monday, 15 June 2009, 10:16 GMT
It works, thanks.

Loading...