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

Error: Invalid data: Missing delimiter ":" [0x3a] #995

Closed
ibocon opened this issue Dec 10, 2016 · 3 comments
Closed

Error: Invalid data: Missing delimiter ":" [0x3a] #995

ibocon opened this issue Dec 10, 2016 · 3 comments

Comments

@ibocon
Copy link

@ibocon ibocon commented Dec 10, 2016

Hardware: Raspberry Pi 2
Operating System: Ubuntu 16.04 LTS
Nodejs: v6.9.2
WebTorrent: v1.0.5
Aplication: MEAN stack
Source Code: https://github.com/ibocon/project-Myblog

I am trying to download video by using Web-Torrent.

My code is working perfectly on Windows 7.
However, my code does not working when I run on Ubuntu.

This is error stack,

/home/gun/project-Myblog/animation/src/update.js:168
        if(err) throw err;
                ^

Error: Invalid data: Missing delimiter ":" [0x3a]
    at Function.decode.find (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:61:9)
    at Function.decode.buffer (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:106:20)
    at Function.decode.dictionary (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:74:17)
    at Function.decode.next (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:41:21)
    at Function.decode.dictionary (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:74:36)
    at Function.decode.next (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:41:21)
    at Object.decode (/home/gun/project-Myblog/animation/node_modules/bencode/lib/decode.js:30:17)
    at decodeTorrentFile (/home/gun/project-Myblog/animation/node_modules/parse-torrent-file/index.js:17:23)
    at parseTorrent (/home/gun/project-Myblog/animation/node_modules/parse-torrent/index.js:32:12)
    at parseOrThrow (/home/gun/project-Myblog/animation/node_modules/parse-torrent/index.js:89:23)
    at /home/gun/project-Myblog/animation/node_modules/parse-torrent/index.js:79:7
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:445:3)

I guess my code does not matter. Because it works on Windows 7.
Thus, I have no idea why it does not working on Ubuntu.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 13, 2016

I would think it's more related to Bencode/NodeJS on ARM.

Have you tried other Node versions? Maybe 4 or 7

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jan 18, 2017

I'm closing this issue because it's been a while without a response from the issue opener. It's not possible to debug this issue without additional information. If this is still an issue, please leave a comment or open a new issue.

@feross feross closed this Jan 18, 2017
@tobq

This comment has been minimized.

Copy link

@tobq tobq commented Jun 2, 2017

Just ran into this issue.. I'm not on an ARM CPU, and am running the latest version of node--windows 10.

@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.