I am trying to run Shuffleboard on my Mac (so I can display a dashboard while running the simulator). I type "python3 Shuffleboard.py from the wpilib/2023/tools folder and it seems to start initializing correctly, but it gets as far as “Loading CameraServer plugin”, then it pauses for 14 seconds, and then closes with out any error messages.
I have WPILIB 2023.4.3 installed on my Mac, which is running MacOS Ventura 13.2.
If I edit Shuffleboard.py to wait 40 seconds instead of 3 seconds for an error message, I get this error message:
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @29428716'
NT: starting network client
Exception in Application init method
If I type …/jdk/bin/java -version from the tools directory, I get this:
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)
I have tried rebooting my Mac. This did not help.
I tried reinstalling WPILIB. This did not help.
Any suggestions for what to try next?
Thanks! I was looking for log files and could not find them. Looking at the log files, it looks like I am getting this error:
Caused by: java.lang.IllegalArgumentException: Component class edu.wpi.first.shuffleboard.api.widget.WidgetType$1 is already registered
In fact, looking in the log files, I see a successful start of shuffleboard on Feb. 27, 2022, but then several failed attempts to start shuffleboard with that same “already registered” on Feb. 28, 2022, on Jan 9, 2023, and today.
Thanks a lot! I do remember now that one of our programmers was experimenting with creating a custom plugin for Shuffleboard in 2022. I assume that this was the result of trying to install that plugin on this Mac.
Anyway, I removed all files from the plugins folder and that eliminated the problem. Shuffleboard now runs on this Mac.