Advantage kit Network tables issue

I’m running into an issue when after building code and attempting to run the simulator with advantage kit. Here’s the error message popping up in the terminal

I am unsure of what a “server socket error” means in relation to network tables. Does it have to do with how I instantiated Advantage kit in Robot.java? Is it related to why the datalog can’t locate or create a wpilog file?
Robot.java:

Here’s a link to the code.

“Address already in use” means another NT server is running (either another robot program or some other NT application in server mode).

Re: logging, do the directories on that path exist? There seems to be a mix of Windows and Unix path separators (\ and /)… is this being run on Windows or Linux?

For the network tables issue, I closed out and restarted all wpilib vs code applications and solved that issue with NT.

For the directories issue, I’ve tried attempting to force it to use the “/” separator but to no avail. I’m trying to log it to a folder named “logging files”.

I’m on a windows OS. Does it require the other separator?

image
New console message:

It might, and/or it might require a C: to start the path.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.