question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RangeError: Index out of range while scanning mp3 files with version 2.0.0

See original GitHub issue

Bug description While trying to scan a library of mp3 files, the following error occurs:

Uncaught (in promise) RangeError: Index out of range
    at checkOffset (buffer.js:977)
    at Buffer.readUInt32BE (buffer.js:1051)
    at Function.FrameParser.readData (FrameParser.js:131)
    at Function.ID3v2Parser.readFrameData (ID3v2Parser.js:97)
    at ID3v2Parser.parseMetadata (ID3v2Parser.js:200)
    at eval (ID3v2Parser.js:154)
    at <anonymous>

This error occurs on version 2.0.0. Scanning the same library with version 1.1.0 works without any issue.

Expected behavior The Files are scanned correctly without throwing any errors.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
quantumkvcommented, Jun 8, 2018

Works perfect with v2.0.1

0reactions
Borewitcommented, Jun 7, 2018

Fixed in v2.0.1.

Thanks for reporting, I consider the issue as fixed, confirmation would be great.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RangeError (index): Index out of range: no indices are valid: 0
When I'm trying to add list data to the widget RealAppcard of Text the list data is '${extractRooms[0]}' I'm getting this error RangeError...
Read more >
Index out of range: index should be less than 47959178 ...
Logs IndexError: RangeError (index): Index out of range: index should be less than 47959178: 47966680 #0 _Uint8ArrayView.
Read more >
FIX Flutter RangeError (index): Invalid Value: Only ... - YouTube
' RangeError ( index ): Invalid value: Valid value range is empty: 0' RangeError ( index ): Invalid value: Not in range 0..2, ......
Read more >
Light-O-Rama v5.1.4
Fixed a bug where an encrypted file from previous versions would not read in if it has groups or timings in it. Added...
Read more >
Version History: DVD Converter - VSO Software
[Bug] movie doesnt load with drag and drop or if added via file menu get list index out of bounds. 0013215. [Bug] Conversion...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found