close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#834 closed defect (fixed)

bug in RemoteTOL / Tolbase

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: Mantainance
Component: RMTPS Version:
Severity: blocker Keywords:
Cc:

Description

When running the following code from Tolbase and error is raised. If executed in tolsh then the result is as expected.

Text host = "192.168.191.252";
Real port = 6668;
Text project = "";

Set tolargs = [[ Text expr = "WriteLn(\"Hola mundo\")" ? ]];

Set remote_args = project, tolargs ?;

Real pid = RemoteTOL( host, port, remote_args );

WriteLn( "RemoteTOL = " << FormatReal( pid, "%.0f" ) );

ERROR: [1] RemoteTOL: wrong # args: should be "::tlogger::log l msg"

[Call stack]

[1] Real RemoteTOL (Text Host, Real Port, Set Args)

RemoteTOL = 0

Change History (3)

comment:1 Changed 15 years ago by Jorge

Status: newaccepted

comment:2 Changed 15 years ago by Jorge

Resolution: fixed
Status: acceptedclosed

(In [1933]) fixes #834 tlogger::log wrapper should receive 3 arguments

comment:3 Changed 15 years ago by Jorge

(In [1934]) see #834 : backporting fix from trunk

Note: See TracTickets for help on using tickets.