Comments (10)
This has been fixed in the latest version. Did you use Sublime Package Control to install WakaTime? Then you can upgrade by pressing CMD + SHIFT + P and selecting Package Control: Upgrade/Overwrite All Packages
.
Your WakaTime version must be out-of-date because line 401 in the current version is not the same as your traceback:
https://github.com/wakatime/sublime-wakatime/blob/master/packages/wakatime/wakatime/__init__.py#L401
from sublime-wakatime.
Ok, I updated (ended up reinstalling) WakaTime for ST, been coding for a little while, but the .wakatime.db
has not been updated since before the issue appeared.
from sublime-wakatime.
@EdenSG are you seeing logged time in your dashboard? .wakatime.db
is only used to store offline heartbeats when you are coding without internet access, so it won't get updated if every heartbeat is sent successfully.
from sublime-wakatime.
No, I’m not.
On Jan 5, 2015, at 1:01 AM, Alan Hamlett [email protected] wrote:
@EdenSG https://github.com/EdenSG are you seeing logged time in your dashboard? .wakatime.db is only used to store offline heartbeats when you are coding without internet access, so it won't get updated if every heartbeat is sent successfully.
—
Reply to this email directly or view it on GitHub #29 (comment).
from sublime-wakatime.
Can you set debug
to true
in your WakaTime.sublime-settings
file, then open the ST console with CTRL + ` and look for any error messages? Also check ~/.wakatime.log for error messages after turning on debug mode.
from sublime-wakatime.
Huh, looks like it could possibly be an issue with ST/NodeJS — I’ve got a bunch of these in my console:
Traceback (most recent call last):
File "/Applications/Sublime Text 3.app/Contents/MacOS/sublime_plugin.py", line 445, in is_enabled_
raise ValueError("is_enabled must return a bool", self)
ValueError: ('is_enabled must return a bool', <Nodejs.Nodejs.NodeUglifyCommand object at 0x10946e690>)
And then from .wakatime.log
:
Traceback (most recent call last):
File "/Users/eden/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/wakatime-cli.py", line 20, in <module>
sys.exit(wakatime.main(sys.argv))
File "/Users/eden/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/wakatime/__init__.py", line 401, in main
**vars(args)
File "/Users/eden/Library/Application Support/Sublime Text 3/Packages/WakaTime/packages/wakatime/wakatime/__init__.py", line 336, in send_action
if response.getcode() in ALWAYS_LOG_CODES:
AttributeError: 'NoneType' object has no attribute 'getcode'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
from sublime-wakatime.
That traceback is still from an old version of the plugin. Line 336 from your traceback:
wakatime/wakatime/__init__.py", line 336, in send_action
does not match line 336 in the current plugin version:
init.py#L336
Are you using https://packagecontrol.io/ to install WakaTime?
from sublime-wakatime.
I am. I’ll try reinstalling Package Control.
On Jan 6, 2015, at 3:40 AM, Alan Hamlett [email protected] wrote:
That traceback is still from an old version of the plugin. Line 336 from your traceback:
wakatime/wakatime/init.py", line 336, in send_action
does not match line 336 in the current plugin version:
init.py#L336
Are you using https://packagecontrol.io/ https://packagecontrol.io/ to install WakaTime?—
Reply to this email directly or view it on GitHub #29 (comment).
from sublime-wakatime.
Ok, I reinstalled ST and Package Control, and it seems to be working again. Mysterious, but I suspect it was an issue with ST rather than with sublime-wakatime. Thanks anyways!
from sublime-wakatime.
Awesome, glad you've fixed it!
from sublime-wakatime.
Related Issues (20)
- running Wakatime on localhost HOT 1
- Annoyance: Overwrites the informative field in the bottom left with a broken timer HOT 3
- ModuleNotFoundError: No module named 'wakatime.project' HOT 3
- WakaTime keep on synchronising even when I closed Sublime_Text HOT 4
- cannot download v10.0.0 (2020-02-29) HOT 3
- SublimeText plugin wakatime-cli update error HOT 2
- 'NoneType' object has no attribute 'format_exc' when operation timed out HOT 2
- WakaTime stucked at "WakaTime: initializing..." HOT 1
- Overwrites default urllib opener HOT 1
- Sublime Text 4 WakaTime: Error HOT 6
- Symbol not found _clock_gettime on OS X < 10.13 HOT 5
- Exception when enabling the package HOT 1
- Add support for legacy OS X
- Checks for latest version on the main thread HOT 2
- Random errors due to no selection HOT 4
- exclude project HOT 8
- Silently failed to send my statistics for a week HOT 19
- Disable clock icon HOT 1
- WakaTime hides other messages in sublime HOT 5
- Disable api key prompt if already set in main config HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-wakatime.