01-05-2019 03:38 PM
After this years install when starting driver station when smartdashboard or shuffboard are chosen as dashboard time it gives the error "Can not find script file 'C:\Users\<myusername>\Desktop\%Public%\frc2019\tools\SmartDashboard.vbs'
it is located under C:\Users\Public\frc2019\tools\SmartDashboard.vbs and I can start it manually, but it appears whatever code is launching it is not properly decoding the %public% environment variable properly. I looked for an ini file and the registry for this path, is there a way to fix this?
Solved! Go to Solution.
01-05-2019 08:56 PM
Hello Travis,
Thanks for pointing this out. I do see the same behavior:
It is indeed a known issue: Driver Station Dashboard launching.
Regards,
01-05-2019 10:28 PM
Aside from launching manually you can set it to launch default and update the ini file with this...
DashboardCmdLine = "wscript "C:\\Users\\Public\\frc2019\\tools\\SmartDashboard.vbs""
Default ini file is here...
C:\Users\Public\Documents\FRC\FRC DS Data Storage.ini
Found this with some help of an article from last year (I think)...
and a conversation on FRC discord channel and some testing. I'm sure you could do the same with Shuffleboard as well, just point it at the proper .vbs file for this year.
01-07-2019 12:59 PM
I tried the solution provided but I still have the same error.
01-13-2019 10:02 PM
- Lead Programmer for 6166
Hi, we have this same issue. Here is what we figured out: After you set the command above, in the DS where you choose the Dashboard Type, set it to 'Default'. That should open up (in our case) SmartDashboard. Leave it at Default and every time the DS is opened, your chosen Dashboard will open.
Of course, if you want to change your Dashboard to the Default one again, you'll have to change that command back to point at the actual Default Dashboard.