APSIMInitiative / ApsimX

ApsimX is the next generation of APSIM
http://www.apsim.info
Other
130 stars 160 forks source link

apsim-server READ bug #8771

Open d11638104 opened 5 months ago

d11638104 commented 5 months ago

What happened?

Starting server... Listening on 0.0.0.0:27746... Waiting for connections... Client connected to server. Waiting for commands... Received RunCommand with 1 changes Raw job took 651ms Command ran in 1679ms Waiting for commands... Received ReadCommand with 1 parameters Command ran in 1821ms Waiting for commands...

When debugging my apsim-server in Visual Studio, my arguments are -f C:/Users/fandy/Desktop/Yang/Yang/test.apsimx -v -k -n -r -a 0.0.0.0. 屏幕截图 2024-03-20 154308

I used the Apsim.Client as mentioned in the tutorial and successfully debugged it. After running, I could see the results in the debug interface. However, after reading, I am unable to obtain the results I saw. I only received a System.double, which is quite perplexing. 屏幕截图 2024-03-20 154408

What Operating System are you on?

Windows

peter-devoil commented 5 months ago

My apologies - I never committed changes made to the data exchange protocol. You'll see them eventually merged here. Let us know how you go.

d11638104 commented 5 months ago

My apologies - I never committed changes made to the data exchange protocol. You'll see them eventually merged here. Let us know how you go.

You are correct. I have tried numerous methods and carefully examined the source code of ApsimServer, and it has not been altered.