Log in

View Full Version : No Extension Folder on SmartDashboard


CreativeName55
04-02-2015, 16:53
I'm trying to take our newly finished CV system, and run it through smartDashboard. When I put it in the extensions folder, I can only run SmartDashboard through command line, and when i do, it says "No Extension Folder". It works fine without our new jar in there. Anyone know of any basic reasons that could be causing this?

Ben Wolsieffer
04-02-2015, 17:13
Where is your extensions folder? This year it's location moved to HOME_FOLDER/SmartDashboard/extensions instead of in the same directory as the SmartDashboard.jar.

CreativeName55
04-02-2015, 18:36
Where is your extensions folder? This year it's location moved to HOME_FOLDER/SmartDashboard/extensions instead of in the same directory as the SmartDashboard.jar.

Sorry, you mean the folder is one deeper than last year? Ours is still the same setup as past years, where smartdashboard.jar is in the same folder as the extensions folder, meaning the widgets were a directory down from that

Ben Wolsieffer
04-02-2015, 18:41
Sorry, I didn't explain that very well. This year, the extensions belongs in "HOME_DIR/SmartDashboard/extensions", no matter where the jar is located. In the past, the extensions folder was always located in the same folder as the SmartDashboard.jar. Also, HOME_DIR refers to the user home directory (on Windows: C:\Users\<username>).

CreativeName55
04-02-2015, 20:56
"No Extension Folder
Feb 04, 2015 8:58:49 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Host: 10.27.29.2"

That's the exact error I get, only when our new cv system's jar is in extensions. If it's not, and the old one is, or wpijavacv, everything is fine. But that error appears if our new CV system is there. Do you happen to have any basic idea of the cause, without looking through the code?