Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having problem with playing from url
#1
After a few seconds shows message: "Process suddenly died".
Show files gives:

error: 500

Traceback (most recent call last):
File "./blissflixx.py", line 95, in default
ret = call(**datadict)
File "/home/pi/blissflixx/lib/api/torrent.py", line 7, in files
return showmore(link).to_dict()
File "/home/pi/blissflixx/lib/chanutils/torrent/__init__.py", line 52, in showmore
files = torrent_files(link)
File "/home/pi/blissflixx/lib/chanutils/torrent/__init__.py", line 49, in torrent_files
return peerflix_metadata(torrent2magnet(link))
File "/home/pi/blissflixx/lib/chanutils/torrent/__init__.py", line 38, in peerflix_metadata
s = subprocess.check_output(["peerflix", link, "-l"], stdin=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['peerflix', u'magnet:?xt=urn:btih:33e244d712851b2882ca05d9d0152e91f7f4aadc&dn=xxxxxxf_torr_idx=-1', '-l']' returned non-zero exit status 8
Reply
#2
(05-07-2016, 11:10 PM)Jura_Stublic Wrote: Forgot to mention - using jesse on raspberry pi 3
Reply
#3
It looks like your magnet link is not correct - the bit that says dn=xxxxxxx is not valid. Try just pasting the following link:

magnet:?xt=urn:btih:33e244d712851b2882ca05d9d0152e91f7f4aadc
Reply
#4
I changed it, ( because they are long ) tried with several magnet links all with the same results. Probably why yts and other pluggins don't work ether.
Reply
#5
OK try running peerflix directly from the command line. So open a terminal window and run:

Code:
peerflix magnet:?xt=urn:btih:33e244d712851b2882ca05d9d0152e91f7f4aadc

Do you see any errors or does it seem to be working?
Reply
#6
It doesn't work. The error is:

/usr/local/lib/node_modules/peerflix/node_modules/torrent-stream/node_modules/fs-chunk-store/node_modules/path-exists/index.js:2
const fs = require('fs');
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/peerflix/node_modules/torrent-stream/node_modules/fs-chunk-store/index.js:8:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
Reply
#7
I know the problem. Am looking at fixing this as soon as possible...
Reply
#8
OK this is a breaking change in Peerflix submodule. I will try to get the author to fix it. In the meantime you can manually go back to the old version by doing the following steps:

Code:
cd /usr/local/lib/node_modules/peerflix/node_modul
es/torrent-stream/node_modules/fs-chunk-store

Note: the above should be all one command.

Now open the package.json file using your favourite editer e.g:

Code:
sudo vi package.json

Note: make sure you run your editor using sudo

Now change the line:


Code:
"path-exists": "^3.0.0",

to the following:

Code:
"path-exists": "2.1.0",

Now save the file and exit from your editor.

Finally run:
Code:
sudo npm install

It should now all work. 
Reply
#9
This has now been properly fixed in the peerflix submodule.
Reply
#10
It is working flawlessly now, Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)