ActivityWatch / ActivityWatch/aw-watcher-window

Error shows after running for a day constantly

Open
#25 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
129
Forks
81
Avg merge
2d 10h
Merged PRs (30d)
4

Description

This error shows up when leaving the computer inactive overnight – might be useful to note:

IndexError: list index out of range
/Users/igatnas/Projects/activitywatch/venv/lib/python3.6/site-packages/aw_watcher_window/printAppTitle.scpt: execution error: git: 'pull && hub checkout develop && hub pull (git)"' is not a git command. See 'git --help'. (1)
2017-09-07 09:57:36 [ERROR]: Exception thrown while trying to get active window: list index out of range (aw_watcher_window.main:69)
Traceback (most recent call last):
File "/Users/igatnas/Projects/activitywatch/venv/lib/python3.6/site-packages/aw_watcher_window/main.py", line 66, in heartbeat_loop
current_window = get_current_window()
File "/Users/igatnas/Projects/activitywatch/venv/lib/python3.6/site-packages/aw_watcher_window/lib.py", line 46, in get_current_window
return get_current_window_macos()
File "/Users/igatnas/Projects/activitywatch/venv/lib/python3.6/site-packages/aw_watcher_window/lib.py", line 23, in get_current_window_macos
title = macos.getTitle(info)
File "/Users/igatnas/Projects/activitywatch/venv/lib/python3.6/site-packages/aw_watcher_window/macos.py", line 17, in getTitle
return info.split('","')[1][:-1]
IndexError: list index out of range

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.