Closed GoogleCodeExporter closed 9 years ago
I forgot: I use nTorrent-bin-20071220
XMLRPC works fine (I've tested it with another GUI).
Original comment by ski...@gmail.com
on 26 Dec 2007 at 8:54
are you sure that rtorrent is compiled with xmlrpc-c 1.11? and can anyone else
confirm this problem? this error message usually only appears on xmlrpc-c
versions
that doesn't support i8.
Original comment by kei...@gmail.com
on 26 Dec 2007 at 7:27
the problem lies in theese two lines
//makes sure that server and client speak the same dialect.
Object[] params = {"apache"};
client.execute("xmlrpc_dialect", params);
at
http://ntorrent.googlecode.com/svn/tags/20071220-nTorrent-alpha.0.4-build.40/src
/org/heldig/ntorrent/io/xmlrpc/
in the folder http,local and ssh.
those lines are implemented to make sure that rtorrent and ntorrent both use
i8. but
i believe they are deprecated as of now and can be removed. so you can try it
out by
removing those lines and rebuilding from source. "ant run" in the source
package will
compile and run ntorrent. do this after you have removed the lines. and give
feedback
of your findings here.
Original comment by kei...@gmail.com
on 26 Dec 2007 at 7:35
Hello again,
I've compiled the modified source with "ant jar". I don't get any errors but the
application window is empty. I have no idea if I made a successful connection.
Regards
Original comment by ski...@gmail.com
on 28 Dec 2007 at 4:57
does java -jar jarfile print out any errors? and are you sure rtorrent is
compiled
with xmlrpc-c 11 headers and not old headers lying around in your system?
Original comment by kei...@gmail.com
on 28 Dec 2007 at 8:11
> does java -jar jarfile print out any errors?
Setting up socket server.
nTorrent-0.4.alpha (build 40)
Copyright (C) 2007 Kim Eik
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to
redistribute it under certain conditions.
Drawing gui
The authentication is complete
adding forwarding 127.0.0.1:48595 - my.rtorrent.server:5000
Connected to host running: rtorrent-0.7.9 / libtorrent-0.11.9
nTorrent-0.4.alpha (build 40)
Starting threads.
> and are you sure rtorrent is compiled with xmlrpc-c 11 headers and not old
headers
> lying around in your system?
Hmm, this is a good question. Let me check this...
Original comment by ski...@gmail.com
on 28 Dec 2007 at 8:24
[deleted comment]
I've purged all old libraries and recompiled rtorrent with latest xmlrpc-c
libraries.
Still not working.
Excerpt from log:
INFO: Channel 12 is open [ntorrent]
2007-12-28 22:20:54 com.sshtools.j2ssh.forwarding.ForwardingListener run
INFO: Forwarding channel for 'ntorrent' is open
Command error occurred, command was: d.multicall( main d.get_hash= d.get_up_tota
l= d.get_completed_bytes= d.get_down_rate= d.get_up_rate= d.get_state= d.get_mes
sage= d.get_priority= d.get_tied_to_file= d.get_peers_connected= d.get_peers_not
_connected= d.get_peers_complete= d.get_tracker_size= d.get_custom1= )
org.apache.xmlrpc.client.XmlRpcClientException: Failed to parse servers response
: Unknown type: i8
at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStr
eamTransport.java:177)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStre
amTransport.java:145)
at org.heldig.ntorrent.io.xmlrpc.XmlRpcSCGITransport.sendRequest(XmlRpcS
CGITransport.java:63)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorke
r.java:53)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
at org.heldig.ntorrent.io.xmlrpc.XmlRpcQueue.executeQueue(XmlRpcQueue.ja
va:98)
at org.heldig.ntorrent.io.xmlrpc.XmlRpcQueue.run(XmlRpcQueue.java:53)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: Unknown type: i8
at org.apache.xmlrpc.parser.RecursiveTypeParserImpl.startElement(Recursi
veTypeParserImpl.java:115)...
Original comment by ski...@gmail.com
on 28 Dec 2007 at 9:22
when making the pre-alpha version of ntorrent i had many issues when trying
different
xmlrpc-c versions. /usr/local/lib (think thats correct.) always had old xmlrpc-c
headers from earlier compiled and installed versions. had i had to manually
remove
them. if you have done this, then try to run both the official ntorrent jar and
your
own compiled jar. and post your error messages here.
Original comment by kei...@gmail.com
on 29 Dec 2007 at 10:38
The original ntorrent seems to work now! Probalby I had rtorrent compiled with
wrong
xmlrpc-c headers. Thanks for support. Problem solved.
Original comment by ski...@gmail.com
on 29 Dec 2007 at 10:44
Original comment by kei...@gmail.com
on 29 Dec 2007 at 11:38
Original comment by kei...@gmail.com
on 2 Mar 2008 at 11:52
Original issue reported on code.google.com by
ski...@gmail.com
on 26 Dec 2007 at 8:51