Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Cannot set topics #1

Open
zoni opened this issue Mar 5, 2016 · 0 comments
Open

Cannot set topics #1

zoni opened this issue Mar 5, 2016 · 0 comments

Comments

@zoni
Copy link
Member

zoni commented Mar 5, 2016

Getting topic for a room works, but setting a room topic fails:

Traceback (most recent call last):
  File "/home/errbot/errbot/venv/local/lib/python2.7/site-packages/errbot/errBot.py", line 466, in _execute_and_send
    reply = commands[cmd](mess, match) if match else commands[cmd](mess, args)
  File "/home/errbot/errbot/venv/local/lib/python2.7/site-packages/errbot/core_plugins/chatRoom.py", line 233, in room_topic
    self.query_room(args[0]).topic = args[1]
  File "/home/errbot/errbot/errbot-skype/skype.py", line 189, in topic
    self._chat.Topic = topic
  File "/home/errbot/errbot/venv/local/lib/python2.7/site-packages/Skype4Py/chat.py", line 384, in _SetTopic
    self._Alter('SETTOPIC', tounicode(Value))
  File "/home/errbot/errbot/venv/local/lib/python2.7/site-packages/Skype4Py/chat.py", line 30, in _Alter
    'ALTER CHAT %s' % (AlterName))
  File "/home/errbot/errbot/venv/local/lib/python2.7/site-packages/Skype4Py/skype.py", line 321, in _Alter
    reply = self._DoCommand(cmd, Reply)
  File "/home/errbot/errbot/venv/local/lib/python2.7/site-packages/Skype4Py/skype.py", line 281, in _DoCommand
    raise SkypeError(int(errnum), errstr)
SkypeError: [Errno 504] CHAT: action failed

Nothing we can do about this, the error happens within Skype4Py itself (which appears to be using the correct API call, so the problem is likely in the API/Skype itself).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant