gajim-remote fails - AttributeError: 'str' object has no attribute 'decode'
Versions
- Gajim version: v1.0.0
- GTK version: 3.22.28
- Python-nbxmpp version: 0.6.4
Steps to reproduce the problem
- enable remote_control in the advanced config editor
- use gajim-remote to set change your status: gajim-remote change_status online "bugtest"
Expected behavior
The status for should be set to online, the status message should be set to "bugtest"
Actual behavior
A traceback occurs:
Traceback (most recent call last):
File "/usr/bin/gajim-remote", line 11, in <module>
load_entry_point('gajim==1.0.0', 'console_scripts', 'gajim-remote')()
File "/usr/lib/python3.6/site-packages/gajim/gajim_remote.py", line 497, in main
GajimRemote()
File "/usr/lib/python3.6/site-packages/gajim/gajim_remote.py", line 278, in __init__
res = self.call_remote_method()
File "/usr/lib/python3.6/site-packages/gajim/gajim_remote.py", line 483, in call_remote_method
args = [i.decode(PREFERRED_ENCODING) for i in self.arguments]
File "/usr/lib/python3.6/site-packages/gajim/gajim_remote.py", line 483, in <listcomp>
args = [i.decode(PREFERRED_ENCODING) for i in self.arguments]
AttributeError: 'str' object has no attribute 'decode'
I use gajim-remote to set my status by a location script and systemd-timer, this stopped to work with Gajim v1.0.0.