{"action":"created","issue":{"url":"https://api.github.com/repos/gbin/err/issues/460","labels_url":"https://api.github.com/repos/gbin/err/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/gbin/err/issues/460/comments","events_url":"https://api.github.com/repos/gbin/err/issues/460/events","html_url":"https://github.com/gbin/err/issues/460","id":103289189,"number":460,"title":"Domain contains illegal characters","user":{"login":"ramonamis","id":4719415,"avatar_url":"https://avatars.githubusercontent.com/u/4719415?v=3","gravatar_id":"","url":"https://api.github.com/users/ramonamis","html_url":"https://github.com/ramonamis","followers_url":"https://api.github.com/users/ramonamis/followers","following_url":"https://api.github.com/users/ramonamis/following{/other_user}","gists_url":"https://api.github.com/users/ramonamis/gists{/gist_id}","starred_url":"https://api.github.com/users/ramonamis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramonamis/subscriptions","organizations_url":"https://api.github.com/users/ramonamis/orgs","repos_url":"https://api.github.com/users/ramonamis/repos","events_url":"https://api.github.com/users/ramonamis/events{/privacy}","received_events_url":"https://api.github.com/users/ramonamis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-26T14:55:16Z","updated_at":"2015-08-27T15:03:53Z","closed_at":null,"body":"Hello, \r\n\r\nI am already succesfully running an instance of err (2.2.1)+ hipchat, and i am trying to set up a second one on another machine, with mostly the same code base except the bot has another identity.\r\nFor some weird reason, with the same verison of the package and the same dependencies installed (I am using salt for automation) the instance i am trying to set up is using different code (yes, i am using 3to2 but for some reason it does not behave as expected. \r\n\r\nFirst issue i have is with urllib:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/yapsy/PluginManager.py\", line 488, in loadPlugins\r\n    candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+\".py\",(\"py\",\"r\",imp.PY_SOURCE))\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/errbot/builtins/vcheck.py\", line 4, in <module>\r\n    from urllib.request import urlopen\r\nImportError: No module named request\r\n```\r\nI went around and fixed this manually in some places and now i get this wonderful error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/xmlstream/xmlstream.py\", line 1679, in _event_runner\r\n    orig.exception(e)\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/stanza/rootstanza.py\", line 75, in exception\r\n    self.reply()\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/stanza/message.py\", line 139, in reply\r\n    StanzaBase.reply(self, clear)\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/xmlstream/stanzabase.py\", line 1550, in reply\r\n    self['to'] = self['from']\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/xmlstream/stanzabase.py\", line 695, in __getitem__\r\n    return getattr(self, get_method)(**kwargs)\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/xmlstream/stanzabase.py\", line 1501, in get_from\r\n    return JID(self._get_attr('from'))\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/jid.py\", line 463, in __init__\r\n    parsed_jid = _parse_jid(jid)\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/jid.py\", line 152, in _parse_jid\r\n    domain = _validate_domain(domain)\r\n  File \"/home/hildasan/.virtualenvs/hilda-san-env/local/lib/python2.7/site-packages/sleekxmpp/jid.py\", line 233, in _validate_domain\r\n    raise InvalidJID('Domain contains illegal characters')\r\nInvalidJID: Domain contains illegal characters\r\n```\r\n\r\nI am wondering which domain exactly has illegal characters, i compared the 2 config files (the one of the instance which is working and one of the instance which is not) and i do not really see any difference. \r\n\r\nAny help is highly appreciated. "},"comment":{"url":"https://api.github.com/repos/gbin/err/issues/comments/135462100","html_url":"https://github.com/gbin/err/issues/460#issuecomment-135462100","issue_url":"https://api.github.com/repos/gbin/err/issues/460","id":135462100,"user":{"login":"gbin","id":975564,"avatar_url":"https://avatars.githubusercontent.com/u/975564?v=3","gravatar_id":"","url":"https://api.github.com/users/gbin","html_url":"https://github.com/gbin","followers_url":"https://api.github.com/users/gbin/followers","following_url":"https://api.github.com/users/gbin/following{/other_user}","gists_url":"https://api.github.com/users/gbin/gists{/gist_id}","starred_url":"https://api.github.com/users/gbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbin/subscriptions","organizations_url":"https://api.github.com/users/gbin/orgs","repos_url":"https://api.github.com/users/gbin/repos","events_url":"https://api.github.com/users/gbin/events{/privacy}","received_events_url":"https://api.github.com/users/gbin/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T15:03:53Z","updated_at":"2015-08-27T15:03:53Z","body":"So `('toto')` is the sequence of chrs `'t', 'o', 't', 'o'`\r\nAnd ` (`toto`,)` is the sequence of strings with one element 'toto'\r\n"}}