There seems to be a problem with chained or "nested" pengine_rcp calls. Can be seen with the following example:
?- use_module(library(pengines)).
true.
% This works fine:
?- pengine_rpc('http://localhost:3030', member(X, [a, b, c])).
X = a ;
X = b ;
X = c.
% This just hangs:
?- pengine_rpc('http://localhost:3030', pengine_rpc('http://localhost:3030', member(X, [a, b, c]))).
There seems to be a problem with chained or "nested" pengine_rcp calls. Can be seen with the following example: