Comments (13)
Version 2.0 is 3y old and it uses the legacy and outdated python cli. Try running
~/.wakatime/wakatime-cli --offline-count
.
you mean the cli with darwin-amd64
suffix?
the ~/.wakatime/wakatime-cli
with no suffix is a folder.
from sketch-wakatime.
And i reinstall from 2.0 to 3.0.1 ~/.wakatime/wakatime-cli-darwin-amd64 --offline-count
still 0.
from sketch-wakatime.
Installing wakatime-cli with Homebrew (/usr/local/bin/wakatime-cli
) is only needed for the Emacs and Terminal plugins. All other WakaTime plugins download wakatime-cli automatically into ~/.wakatime/wakatime-cli-<os>-<arch>
and symlink ~/.wakatime/wakatime-cli
for some plugins (Vim) to make it simpler and faster. Vim needs to fork a process to detect os/arch so it uses the symlink to speed up startup time.
Now that it's working, it must have been from the old version. It used to use ~/.wakatime/wakatime-master/
for the old wakatime-cli but maybe somehow it used ~/.wakatime/wakatime-cli/
which caused the newest plugin to break. Glad you got it working now!
from sketch-wakatime.
wakatime-cli installed with brew:
from sketch-wakatime.
Are you behind a proxy? Have you seen any data on dashboard before? Any error or warning on ~/.wakatime.log
?
from sketch-wakatime.
Are you behind a proxy? Have you seen any data on dashboard before? Any error or warning on
~/.wakatime.log
?
Are you behind a proxy?
No. And other IDE work well, VSCode / Vim;
Have you seen any data on dashboard before:
Yes. but it was maybe other wakatime-cli version or other sketch plugin version, as you can see here (also wakatime dash board has record):
Any error or warning on ~/.wakatime.log
:
Maybe no. I didn't find any log relative to the sketch plugin. Most was logged by VSCode single file path error.
But, is this used by sketch plugin?:
{"caller":"/Users/runner/work/wakatime-cli/wakatime-cli/cmd/run.go:240","func":"runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to "https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": Post "https://api.wakatime.com/api/v1/users/current/heartbeats.bulk\": EOF","now":"2022-01-23T18:29:47+08:00","version":"v1.35.0"}
from sketch-wakatime.
try reinstall to plugin 2.0, it works (and the cli version shown here is the 10.6.1):
from sketch-wakatime.
Version 2.0 is 3y old and it uses the legacy and outdated python cli. Try running ~/.wakatime/wakatime-cli --offline-count
.
from sketch-wakatime.
Can you try deleting your ~/.wakatime/
folder and then restart Sketch? That will re-download wakatime-cli to ~/.wakatime/
since it should be a symlink at ~/.wakatime/wakatime-cli
not a folder.
Every time you restart Sketch, the wakatime plugin runs this install script.
from sketch-wakatime.
Can you try deleting your
~/.wakatime/
folder and then restart Sketch? That will re-download wakatime-cli to~/.wakatime/
since it should be a symlink at~/.wakatime/wakatime-cli
not a folder.Every time you restart Sketch, the wakatime plugin runs this install script.
After delete the whole ~/.wakatime/
folder. Restart Sketch with plugin 3.0.1:
~/.wakatime/wakatime-cli
link to~/.wakatime/wakatime-cli-darwin-amd64
.- with the folder is deleted,
~/.wakatime/wakatime-cli-darwin-amd64
is not there. - the
wakatime-cli.zip
here seems empty.
from sketch-wakatime.
After run the scripts manually, seems download / unzip / link success:
And, the plugin status shows right:
from sketch-wakatime.
I re delete the folder several times then restart Sketch.
It can download / unzip / link success.
Not sure why the first time not working. (Maybe the networking? No?)
from sketch-wakatime.
two question remains:
- was the folder and link conflict above caused by upgrade from 2.0 to 3.0?
- what's the difference between
~/.wakatime/wakatime-cli
(link to~/.wakatime/wakatime-cli-darwin-amd64
) with/usr/local/bin/wakatime-cli
(installed with home brew)? different IDE not use the same?
from sketch-wakatime.
Related Issues (11)
- Installed Plugin Using Sketch Toolbox - No Data for Today HOT 10
- Says 'Unknown Project' HOT 7
- Deleting tracked sketch session from project HOT 1
- Sketch and Wakatime - Uninstallation HOT 2
- Opening Safari Web Inspector HOT 3
- Support Sketch 45 plugin update system HOT 1
- safari debug console opens randomly when wakatime sketch plugin is installed HOT 2
- Sketch integration not logging HOT 7
- Sketch intgeration not working HOT 3
- wakatime not logging Sketch hours HOT 10
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 sketch-wakatime.