Giter Club home page Giter Club logo

labjack_kipling's People

Contributors

calebneelco avatar chrisjohn404 avatar ggodlewski avatar gnorman7 avatar jdbrant3 avatar kasamuel avatar labjackadmin avatar markgilliland avatar maxfieldforsythe avatar rolsen avatar ryker-labjack avatar sampottinger avatar sjarman28 avatar wooldridgezander avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

labjack_kipling's Issues

Firmware Updater Bug

There is an issue in the Device Updater tab of Kipling when doing a local file firmware update. If there is an " _ " anywhere in the file path to the firmware image it will cause the update to fail.

It seems we are parsing out the firmware version number from the firmware image filename, and that information is used for a validation check. Information in the filename is separated by " _ ", so I think the issue is probably that the parser is using " _ " as a delimiter, and it is running through the entire file path rather than just the firmware filename.

ljswitchboard-package_loader: bad_zip_test

Failed to get bad_zip_test to work. Needed to change the package.json['name'] in test_extraction_data/ljswitchboard-static_files_bad_zip.zip while migrating to @labjack-scoped packages, but then the test would not complete. Perhaps it's something particular to the .zip.

The promise chain stopped in parse_with_yauzl.js. zipfile.on 'close' was getting called but not readStream.on 'end'.

Make deleting the K3 folder optional

When I run master branch Kipling, then run Electron Kipling, it hangs (no splash screen is visible). Error log:

I[2020-12-21T23:51:13.481Z main] NodeJS version: v12.16.3
I[2020-12-21T23:51:13.481Z main] Electron version: 10.1.5
I[2020-12-21T23:51:13.481Z main] Kipling version: 3.2.0
I[2020-12-21T23:51:13.481Z main] Kipling build: 421722571
I[2020-12-21T23:51:13.878Z ljswitchboard-electron_splash_screen] preload end
L[2020-12-21T23:51:13.930Z ljswitchboard-electron_splash_screen:file:///Applications/kipling.app/Contents/Resources/app/node_modules/ljswitchboard-electron_splash_screen/lib/index.js:64:9] window_manager {"_events":{},"_eventsCount":1,"options":{"allowWindowlessApp":false,"primaryWindowName":"main","gui
E[2020-12-21T23:51:13.933Z Object.<anonymous> (/Applications/kipling.app/Contents/Resources/app/lib/get_cwd.js:71:11)] Project was started via an un-known location (On Mac OS X)
L[2020-12-21T23:51:13.934Z main] cwd /
L[2020-12-21T23:51:13.934Z main] derivedCWD /Applications
L[2020-12-21T23:51:13.934Z main] execDir /Applications/kipling.app/Contents/MacOS
L[2020-12-21T23:51:13.935Z main] sys info {
L[2020-12-21T23:51:13.935Z main] Mac OS Not Supported (Yet) darwin darwin x64
L[2020-12-21T23:51:13.935Z main] Started project via: npm start
L[2020-12-21T23:51:14.014Z main] Core Req Check {
L[2020-12-21T23:51:14.015Z main] Re-Initialized Data: false
L[2020-12-21T23:51:14.015Z main] Loading Secondary Packages
L[2020-12-21T23:51:15.563Z main] Managed Packages [
L[2020-12-21T23:51:15.563Z main] openManagedApp static_files
L[2020-12-21T23:51:15.563Z main] openManagedApp io_manager
L[2020-12-21T23:51:15.563Z main] openManagedApp module_manager
L[2020-12-21T23:51:15.563Z main] openManagedApp kipling
I[2020-12-21T23:51:15.838Z kipling] preload end
L[2020-12-21T23:51:15.914Z kipling:file:///usr/local/share/LabJack/K3/ljswitchboard-kipling/lib/index.js:1:9] ljswitchboard-kipling index.js
L[2020-12-21T23:51:15.916Z kipling:file:///usr/local/share/LabJack/K3/ljswitchboard-kipling/lib/index.html:11:21] Loading Page Resources
L[2020-12-21T23:51:16.489Z main] Opening managed apps [
L[2020-12-21T23:51:16.489Z main] openManagedApp io_manager
L[2020-12-21T23:51:16.491Z main] isKiplingTester1 [
E[2020-12-21T23:51:16.491Z PackageLoader.getPackage (/Applications/kipling.app/Contents/Resources/app/node_modules/ljswitchboard-package_loader/lib/ljswitchboard-package_loader.js:242:12)] Package kipling_tester not found

No apparent Darwin Arm64 support (i.e. M1/M2 Mac)

Hi. I'm trying to install Kipling on an M1 mac and it appears that a fairly old version of Electron is being used. Normally wouldn't be an issue but 10.1.5 predates builds for the Darwin Arm64 architecture (i.e. M1/M2 Macs). Here's the output when running npm run setup . I attempted to brute force update to 11.0.0, but ran into other errors.


> [email protected] setup
> lerna bootstrap

lerna notice cli v3.22.0
lerna info versioning independent
lerna info Bootstrapping 30 packages
lerna info Installing external dependencies
lerna ERR! npm install --no-package-lock -f exited 1 in 'ljswitchboard-electron_main'
lerna ERR! npm install --no-package-lock -f stderr:
npm WARN using --force Recommended protections disabled.
npm ERR! code 1
npm ERR! path /Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v10.1.5/electron-v10.1.5-darwin-arm64.zip
npm ERR!     at EventEmitter.<anonymous> (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/got/source/as-stream.js:35:24)
npm ERR!     at EventEmitter.emit (node:events:513:28)
npm ERR!     at module.exports (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/got/source/get-response.js:22:10)
npm ERR!     at ClientRequest.handleResponse (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/got/source/request-as-event-emitter.js:155:5)
npm ERR!     at Object.onceWrapper (node:events:628:26)
npm ERR!     at ClientRequest.emit (node:events:525:35)
npm ERR!     at origin.emit (/Users/jmarkow/dev/labjack/labjack_kipling/ljswitchboard-electron_main/node_modules/@szmarczak/http-timer/source/index.js:37:11)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:688:27)
npm ERR!     at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
npm ERR!     at TLSSocket.socketOnData (node:_http_client:530:22)

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jmarkow/.npm/_logs/2023-01-17T21_25_42_711Z-debug-0.log

Surprise Removal Behavior

When a device is removed, Kipling will return to the connection page. It used to display an error and recover once the device is reconnected. When returning to the device selector page, the other tabs remain available.

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.