hydra-synth / atom-hydra

78 stars 29 forks source link

Uncaught Error: (regl) bad data or missing for uniform "speed2". invalid type, expected number i... #44

Closed melodyloveless closed 2 years ago

melodyloveless commented 2 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64 Electron: 9.4.4 OS: Mac OS X 10.14.6 Thrown From: atom-hydra package 0.3.2

Stack Trace

Uncaught Error: (regl) bad data or missing for uniform "speed2". invalid type, expected number in command /Users/professorloveless/.atom/packages/atom-hydra/node_modules/hydra-synth/src/output.js:104:20

At /Users/professorloveless/.atom/packages/atom-hydra/node_modules/regl/dist/regl.js:49

Error: (regl) bad data or missing for uniform "speed2".  invalid type, expected number in command /Users/professorloveless/.atom/packages/atom-hydra/node_modules/hydra-synth/src/output.js:104:20
    at raise (/packages/atom-hydra/node_modules/regl/dist/regl.js:47:15)
    at Function.commandRaise (/packages/atom-hydra/node_modules/regl/dist/regl.js:402:3)
    at Output.draw (/packages/atom-hydra/node_modules/regl/dist/regl.js:5897:25), <anonymous>:351:34)
    at /packages/atom-hydra/node_modules/regl/dist/regl.js:9991:21)
    at Output.tick (/packages/atom-hydra/node_modules/hydra-synth/src/output.js:120:8)
    at HydraRenderer.tick (/packages/atom-hydra/node_modules/hydra-synth/hydra-synth.js:396:19)
    at /packages/atom-hydra/lib/main.js:226:20)
    at Engine.emit (events.js:223:5)
    at Engine.tick (/packages/atom-hydra/node_modules/raf-loop/index.js:42:10)

Commands

     -0:39.2.0 atom-hydra:toggle (input.hidden-input)
  5x -0:37.8.0 atom-hydra:evalBlock (input.hidden-input)
  2x -0:28.7.0 core:backspace (input.hidden-input)
     -0:27.6.0 atom-hydra:evalBlock (input.hidden-input)
     -0:26.3.0 core:move-down (input.hidden-input)
     -0:25.9.0 core:move-right (input.hidden-input)
     -0:24.9.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-hydra 0.3.2 
atom-live-server 2.3.0 
atom-sonic 0.3.2 
color-picker 2.3.0 
foxdot 1.3.0 
local-web-server 0.1.0 
markdown-pdf 2.3.3 
moonbeam-syntax 0.8.2 
sb-atom-sonic-pi 1.0.0-beta.3 
seti-syntax 1.2.0 
tidalcycles 3.16.14 
melodyloveless commented 2 years ago

I'm not sure if I'm doing something wrong (checking my syntax now) but thought I'd submit this since the package suggested to

ojack commented 2 years ago

Hi, this is usually an error with your hydra code, rather than the package. (atom suggests reporting by default) I will close the issue, but feel free to paste your code here for troubleshooting :)

melodyloveless commented 2 years ago

Ah I see - thank you for letting me know! I already lost/changed this code šŸ˜… but I'll share it next time (if it happens again) Thanks again

On Tue, Oct 12, 2021 at 8:05 AM Olivia Jack @.***> wrote:

Hi, this is usually an error with your hydra code, rather than the package. (atom suggests reporting by default) I will close the issue, but feel free to paste your code here for troubleshooting :)

ā€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ojack/atom-hydra/issues/44#issuecomment-940949152, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJITG7PBQKVST6VUYTFOADUGQQAZANCNFSM5E6CEYZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.