Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   No Extension Folder on SmartDashboard (http://www.chiefdelphi.com/forums/showthread.php?t=133982)

CreativeName55 04-02-2015 16:53

No Extension Folder on SmartDashboard
 
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

Re: No Extension Folder on SmartDashboard
 
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

Re: No Extension Folder on SmartDashboard
 
Quote:

Originally Posted by lopsided98 (Post 1438366)
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

Re: No Extension Folder on SmartDashboard
 
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

Re: No Extension Folder on SmartDashboard
 
"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?


All times are GMT -5. The time now is 10:56.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi