Git Product home page Git Product logo

atom-wpilib's People

Contributors

eschutz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

atom-wpilib's Issues

Outdated version of GradleRIO

Last year I was unable to maintain atom-wpilib due to school, and so it hasn't changed in about seven months. This has resulted in its version of GradleRIO becoming outdated, which is a problem as it has undergone some significant changes in that time.

When I was first working on atom-wpilib, GradleRIO had hard-coded settings and did not read from a configuration file by default, meaning I had to make some changes to it to amend this so that it could interface with Atom more easily. Since then, Jaci has added a config file to GradleRIO which means that this change was obselete. I also now realise I did not include the appropriate open source acknowledgements as I included a modified version of GradleRIO. I apologise to Jaci and the GradleRIO contributors for this โ€“ the modified version will be removed in the coming update.

To amend this I plan to implement something similar to the example update system to pull the latest version of GradleRIO and interface with the included config file, instead of implementing my own. This also means that projects generated by atom-wpilib will play nice with other editors.

Unfortunately some features will be removed (setting the Java and C++ library locations, dependency versions, and RoboRIO IP from within Atom), however this will greatly enhance forwards compatibility.

Due to these changes, the following functions
Work:

  • Building projects and opening shuffleboard etc. should still work on new and existing projects
  • Viewing examples

Don't Work:

  • Project generation works in that a project is generated from the latest available templates, however this involves an outdated version of GradleRIO

Uncaught TypeError: Path must be a string. Received undefined

[Enter steps to reproduce:]

  1. Clicked install

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Education
Thrown From: atom-wpilib package 0.1.1

Stack Trace

Uncaught TypeError: Path must be a string. Received undefined

At path.js:28

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.join (path.js:501:7)
    at /packages/atom-wpilib/lib/atom-wpilib.js:76:25)
    at /packages/atom-wpilib/lib/atom-wpilib.js:274:2)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:146684)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:150231)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:641362)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3029314)
    at Package.activateConfig (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:3018673)
    at PackageManager.t.exports.PackageManager.packageHasSettings (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:892672)
    at PackageCard.hasSettings (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2932592)
    at PackageCard.updateSettingsState (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2922872)
    at PackageCard.updateInterfaceState (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2922695)
    at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2930825
    at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:2932843
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
    at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
    at PackageManager.t.exports.PackageManager.emitPackageEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:901852)
    at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:899261
    at r (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:893791)
    at o (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1032547)
    at ChildProcess.n.process.on.e (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1032753)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

Commands

     -1:30.5.0 core:copy (input.hidden-input)
  2x -1:30.2.0 core:paste (input.hidden-input)
  2x -1:27.3.0 core:delete (input.hidden-input)
     -1:02.2.0 core:save (input.hidden-input)
     -0:42.5.0 diagnostics:toggle-table (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

atom-ide-ui 0.13.0 
atom-wpilib 0.1.1 
busy-signal 2.0.0 
file-icons 2.1.27 
ide-java 0.8.3 

Uncaught TypeError: Cannot read property 'nodeName' of undefined

Having another issue, not sure if it is related:

  1. Ran build robot code from packages menu.
  2. Running it again doesn't trigger the error but still doesn't build.

C:\Users\62820\AppData\Local\atom\app-1.34.0\resources\app only has an apm folder.
Builds in visual studio word fine.

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Education
Thrown From: atom-wpilib package 0.1.2

Stack Trace

Uncaught TypeError: Cannot read property 'nodeName' of undefined

At C:\Users\62820\AppData\Local\atom\app-1.34.0\resources\app\static\<embedded>:11

TypeError: Cannot read property 'nodeName' of undefined
    at CommandLogger.t.exports.CommandLogger.logCommand (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:877750)
    at ~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:877072
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1172318)
    at Emitter.emit (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:1173759)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:349649)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:348492)
    at refreshBuild (/packages/atom-wpilib/lib/atom-wpilib.js:125:30)
    at HTMLElement.wpilibBuild (/packages/atom-wpilib/lib/atom-wpilib.js:134:29)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:350017)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:348492)
    at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:671034)
    at EventEmitter.t (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:678418)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands

     -0:03.9.0 wpilib:build (atom-pane.pane)

Non-Core Packages

atom-wpilib 0.1.2 
build 0.70.0 
busy-signal 2.0.0 

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.