Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeException on start #6

Open
matthiasg opened this issue Jul 8, 2015 · 6 comments
Open

TypeException on start #6

matthiasg opened this issue Jul 8, 2015 · 6 comments

Comments

@matthiasg
Copy link

Not sure windows is even supported but i get the following error when running ttystudio output.gif

TypeError: Cannot read property 'data' of undefined
    at GIFWriter.writeHead (C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\lib\gif.js:115:13)\lib\pty_win.js:55:9)
    at GIFWriter.write (C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\lib\gif.js:51:8)on (net.js:1191:8)
    at SGRWriter.write (C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\lib\writer.js:53:22)
    at compile (C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\bin\ttystudio:61:10)
    at C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\bin\ttystudio:93:12
    at process.done (C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\lib\record.js:92:7)
    at process.emit (events.js:117:20)
    at process.exit (node.js:711:17)
    at Object._onImmediate (C:\Users\mgt57_000\AppData\Roaming\npm\node_modules\ttystudio\node_modules\blessed\lib\widgets\screen.js:188:15)
    at processImmediate [as _immediateCallback] (timers.js:345:15)
@chjj
Copy link
Owner

chjj commented Jul 8, 2015

Windows is technically supported through winpty, but I personally don't maintain the windows aspect of pty.js. Did it build okay? I recommend running the pty.js tests and see what output you get. Then post an issue here: https://github.com/chjj/pty.js

@jfinstrom
Copy link

In linux I think this is the same

TypeError: value is out of bounds
    at TypeError (<anonymous>)
    at checkInt (buffer.js:784:11)
    at Buffer.writeUInt8 (buffer.js:794:5)
    at GIFWriter.write8 (/usr/lib/node_modules/ttystudio/lib/gif.js:82:7)
    at GIFWriter.writeFrame (/usr/lib/node_modules/ttystudio/lib/gif.js:196:12)
    at GIFWriter.write (/usr/lib/node_modules/ttystudio/lib/gif.js:61:10)
    at SGRWriter.write (/usr/lib/node_modules/ttystudio/lib/writer.js:53:22)
    at compile (/usr/lib/node_modules/ttystudio/bin/ttystudio:61:10)
    at /usr/lib/node_modules/ttystudio/bin/ttystudio:93:12
    at Screen.done (/usr/lib/node_modules/ttystudio/lib/record.js:93:7)

@jfinstrom
Copy link

Also may be the same as #10

@jfinstrom
Copy link

In lib/gif.js I did a console log of "ch" before line 82 and it gets "undefined" where it craps out.

@chjj
Copy link
Owner

chjj commented Jul 10, 2015

@jfinstrom, this is most likely a different issue. I'll keep it open until I can test on windows.

@chjj
Copy link
Owner

chjj commented Jul 14, 2015

Ah, the joys of windows. Install VS C++ 2010 Express - BSOD on boot. I'll try again with a new image some other time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants