wakatime / atom-wakatime

Atom plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/atom
BSD 3-Clause "New" or "Revised" License
318 stars 30 forks source link

Language is mostly registered as 'Other' #69

Closed runar-rkmedia closed 5 years ago

runar-rkmedia commented 7 years ago

Edit: After logging in to my account today, everything registered in the 'Other' -language was now registered as 'python'. So the issue has resolved itself.

Hi, I have some minor issues with the registered language in my dashboard. I have Atom 1.14.3, MacOS Sierra. The console in atom does not print any errors, only a debug message. Mostly all of the 'Other'-language should be python.

[WakaTime] [DEBUG] [wakatime.coffee:429] pythonw
/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/cli.py
--file
/Users/runarkristoffersen/dropbox/Data/cources/FullStack/multi_user_blog/my_blog/templates.py
--plugin atom-wakatime/6.0.13 --lineno 121 --verbose --config
/Users/runarkristoffersen/.wakatime.cfg

Here is a bit from the .wakatime.log-file:

{"now": "2017/03/04 11:14:32 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622471.477347, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 69, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "Sending heartbeat to api at https://api.wakatime.com/api/v1/heartbeats"}
{"now": "2017/03/04 11:14:32 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622471.477347, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 104, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'lines': 272, 'entity': '/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py', 'project': u'my_blog', 'lineno': '33', 'branch': u'master', 'time': 1488622471.477347, 'type': 'file'}"}
{"now": "2017/03/04 11:14:38 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622471.477347, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 178, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'response_code': 201}"}
{"now": "2017/03/04 11:14:41 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622480.4026, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 69, "is_write": true, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "Sending heartbeat to api at https://api.wakatime.com/api/v1/heartbeats"}
{"now": "2017/03/04 11:14:41 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622480.404543, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 69, "file": "/Users/runarkristoffersen/dropbox/Data/cources/FullStack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "Sending heartbeat to api at https://api.wakatime.com/api/v1/heartbeats"}
{"now": "2017/03/04 11:14:41 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622480.4026, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 104, "is_write": true, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'is_write': True, 'lines': 272, 'entity': '/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py', 'project': u'my_blog', 'lineno': '33', 'branch': u'master', 'time': 1488622480.4026, 'type': 'file'}"}
{"now": "2017/03/04 11:14:41 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622480.404543, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 104, "file": "/Users/runarkristoffersen/dropbox/Data/cources/FullStack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'lines': 272, 'entity': '/Users/runarkristoffersen/dropbox/Data/cources/FullStack/multi_user_blog/my_blog/templates.py', 'project': u'my_blog', 'lineno': '60', 'branch': u'master', 'time': 1488622480.404543, 'type': 'file'}"}
{"now": "2017/03/04 11:14:43 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622480.4026, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 178, "is_write": true, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'response_code': 201}"}
{"now": "2017/03/04 11:14:43 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622483.040927, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 69, "is_write": true, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "Sending heartbeat to api at https://api.wakatime.com/api/v1/heartbeats"}
{"now": "2017/03/04 11:14:43 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622483.040927, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 104, "is_write": true, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'is_write': True, 'lines': 272, 'entity': '/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py', 'project': u'my_blog', 'lineno': '32', 'branch': u'master', 'time': 1488622483.040927, 'type': 'file'}"}
{"now": "2017/03/04 11:14:43 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622480.404543, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 178, "file": "/Users/runarkristoffersen/dropbox/Data/cources/FullStack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'response_code': 201}"}
{"now": "2017/03/04 11:14:45 +0100", "version": "7.0.4", "plugin": "atom-wakatime/6.0.13", "time": 1488622483.040927, "caller": "/Users/runarkristoffersen/.atom/packages/wakatime/lib/wakatime-master/wakatime/main.py", "lineno": 178, "is_write": true, "file": "/Users/runarkristoffersen/Dropbox/Data/cources/Fullstack/multi_user_blog/my_blog/templates.py", "level": "DEBUG", "message": "{'response_code': 201}"}
alanhamlett commented 7 years ago

Glad to hear that it's working again :)

runar-rkmedia commented 7 years ago

Turns out that was just the support-guy at Wakatime who fixed it manually. There seems to still be a problem here.

alanhamlett commented 7 years ago

With debug mode turned on, are there any new errors in the ~/.wakatime.log file?