hydra-synth / atom-hydra

78 stars 29 forks source link

Uncaught Error: (regl) texture.subimage write out of bounds #17

Closed xrbl closed 2 years ago

xrbl commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64 Electron: 3.1.10 OS: Mac OS X 10.10.5 Thrown From: atom-hydra package 0.2.12

Stack Trace

Uncaught Error: (regl) texture.subimage write out of bounds

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

Error: (regl) texture.subimage write out of bounds
    at raise (/packages/atom-hydra/node_modules/regl/dist/regl.js:47:15)
    at check (/packages/atom-hydra/node_modules/regl/dist/regl.js:54:5)
    at Function.subimage (/packages/atom-hydra/node_modules/regl/dist/regl.js:3465:7)
    at HydraSource.tick (/packages/atom-hydra/node_modules/hydra-synth/src/hydra-source.js:77:18)
    at HydraSynth.tick (/packages/atom-hydra/node_modules/hydra-synth/index.js:311:17)
    at /packages/atom-hydra/lib/main.js:216:20)
    at Engine.emit (events.js:182:13)
    at Engine.tick (/packages/atom-hydra/node_modules/raf-loop/index.js:42:10)

Commands

     -3:33.8.0 atom-hydra:evalBlock (input.hidden-input)
     -2:44.1.0 atom-hydra:evalLine (input.hidden-input)
     -2:40.4.0 core:move-down (input.hidden-input)
  2x -2:39.1.0 atom-hydra:evalLine (input.hidden-input)
     -2:32.4.0 editor:newline (input.hidden-input)
  2x -2:31.3.0 core:move-up (input.hidden-input)
     -2:30.1.0 atom-hydra:evalBlock (input.hidden-input)
  3x -2:25.7.0 core:move-down (input.hidden-input)
     -2:24 atom-hydra:evalBlock (input.hidden-input)
     -2:21.5.0 core:move-up (input.hidden-input)
     -2:20.9.0 core:backspace (input.hidden-input)
     -2:20.3.0 atom-hydra:evalBlock (input.hidden-input)
     -0:25.3.0 core:paste (input.hidden-input)
  8x -0:12.6.0 core:move-left (input.hidden-input)
  2x -0:10.7.0 core:backspace (input.hidden-input)
     -0:05.5.0 atom-hydra:evalBlock (input.hidden-input)

Non-Core Packages

atom-hydra 0.2.12 

i was able to use an image with the same path 2 days ago and now this error is happening thanks

ojack commented 2 years ago

Hi, this is most likely 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, or ask in the hydra discord (https://discord.gg/uYfHh57s) for quicker replies :)