Page 4 of 5

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 12:18 am
by DanielDC88
Well, since I run deluged from the same cli session as the first, I don't think so. Is there a way I could find out, or is that sure enough.

I put the credentials into the fstab file so it should be system-wide, right?

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 12:23 am
by Cas
This isn't anything to do with Deluge or libtorrent themselves. As Shryp said it's likely due to deluge running as a different user and group. Run this command to see details on deluge processes running:

Code: Select all

ps aux | grep deluge

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 12:29 am
by DanielDC88
ps aux | grep deluge:

Code: Select all

pi        5703  0.0  0.4   3548  1832 pts/1    S+   00:27   0:00 grep --color=auto deluge
pi        6586  4.7  4.9  59472 22172 ?        Sl   Sep06   2:51 /usr/bin/python /usr/local/bin/deluged
It appears to be running on the same user as suspected, so I find this is very strange indeed. Would network storage discriminate between requests made to it directly by the user, and applications ran by the user?

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 9:55 am
by Cas
No. How are you starting deluge? Using a service or manually? What are the permissions for '/storage'? `ls -ld /storage`

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 2:24 pm
by DanielDC88
Cas wrote:No. How are you starting deluge? Using a service or manually? What are the permissions for '/storage'? `ls -ld /storage`

Code: Select all

drwxrwxrwx 12 pi pi 0 Sep  7 00:39 storage
I'm afraid I don't know what that means.

I noticed people keep saying '/storage' when I just use 'cd storage' to get to it. Not sure if that's important

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 2:49 pm
by Cas
Then you have the wrong storage possible. the slash is very important (it means from root of filesystem) as cd storage will be relative to your current directory so likely your home folder (e.g. /home/pi/storage). You should really use absolute paths to ensure you are changing the right directory. http://www.howtogeek.com/117435/htg-exp ... explained/

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 2:54 pm
by DanielDC88
I've had a good look at all the settings related to this and have made sure they're consistent. They're all now in my home directory. Guess I was being a bit silly for not appreciating the difference.

I will run some tests. Try downloading a small torrent, check an existing downloaded torrent and stuff like that to make sure everything is working. One that doesn't appear to be working is deluge-console - it cannot connect to the local daemon.
Image

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Mon Sep 07, 2015 6:54 pm
by DanielDC88
I've left a 20GB torrent checking for about three hours now and it is around 2% done. The older version of Deluge was nowhere near this slow. Is this just the difference in version or a genuine issue?

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Sat Sep 12, 2015 3:39 pm
by DanielDC88
In the end I have switched to Transmission. This has fixed all the issues and means my internet is usable even when torrenting; deluge made my connection slow down and often overloaded my router.

Re: Error: Short Read on Raspberry Pi Torrent Box

Posted: Thu Oct 13, 2016 7:39 pm
by raspdealer
Hi there,

Same issue for me. I followed the guide here: http://dev.deluge-torrent.org/wiki/Building/libtorrent
After ages of make... I have this:

Code: Select all

pi@deluge ~/libtorrent-rasterbar-1.0.10 $ make -j 4
Making all in include/libtorrent
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-1.0.10/include/libtorrent'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-1.0.10/include/libtorrent'
Making all in src
make[1]: Entering directory '/home/pi/libtorrent-rasterbar-1.0.10/src'
  CXX      http_connection.lo
  CXX      http_parser.lo
  CXX      http_stream.lo
  CXX      http_seed_connection.lo
g++: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Makefile:889: recipe for target 'http_seed_connection.lo' failed
make[1]: *** [http_seed_connection.lo] Error 1
make[1]: *** Attente des tâches non terminées....
g++: internal compiler error: Processus arrêté (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Makefile:889: recipe for target 'http_connection.lo' failed
make[1]: *** [http_connection.lo] Error 1
/tmp/cc10mfOX.s: Messages de l'assembleur:
/tmp/cc10mfOX.s:614: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:643: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:680: Avertissement: swp{b} use is deprecated for ARMvshoul6 and ARMv7
/tmp/cc10mfOX.s:850: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:877: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:914: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
this message a looot and:

Code: Select all

/tmp/cc10mfOX.s:56772: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc10mfOX.s:56800: Avertissement: swp{b} use is deprecated for ARMv6 and ARMv7
make[1]: Leaving directory '/home/pi/libtorrent-rasterbar-1.0.10/src'
Makefile:621: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
What should I do?
Is there directly some deb package available for rpi2?
Thanks!!