Bot just gives help, nothing else

0 views
Skip to first unread message

Juan Escobar

unread,
Jun 14, 2009, 12:57:17 AM6/14/09
to torrent-bot-users
No other command but help works. I've set bot_config.py as directed in
the readme. Maybe it's because i haven't set up my username and
password for the rpc server? if so, how do i do it? thanks.

Nathan Stehr

unread,
Jun 14, 2009, 10:26:12 AM6/14/09
to torrent-...@googlegroups.com
What version of transmission and what version of torrent-bot are you
using? I've tested the latest torrent-bot against versions 1.51, 1.6
and 1.7 of transmission and every command works.

Currently, the bot has no way of using your rpc server's username and
password. When I've run transmission, I don't set any user/password
on my rpc server, so there is no authentication code in the bot. So,
I think this might be your problem. For now, you could try removing
the username/password from your rpc server and see if the bot works.
If this is the case, you should create an issue for torrent-bot
indicating that it should try to authenticate against the rpc server
if credentials are supplied.

Nathan

Juan Escobar

unread,
Jun 14, 2009, 7:28:35 PM6/14/09
to torrent-bot-users
I'm using transmission 1.71

java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)
OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)

This happens on a ubuntu jaunty server machine.

Linux subterraneo 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10
UTC 2009 i686

I've set up "rpc-authentication-required": false, and emptied username
and pass, but the behavior prevails. :(

I'm sure i'm using the latest bot, the one with the fix, don't know
where to look for version number, jython.jar has july 4 as date.
Also, how do i quit? currently, i have to kill it via screen.

Nathan Stehr

unread,
Jun 14, 2009, 7:36:44 PM6/14/09
to torrent-...@googlegroups.com

Interesting.... I have an ubuntu machine so I'll try to reproduce your setup and see if I can reproduce your issue. 
I don't really have a way to formally quit the program, I usually just kill it using ctrl-c or kill.

--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subs...

Nathan

unread,
Jun 14, 2009, 8:24:26 PM6/14/09
to torrent-bot-users
Ok, so this is my setup now:

-Transmission 1.71 built from source, running daemon version
-Ubuntu Jaunty Desktop: Linux freedom 2.6.28-11-generic #42-Ubuntu
SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
-Latest zip of torrent-bot (1.0.2)
-Copy of my settings.json:
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "\/home\/username\/Desktop",
"encryption": 1,
"lazy-bitfield-enabled": true,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 2,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 2.0000,
"ratio-limit-enabled": false,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password":
"{43b2d7c3576cc862a7742f5175c82089004a5410iSSMThp6",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1,192.168.1.101",
"rpc-whitelist-enabled": true,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"upload-slots-per-torrent": 14

java version "1.5.0_18"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)



Everything is working fine with the above setup. I was able to
add,delete, and get info on the torrents and clients via torrent-
bot.
One thing I think might be an issue is the ip/rpc-port number of your
transmission client. Right now, I have 'localhost' and port 9091
hardcoded in my connection code, so if you are using a different port,
it would not be able to connect to your transmission client. The one
way you could fix this is go into the code found in the following
file:

/path/to/bot/python-transmission/python-transmission/
transmissionClient/transmissionClient.py

and replace every instance of 9091 with the port you are using. Or
you get change the port in settings.json to 9091, but I'm assuming if
this is the problem, you've changed that number for a reason :).

Hope this helps

Nathan

On Jun 14, 7:36 pm, Nathan Stehr <nst...@gmail.com> wrote:
> Interesting.... I have an ubuntu machine so I'll try to reproduce your setup
> and see if I can reproduce your issue.
> I don't really have a way to formally quit the program, I usually just kill
> it using ctrl-c or kill.
>

Juan Escobar

unread,
Jun 15, 2009, 4:55:09 PM6/15/09
to torrent-bot-users
Hi.
I´m using T with the default port. I uploaded a pic i took of my bot
conversation so you can see how it behaves. I don´t know, maybe i´m
doing something wrong?
You used Java 1.5, but i´m using openjdk, wich iirc is based on java
1.6. Please try that.
Reply all
Reply to author
Forward
0 new messages