nvbn / everpad

Evernote client well integrated with linux desktop
1.17k stars 143 forks source link

Tray don't show menu #488

Open miurahr opened 8 years ago

miurahr commented 8 years ago

when click tray icon, everpad got error;

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/everpad/pad/indicator.py", line 116, in update
    status_syncing = self.app.provider.get_status() == STATUS_SYNC
  File "/usr/lib/pymodules/python2.7/everpad/tools.py", line 32, in wrapper
    return getattr(self.__interface, name)(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/pymodules/python2.7/everpad/provider/service.py", line 575, in get_status
    return self.app.sync_thread.status
AttributeError: 'SyncThread' object has no attribute 'status'

on develop branch, 5db96c0f9b7

miurahr commented 8 years ago

There are two errors: dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError and AttributeError: 'SyncThread' object has no attribute 'status'