Skip to content

Could not detect systray on Ubuntu #258

Description

@zemmyang

Describe the bug

On startup, I get this message: "I couldn't detect any system tray on this system. Either get one or run the ActivityWatch modules from the console." However, everything works fine, tho. I can open the WebUI from the Chrome extension and all of my activity gets tracked but I don't get the AW icon in the panel.

To Reproduce

Appears on startup.

Documentation

I found this labeled "error" in the aw-watcher-window logfiles but I don't know if they're relevant

2018-12-17 01:55:15 [ERROR]: Exception thrown while trying to get active window: <class 'Xlib.error.BadWindow'>: code = 3, resource_id = <class 'Xlib.xobject.resource.Resource'>(0x02400015), sequence_number = 257, major_opcode = 20, minor_opcode = 0 (aw_watcher_window.main:68)

When I try to run aw-qt from the command line, I get this:
2019-01-01 15:33:39 [INFO ]: Using storage method: peewee (aw_server.main:26)
2019-01-01 15:33:39 [INFO ]: Starting up... (aw_server.main:31)
2019-01-01 15:33:39 [INFO ]: Using database file: /home/zemmy/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db (aw_datastore.storages.peewee:114)
2019-01-01 15:33:39 [ERROR]: [Errno 98] Address already in use (aw_server.server:75)

Environment

  • ActivityWatch version: v0.8.0b7
  • OS: Ubuntu 18.04 LTS

Additional context

I recently reformatted, I used to use Ubuntu 18.04 LTS as well, and I was using AW back then, too. I never got this error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions