Manazius / blacksmith-bot

XMPP-бот
Apache License 2.0
1 stars 2 forks source link

Проблема с запуском blacksmith-bot #1

Open ion-lane opened 5 years ago

ion-lane commented 5 years ago

Подскажите пожалуйста, не запускается blacksmith-bot. Запускаю через python2.7, но основным в системе стоит 3.6. В консоли повторяется такое сообщение:

#python2.7 launcher.py
Connecting...

--> BOT STARTED

Checking PID...

Bot's PID: 3843

Loading extensions:

Commands in "xboltun" and "boltun" are repeated.

Loaded 92 BlackSmith extensions:
__talisman__, absurd, access, acclist, admin, afl-list, alarm, alive_keeper, antibot, antispace, ant
iwipe, autoroles, boltun, bomba, botstatus, bottle, calend, cipher, collect, commands, commoff, conf
ig, converter, cron, delirium, distance, dns, download, everywhere, features, get_iq, gismeteo, goog
le, greetex, greetz, help, holydays, info, interpreter, invite, isgd-shortener, kto, logger, macro,
macrokill, minecraft, more, most, mucacc, networktime, new_year, newjid, note, opros, order, ping, p
ingx, plugin, price, private, profile, quiz, quotes, raiting, recmd, regexp, remote-ctrl, resend, ro
ster, roulette, rss, send, servres, statconfs, status, superamoder, talkers, teeworlds, time, timer,
 trans, turn, urldetect, user_stats, userch, uto-shortener, vanguy, verification, vote, wtf, xboltun
, yandexmarket

There are not unloadable extensions!
Manazius commented 5 years ago

После этого что-то происходит?

ion-lane commented 5 years ago

Ничего не происходит. Это сообщение бесконечно повторяется каждые 5 секунд. Пропустил ещё одну строку, сразу после запуска пишет sh: svnversion: command not found

ion-lane commented 5 years ago

С подключением разобрался. Отключил в конфиге TLS. Теперь не может аутентифицировать пользователя. В консоли пишет Authentication plese wait...

В логах

Traceback (most recent call last): File "/root/blacksmith-bot-master/BlackSmith.py", line 1209, in main() File "/root/blacksmith-bot-master/BlackSmith.py", line 1185, in main Connect() File "/root/blacksmith-bot-master/BlackSmith.py", line 1097, in Connect AUTHENT = jClient.auth(USERNAME, PASSWORD, RESOURCE) File "library.zip/xmpp/client.py", line 249, in auth if auth.NonSASL(user, password, resource).PlugIn(self): File "library.zip/xmpp/plugin.py", line 47, in PlugIn return self.plugin(owner) File "library.zip/xmpp/auth.py", line 63, in plugin resp = owner.Dispatcher.SendAndWaitForResponse(Iq("get", NS_AUTH, payload=[Node("username", pay$ File "library.zip/xmpp/dispatcher.py", line 428, in SendAndWaitForResponse return self.WaitForResponse(self.send(stanza), timeout) File "library.zip/xmpp/dispatcher.py", line 411, in WaitForResponse if not self.Process(0.04): File "library.zip/xmpp/dispatcher.py", line 392, in dispatch handler["func"](session, stanza) File "library.zip/xmpp/dispatcher.py", line 292, in streamErrorHandler raise exc((name, text)) PolicyViolation: (u'policy-violation', u'\u0412\u044b \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u$

Адрес сервера, логин и пароль указал как в примере.

Manazius commented 1 year ago

Если вдруг ещё актуально, то напишите. Понятное дело, что прошло 4 года, но всякое бывает.

ion-lane commented 1 year ago

Уже не актуально. Не пользуюсь жаббером.