View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#19
Hi
it's not work... I don't know why...
I did permission to this file "chmod u+x"
and I tried run this command: python SetPresence.py Car
and I got this:
Code:
Nokia-N900:/opt/Scripts# chmod u+x SetPresence.py
Nokia-N900:/opt/Scripts# python SetPresence.py Car
Traceback (most recent call last):
  File "SetPresence.py", line 103, in <module>
    read_profile_settings(sys.argv[1])
  File "SetPresence.py", line 78, in read_profile_settings
    connect_account("/org/freedesktop/Telepathy/Account/"+account[8:], status_dict_rev[status], status_dict[status_dict_rev[status]], presence_text)
  File "SetPresence.py", line 62, in connect_account
    enabled = account.Get('org.freedesktop.Telepathy.Account', 'Enabled')
  File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "(null)" doesn't exist
When I tried this (it worked before): python SetPresence.py online
It does not do anything...