Closed trexx closed 13 years ago
Hi, Thanks for letting me know! I haven't tested the plugin on the nightly builds so I will look into that is that is the reason no text is coming up. Have you had the plugin working before? The dialogue box you're seeing I think is the one that says something "Cannot connect. Would you like to check your settings?" so it is having trouble connecting. I haven't tested on 0.8.9 either, so I'll look into that if there are any connection problems there too. Are you able to send me your rtorrent config and settings you are using? I'll do my best to get this sorted for you.
The blank message issue has been fixed. I'll bundle that into an update soon. Now to look into your connection problems!
Thanks for looking in to it! Yes I did have it working previously, but I believe I updated XBMC and that may have been what killed it when they updated to Python 2.6. I don't think it could be rTorrent as system.client_version remains the same as ever. Those are just my assumptions.
rTorrent config: http://pastebin.com/7Bkg8qPe Regarding the plugins configurations I think the default should work: localhost:5000
I tested the plugin today with a bleeding edge xbmc build (June 24th) on Windows connecting to a Ubuntu box running rTorrent 0.8.9. I'll try to upgrade one of my linux boxes tomorrow to test. Will let you know if I can replicate it or not.
So it worked in the Windows bleeding edge? Baffled. Any errors with my config? SCGIMount /RPC2 127.0.0.1:5000 works fine in Apache for Transdroid on my phone. ruTorrent connects fine to directly to rTorrent via 127.0.0.1:5000.
I tried 127.0.0.1 in the plugin to no avail.
Update: Bah, I just loaded a VM with a nightly xbmc and rtorrent running in windows and it works fine. The problem must be something other than xbmc, rtorrent and your plug-in.
xmlrpc localhost:5000 system.client_version Failed. Call failed. libcurl failed to execute the HTTP POST transaction. Empty reply from server. (XML-RPC fault code -504)
Again baffled. When ruTorrent works and transdroid.
Yeh, I've updated my XBMC to the latest nightly on my Ubuntu box, although for it to play nicely I needed to update from Lucid to Maverick so that may have changed more things, but now it isn't working on my Ubuntu box (but still fine on my Windows one)! Consider the issue replicated! Now to figure out why... What linux distro and version are you running this on?
I think I may have discovered the problem, they seems to be a bug somewhere in the xmlrpc call and python > 2.4. For some reason only with localhost as the hostname. Can you confirm for me that typing 127.0.0.1 works instead of localhost. That config is working for me now... I'll will try to fix this and submit the addon once I have it working on both 10.1 and nightlies.
Sorry, I just re-read your 2nd reply again. I'll see if I can fix this problem that I've found, I'll post an update here for you to try as I think it may be related...
I'm running on Lucid Lynx 10.04.
Weird for it to work on windows when they both use Python 2.6 though?
I think your right.
xbmc@xbmc:~$ python xmlrpc2scgi.py -p scgi://localhost:5000 system.client_version
Traceback (most recent call last):
File "xmlrpc2scgi.py", line 235, in
xbmc@xbmc:~$ python xmlrpc2scgi.py -p scgi://127.0.0.1:5000 system.client_version 0.8.9
AH!
I tried 127.0.0.1 after purging xbmc and xbmc-bin, reinstalling and cleaning unnecessary dependencies left over from older versions and it WORKS! I'm sure it didn't work before but something must have been left behind during one of the updates.
I'm so happy. Still the issue remains as to where that extra ipaddress comes from. I blame IPv6.
Here we go? https://bugzilla.redhat.com/show_bug.cgi?id=496300 http://sources.redhat.com/bugzilla/show_bug.cgi?id=4980#c18
Commenting out line 90 does the trick as only the first address is used, the 2nd one is probably the result of the new behavour and IPV6.
Hey. Thanks for supplying the fix as well! I was about to start cracking into it. It's probably just as well you posted this bug, as I've been a bit lazy in making sure my plugins were eden-pre compatible. I'll release an update soon! Are there any other features you'd like to see in the plugin?
I just came across it as I was concerned the issue was with my set up and in a way it kinda is. Unlucky to have gotten effected by that bug I guess.
Nah man I love the plugin it does everything I need it to do.
Thanks.
XBMC Nightly - June 23 2011 rTorrent - 0.8.9 libTorrent - 0.12.9
Using this plugin with the above versions I get a dialogue box appear with the only text being Yes and No buttons. Selecting Yes brings up settings (which I'm sure are correct). Saving settings brings me back to the dialogue box. Selecting no returns me back to my programs list.