ejabberd - Comments for "syntax error line 235 neutron.py" https://www.ejabberd.im/node/1227 en Try 5223, but better to have SASL on the server. https://www.ejabberd.im/node/1227#comment-2727 <div class="quote-msg"> <div class="quote-author"><em>bve</em> wrote:</div> <p>results in output which shows SASL auth failure:</p> <pre> DEBUG: sasl error Failed SASL authentification: </pre><p>Can I change the authentication method in neutron?</p></div> <p>Maybe putting PORT=5223 on config.txt Neutron will use the old and deprecated SSL.</p> <p>However, the XMPP way of connecting is STARTTLS+SASL, and Wildfire certainly supports that. </p> <p>You probably want to have STARTTLS+SASL for the future. Maybe you disabled that authentication method on the server, or are using an older version?</p> Wed, 13 Dec 2006 10:38:13 +0000 mfoss comment 2727 at https://www.ejabberd.im modified version https://www.ejabberd.im/node/1227#comment-2726 <p>Thanks, I had actually tested the acct with gaim and can connect.</p> <p>Your version produces the same 'eek' result, and looking at the code I can tell it is an authentication failure.</p> <p>setting debug=1 in line 445</p> <pre> 445 JCON = xmpp.Client(server=SERVER, port=PORT, debug=1) </pre><p>results in output which shows SASL auth failure:</p> <pre> DEBUG: sasl error Failed SASL authentification: </pre><p>Can I change the authentication method in neutron?</p> Wed, 13 Dec 2006 01:43:02 +0000 bve comment 2726 at https://www.ejabberd.im Try this modified version https://www.ejabberd.im/node/1227#comment-2724 <div class="quote-msg"> <div class="quote-author"><em>bve</em> wrote:</div> <p>upon executing ./neutron.py I recieve the following error:</p> <pre> ./neutron.py File "./neutron.py", line 235 else: ^ SyntaxError: invalid syntax </pre><p> When I look at the source I see nothing obvious, however I am a relative newbie to python, experience with other languages. </p></div> <p>I'm newbie to python too, but as you pointed, it seems a tab indentation problem. When I fixed all the mistakes I could find, Neutron works again, or at least it connects:</p> <pre>... Plugin: userinfo_plugin.py Plugin: vote_plugin.py Plugin: weather_plugin.py Executing Init Script Querying Channels Finished Querying Headlines Connected Logged In Presence Sent</pre><p> You can try the modified file: <noindex><a href="http://tkabber.jabber.ru/files/badlop/neutron.py" rel="nofollow" >neutron.py</a></noindex>.</p> <p>If it still fails with the weird 'eek' message, try to login on a jabber.org account, for example, to check if the problem is on your installation, or on Neutron...</p> Tue, 12 Dec 2006 19:21:03 +0000 mfoss comment 2724 at https://www.ejabberd.im support https://www.ejabberd.im/node/1227#comment-2723 <p>so is it pointless to hope for support/hints for neutron here?</p> Tue, 12 Dec 2006 15:16:07 +0000 bve comment 2723 at https://www.ejabberd.im syntax error line 235 neutron.py - fixed now: eek -> None None https://www.ejabberd.im/node/1227#comment-2641 <p>after a Google search I learned a bit about whitespace and python's syntax :)</p> <p>However now I run ./neutron.py and it scrolls along as though it is working, with the final usless output of:</p> <pre> eek -&gt; None None </pre><p> here is the complete output from neutron:</p> <pre> [burke@demon neutron]$ ./neutron.py Plugin: chat_plugin.py Plugin: domain_plugin.py Plugin: freshmeat_plugin.py Plugin: vote_plugin.py Plugin: rss_plugin.py Plugin: query_plugin.py Plugin: presence_plugin.py Plugin: babel_plugin.py Plugin: dns_plugin.py Plugin: weather_plugin.py Plugin: access_plugin.py Plugin: eliza_plugin.py Plugin: temperature_plugin.py Plugin: sg_plugin.py Plugin: stock_plugin.py Plugin: dict_plugin.py Plugin: admin_plugin.py Plugin: time_plugin.py Plugin: fact_plugin.py Plugin: help_plugin.py Plugin: log_plugin.py Plugin: chatbot_nick_plugin.py Plugin: quote_plugin.py Plugin: userinfo_plugin.py Plugin: google_plugin.py Plugin: python_plugin.py Executing Init Script Querying Channels Finished Querying Headlines Connected eek -&gt; None None </pre><p> At this point there is no indication in the Wildfire admin that neutron is connected.</p> <p>Any help is appreciated,<br /> Burke</p> Sat, 02 Dec 2006 03:51:37 +0000 bve comment 2641 at https://www.ejabberd.im