Code Monkey home page Code Monkey logo

wpilibinstaller's People

Contributors

calcmogul avatar peterjohnson avatar sciencewhiz avatar thadhouse avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wpilibinstaller's Issues

Wrong version in file name of 2019.3.2 installer

The installer inside the zip file of the 64bit Windows installer (WPILibInstaller_Windows64-2019.3.2.zip) is named WPILibInstaller_Full-Windows64-2019.1.1.exe. I did not try to install it using the installer so I don't know which version really gets installed.

Shuffleboard and Smartdashboard desktop icons are unnecessarily created

Shuffleboard and Smatdashboard icons are created when installation in finished, even if I chose not to install them in the installer.
Annotation 2019-09-10 135009
Annotation 2019-09-10 134838

I installed the program on a stationary PC just for programming, so I don't need them.

I guess that the VS Code is also always created, even if one just wants to install Shuffleboard and Smartdashboard?

I suppose that the desired behavior would be to only create shortcuts to programs that were installed.

Thanks!

ToolsUpdater.sh script on Mac

From @bradamiller on October 28, 2018 16:34

The line endings are in dos format on ToolsUpdater.sh on mac after decompressing and untaring the file. dos2unix is not available on macs by default. Also, realpath is missing. Rumor is we're considering switching to python or ruby. The installed versions with Mojave are:

python 2.7 (installed by default and you can get 3 with homebrew)
and ruby 2.3.7

Copied from original issue: wpilibsuite/vscode-wpilib#116

Missing smartdashboard.vbs and shuffleboard.vbs

So I am just trying to install the Smart Dashboard and Shuffle Board from the WPILib Suite. I get the desktop shortcuts but the frc2019/tools folder does not have the vbs files.

I checked Java/JDK and Tools on the install program. Is that all I need?

I have a Windows 10 64bit Dell computer

Integrated terminal PATH set incorrectly on Windows

After installing, on Windows the VS Code integrated terminal does not have the correct Java JDK in the path. The JAVA_HOME is set correctly, but running java -version fails to execute the correct java.exe.

There is a subtle error in settings.json:

  "terminal.integrated.env.windows": {
    "JAVA_HOME": "C:\\Users\\Public\\frc2019\\jdk",
    "PATH": "C:\\Users\\Public\\frc2019\\jdk\\bin:${env:PATH}"
  }

On Windows, the separator for PATH entries is semicolon (;), but a colon (:) is placed between the JDK bin directory and ${env:PATH}. Changing the semicolon to a colon fixes the issue.

  "terminal.integrated.env.windows": {
    "JAVA_HOME": "C:\\Users\\Public\\frc2019\\jdk",
    "PATH": "C:\\Users\\Public\\frc2019\\jdk\\bin;${env:PATH}"
  }

I think the defect is on line 179 of this file: https://github.com/wpilibsuite/WPILibInstaller/blob/master/DotNet/WPILibInstaller/MainForm.cs

Downloading VS Code without internet throws an Unhandled exception

If there is not internet connection and I push the button for "Select/Download VS Code" and then the "Download" button, I get an Unhandled exception dialog, saying "The remote name could not be resolved for vscode-update.asurewebsites.net".

OK, it's easy to figure out why I'm getting this error dialog, but maybe you should put up a different message.

Remove upgrade installer

The split can be confusing, and the space savings are not super great. In addition, maybe we need a mid season update with a C++ compiler or JDK update.

We should make the C++ and Java compilers have a smarter overwrite as well.

Installer occasionally fails with an unknown exception at the end of the install

Reported on teamforge topc1894

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.CompilerServices.System.Threading.Tasks477394.AsyncServices.<ThrowAsync>b__0(Object state)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WPILibInstaller
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/applecor/Downloads/WPILibInstaller_Full-Windows64_2019.1.1-beta-1.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/
System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.
Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.
dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/
System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.
dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3062.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.
Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.
0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.
dll
----------------------------------------

error 2 installing wpilib one click

frcvars.bat not found

image

When attempting to launch the "FRC Developer Command Prompt 2019", I get a complaint that frcvars.bat isn't found. Per the installation, the file gets renamed to frcvars2019.bat.

Add shortcuts to all accounts when installing to all users

Hi!
I recently installed the 2019 WPILib libraries on a Windows 64bit machine. I installed it using a non-admin account. For some reason, I was not able to find any shortcuts on the desktop. I also tried searching for the software in the start menu but with no success.
When I logged in using the admin account, all the shortcuts were there on the desktop.

P.S. It happened twice, on both a Windows 10 and a Windows 7 machine.

Thanks!

Aric Radzin,
Team Captain and Lead Programmer,
BumbleB 3339.

Canceling a VSCode download keeps the file lock

If you start downloading VSCode and then close the download pop-up window, the file lock is still held and a subsequent attempt to download VSCode without restarting the installer will throw a "cannot access the file" exception.

Linux .desktop files for the tools

Windows comes installed with the tools accessible using desktop shortcuts.
It would be nice in the 2021 installer to add the shortcuts to ~/.local/share/applications/frc so that they can be run from most "start menu" (equivalents).

Installer does not work on a base Windows 7 install

We used .NET 4.0 to ensure this wasn't a problem, so one of the later added dependencies must have caused this. We need to ensure the installer works on a base Windows 7 install.

Reported on teamforge topc1894

Handle when frcXXXX directory is in use

When installing with the installer, with anything in the frcXXXX using the JVM is in use, VSCode will fail. Selecting continue results in no progress on the progress bar.

image

Installer delay after clicking selecting "All Users"

It takes almost 10 seconds on a reasonably fast (3Ghz I7, SSD) machine for the auth dialog to appear. During this time it is easy to click the button multiple times, leading to multiple auth dialogs and some confusion.

At the very least disable the buttons after clicking to prevent the confusion -- pretty much every one of our students did this.

Not a major issue.

Searching Documentation (in ~/frc2019/documentation/java) returns 404

When you search documentation (by opening ~/frc2019/documentation/java/index.html in Chrome on a mac), you get (for example searching on Victor):
file:///Users/xxxxxxx/frc2019/documentation/java/undefined/edu/wpi/first/wpilibj/Victor.html

You should get:
file:///Users/xxxxxxx/frc2019/documentation/java/edu/wpi/first/wpilibj/Victor.html

Obviously a minor problem, but still a pain....

Create a WPILibInstaller Uninstaller

With each year being under wpilib/xxxx/, teams will probably want to remove old years installations at some point and deleting directories is menial.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.