gajim-remote via ssh session
Bug description
gajim-remote help Traceback (most recent call last): File "gajim-remote.py", line 55, in <module> print str(exceptions.DbusNotSupported()) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Steps to reproduce
ssh username@gajimhost
#gajim-remote help
Traceback (most recent call last):
File "gajim-remote.py", line 55, in \<module>
print str(exceptions.DbusNotSupported())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
#qdbus org.gajim.dbus /org/gajim/dbus/RemoteObject send_groupchat_message 'general@conference.gajimhost' 'test' 'gajimhost'
Could not connect to D-Bus server: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
after
#export DISPLAY=:0.0
it work
# gajim-remote help
Использование: gajim-remote команда [аргумента]
Команда одна из:
account_info \<account>
add_contact \<JID> [Учетные записи]
...
#qdbus org.gajim.dbus /org/gajim/dbus/RemoteObject send_groupchat_message 'general@conference.gajimhost' 'test' 'gajimhost'
true
Software versions
OS version:Ubuntu 10.10("maverick") 2.6.35-28-generic-pae
GTK version: libgtk2.0-0 2.22.0-0ubuntu1
PyGTK version: python-gtk2 2.21.0-0ubuntu1