Code Monkey home page Code Monkey logo

torrent-mount's Issues

Can't stop with ctrl+c

As per my previous ticket, I'm unable up stop with break command, ctrl+c. I'm on latest Mac OS.

where do the downloaded files go?

I downloaded it in a directory.
After downloading it hung there.
Doing ctrl-c gave the mesage "shutting down..." and the process exited. there were no files on disk.

Cannot get example magnet link to mount

I installed OSXFuse and installed the torrent-mount package correctly with no issues, but cannot for the life of me get the package to work :( any help would be appreciated!

screen shot 2014-04-27 at 5 49 55 pm

Cannot mount single-file torrents

torrent-mount seems to work fine with torrents that are directories, but not with torrents that are single files. For example,

$ torrent-mount ubuntu-14.04-desktop-i386.iso.torrent
Mounted 1 files, 970 MB in ubuntu-14.04-desktop-i386.iso
Connected to 10/14 peers
Downloaded 1.8 MB (329.6 kB/s) with 0 hotswaps
Uploaded 0 Bytes (0 b/s)
$ ls ubuntu-14.04-desktop-i386.iso
ls: cannot access ubuntu-14.04-desktop-i386.iso: Input/output error

stating the files blocks

Hey there,

when I torrent-mount a torrent file or a magnet link into my fs, any stat(2) on the mounted files blocks indefinitely meaning I can't do even a ls -l without my term freezing.

$ uname -sr
Linux 3.11.0-20-generic
$ npm --version
1.3.10
$ node --version
v0.10.25

Making torrent-mount private tracker friendly using the opts argument of torrentStream

Using the opts argument of torrent-stream could make much more options available and would be really handy for using with private trackers:

  1. Disabling DHT (many private trackers don't like DHT).
  2. Setting up a different peer ID (It's possible with opts.id, however it's not documented)

Both could help the usage on private trackers.

Use case:

One would think that using a streaming torrent engine on a private tracker is not so smart anyway. However using with the --lazy option one could peek into files' metadata without consuming too much bandwidth. For example one could run mkvinfo or ffmpeg -i on some files and get the correct specs of these files and it would download only the necessary chunks.

It already works for public trackers and it's really useful.

Cannot mount anything on Windows

Hi!

After a lot of pain installing Dokan and this package (thanks to node-gyp and Visual Studio) i've managed to get it installed.

But i'm having problems trying to mount any torrent.

I've tried with the official ubuntu torrent:
torrent-mount http://releases.ubuntu.com/17.04/ubuntu-17.04-desktop-amd64.iso.torrent?_ga=2.201313838.1444046672.1496681511-1926335291.1496681511

But it always stop on:
Initializing swarm and verifying data...

What i need to do?

installation problem on MacOS Yosemite

before I install fuse and pkg-config
log after executing npm install -g torrent-mount

sudo npm install -g torrent-mount
Password:
Sorry, try again.
Password:

> [email protected] install /usr/local/lib/node_modules/torrent-mount/node_modules/fuse4js
> node-gyp rebuild

  CXX(target) Release/obj.target/fuse4js/fuse4js.o
../fuse4js.cc:368:36: warning: missing field 'readlink' initializer [-Wmissing-field-initializers]
  struct fuse_operations ops = { 0 };
                                   ^
1 warning generated.
  SOLINK_MODULE(target) Release/fuse4js.node
ld: library not found for -losxfuse
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/fuse4js.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/torrent-mount/node_modules/fuse4js
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the fuse4js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls fuse4js
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "torrent-mount"
npm ERR! cwd /Users/XXXX
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Super require

Can't stop wodering about mounting the whole npm ecosistem in node_modules!
Mad mad science ;)

Does not install

Getting this error. Can't install in Ubuntu or Windows.

Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
gyp: Call to 'pkg-config --libs-only-l fuse' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.13.0-35-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/torrent-mount/node_modules/fuse4js
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! weird error 1

Doesn't seem to grab any magnet link…

Hey there,

Whatever magnet link I use (the one in your README, or magnets from http://wikileaks.org/magnet.txt for instance), I don't get anything.

Running DEBUG=* torrent-mount magnet:… commands always ends up spewing no replies:

  bittorrent-dht No DHT nodes replied, retry with bootstrap nodes +0ms
  bittorrent-dht No DHT nodes replied, retry with bootstrap nodes +5s
  bittorrent-dht No DHT nodes replied, retry with bootstrap nodes +5s
  bittorrent-dht No DHT nodes replied, retry with bootstrap nodes +5s
…

I'm on OSX Mavericks running the latest OSXFUSE (downloaded from your README, version 2.6.4). My Homebrew states pkg-config is up-to-date as well (0.28).

Any idea?

Thanks!

Move to fuse-bindings?

I have tried torrent-mount a few times but could not get working because of fuse4js. Now with all the work you have done for fuse-bindings just wondering when you might switch to using that module?

No files are mounted

When I initiate a download of the example file I see this:

Initializing swarm and verifying data...
Mounted 2 files, 541.3MB in star-wreck-in-the-pirkinning
Connected to 12/13 peers
Downloaded 14.9 MB (82.1 kB/s) with 0 hotswaps
Uploaded 0 Bytes (0 b/s)

However the mounted directoy is empty both during and after complete download:

$ ll star-wreck-in-the-pirkinning/
total 8
drwxr-xr-x  2 munter munter 4096 Apr 28 22:36 ./
drwxr-xr-x 73 munter munter 4096 Apr 28 22:36 ../

I'm using Linux Mint:

Linux pollex 3.10.0-031000rc5-generic #201306082135 SMP Sun Jun 9 01:36:22 UTC 2013 x86_64 GNU/Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.