Discussion:
[Libtorrent-devel] lastest git
Robert Henney
11 years ago
Permalink
I get this when compiling the lasted rtorrent/libtorrent from git:

peer_list.cc: In destructor 'torrent::PeerList::~PeerList()':
peer_list.cc:102:3: error: expected ')' before 'PRIi64'
peer_list.cc: In member function 'torrent::PeerInfo* torrent::PeerList::insert_address(const sockaddr*, int)':
peer_list.cc:136:5: error: expected ')' before 'PRIu16'
peer_list.cc:151:5: error: expected ')' before 'PRIu16'
peer_list.cc:154:5: error: expected ')' before 'PRIu16'
peer_list.cc: In member function 'uint32_t torrent::PeerList::insert_available(const void*)':
peer_list.cc:235:3: error: expected ')' before 'PRIu32'
Jari Sundell
11 years ago
Permalink
Should be fixed now.

Jari Sundell
Post by Robert Henney
peer_list.cc:102:3: error: expected ')' before 'PRIi64'
peer_list.cc:136:5: error: expected ')' before 'PRIu16'
peer_list.cc:151:5: error: expected ')' before 'PRIu16'
peer_list.cc:154:5: error: expected ')' before 'PRIu16'
peer_list.cc:235:3: error: expected ')' before 'PRIu32'
_______________________________________________
Libtorrent-devel mailing list
http://rakshasa.no/mailman/listinfo/libtorrent-devel
Steven Adams
11 years ago
Permalink
Hi All,

I've been using rtorrent for a fairly long time now. I've just started
getting some strange errors after a download completes as shown below.

( 2:51:41) Event 'event.download.finished' failed:
ExecFile::execute(...) Fork failed.
( 2:51:41) Event 'event.download.finished' failed:
ExecFile::execute(...) Fork failed.


As you can see below in my config I execute a bash script upon the
completion of a download. For some strange reason it's failing to call
that script.

I've been racking my brain trying to figure out whats wrong, I've
disabled selinux and all the other things that could possibly stop the
fork.. Any ideas where i can look or get a more detailed debug?

=============
#custom commands
system.method.insert =
move_complete_cmd,simple,"execute=/home/media/bin/add.sh,$d.get_base_path=;print=\"Adding:
\",$d.get_name=;d.set_custom4="

#action events
system.method.set_key =
event.download.finished,move_complete,"branch=d.get_custom4=,move_complete_cmd="
system.method.set_key = event.download.finished,set_done_var,d.set_custom2=
system.method.set_key =
event.download.erased,rm_files,"branch=d.get_custom2=,\"execute={rm,-rf,--,$d.get_base_path=}\""
=================
Goran
11 years ago
Permalink
On Thu, 06 Feb 2014 20:09:16 +1100
Steven Adams <***@gmail.com> wrote:

Hello.
Post by Steven Adams
I've been using rtorrent for a fairly long time now. I've just started
getting some strange errors after a download completes as shown below.
ExecFile::execute(...) Fork failed.
ExecFile::execute(...) Fork failed.
Either add printing of errno/strerror to this part of the
code or use a tool like strace/truss/tusc to see what errno
is set.

In general this is due to out fo memory condition or limits
exceeded.

Regards,
G.

Loading...