max-mapper / max-mapper/stenographer

Error on run

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
34
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Thoughts?

$ cat you_got_it_2.wav | stenographer -t wav
/usr/local/lib/node_modules/stenographer/index.js:81
    cb(false, Math.floor(parseFloat(duration.toString())) + 1)
                                            ^

TypeError: Cannot read property 'toString' of undefined
    at ConcatStream.cb (/usr/local/lib/node_modules/stenographer/index.js:81:45)
    at ConcatStream.end (/usr/local/lib/node_modules/stenographer/node_modules/concat-stream/index.js:45:21)
    at Socket.onend (_stream_readable.js:490:10)
    at Socket.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at Socket.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
    at doNTCallback2 (node.js:452:9)
    at process._tickCallback (node.js:366:17)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the stenographer -t wav command and inspecting index.js at line 81, then trace the callback through the reported concat-stream path. The issue is resolved when this input no longer raises the reported TypeError and the behavior is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.