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
319 stars 30 forks source link

[plugin] Your Atom plugin is malfunctioning #107

Closed aminya closed 2 years ago

aminya commented 3 years ago

I received such an email today.

Hey there,

We noticed some unusual coding activity from your Atom WakaTime plugin Yesterday: You have many duplicate heartbeat events.

This is usually caused by another Atom extension tricking WakaTime into thinking you’re moving the cursor, or editing files. If you would like to help fix this, please add the list of Atom extensions you have installed to an existing GitHub issue or just reply to this email.

What do I need to do?

Here is the list of my packages:

Built-in Atom Packages (93)
├── atom-dark-syntax@0.29.1
├── atom-dark-ui@0.53.3
├── atom-light-syntax@0.29.1
├── atom-light-ui@0.46.3
├── base16-tomorrow-dark-theme@1.6.0
├── base16-tomorrow-light-theme@1.6.0
├── one-dark-ui@1.12.5
├── one-light-ui@1.12.5
├── one-dark-syntax@1.8.4
├── one-light-syntax@1.8.4
├── solarized-dark-syntax@1.3.0
├── solarized-light-syntax@1.3.0
├── about@1.9.1
├── archive-view@0.65.2
├── autocomplete-atom-api@0.10.7
├── autocomplete-css@0.17.5
├── autocomplete-html@0.8.8
├── autocomplete-plus@2.42.4
├── autocomplete-snippets@1.12.1
├── autoflow@0.29.4
├── autosave@0.24.6
├── background-tips@0.28.0
├── bookmarks@0.46.0
├── bracket-matcher@0.91.2
├── command-palette@0.43.5
├── dalek@0.2.2
├── deprecation-cop@0.56.9
├── dev-live-reload@0.48.1
├── encoding-selector@0.23.9
├── exception-reporting@0.43.1
├── find-and-replace@0.219.7
├── fuzzy-finder@1.14.3
├── github@0.36.9
├── git-diff@1.3.9
├── go-to-line@0.33.0
├── grammar-selector@0.50.1
├── image-view@0.64.0 (disabled)
├── incompatible-packages@0.27.3
├── keybinding-resolver@0.39.0
├── line-ending-selector@0.7.7
├── link@0.31.6
├── markdown-preview@0.160.2 (disabled)
├── metrics@1.8.1
├── notifications@0.71.0
├── open-on-github@1.3.2
├── package-generator@1.3.0
├── settings-view@0.261.8
├── snippets@1.5.1
├── spell-check@0.77.1
├── status-bar@1.8.17
├── styleguide@0.49.12
├── symbols-view@0.118.4
├── tabs@0.110.0
├── timecop@0.36.2
├── tree-view@0.228.3
├── update-package-dependencies@0.13.1
├── welcome@0.36.9
├── whitespace@0.37.7
├── wrap-guide@0.41.0
├── language-c@0.60.19
├── language-clojure@0.22.8
├── language-coffee-script@0.50.0
├── language-csharp@1.1.0
├── language-css@0.44.4
├── language-gfm@0.90.8
├── language-git@0.19.1
├── language-go@0.47.2
├── language-html@0.53.1
├── language-hyperlink@0.17.1
├── language-java@0.32.1
├── language-javascript@0.134.1
├── language-json@1.0.5
├── language-less@0.34.3
├── language-make@0.23.0
├── language-mustache@0.14.5
├── language-objective-c@0.16.0 (disabled)
├── language-perl@0.38.1
├── language-php@0.44.7
├── language-property-list@0.9.1
├── language-python@0.53.5
├── language-ruby@0.72.23
├── language-ruby-on-rails@0.25.3
├── language-rust-bundled@0.1.0
├── language-sass@0.62.1
├── language-shellscript@0.28.2
├── language-source@0.9.0
├── language-sql@0.25.10
├── language-text@0.7.4
├── language-todo@0.29.4
├── language-toml@0.20.0
├── language-typescript@0.6.3
├── language-xml@0.35.3
└── language-yaml@0.32.0

Dev Packages (1) C:\Users\aminy\.atom\dev\packages
└── github

Community Packages (192) C:\Users\aminy\.atom\packages
├── ascii-hex@0.2.0 (disabled)
├── atom-alignment@0.13.0
├── atom-bash@1.1.1 (disabled)
├── atom-beautify@0.33.4 (disabled)
├── atom-commander@0.12.3 (disabled)
├── atom-console@0.4.6 (disabled)
├── atom-ide-base@2.6.0
├── atom-ide-console@0.0.2 (disabled)
├── atom-ide-datatip@0.24.1
├── atom-ide-debugger@0.0.3 (disabled)
├── atom-ide-definitions@0.4.1
├── atom-ide-hyperclick@1.0.10
├── atom-ide-javascript@1.5.0
├── atom-ide-julia@0.1.0 (disabled)
├── atom-ide-markdown-service@2.1.0
├── atom-ide-outline@2.3.4
├── atom-ide-signature-help@0.15.3
├── atom-ide-template@0.1.0
├── atom-ide-template-js@0.1.0 (disabled)
├── atom-ide-template-rust@0.1.0 (disabled)
├── atom-ide-ui@0.13.0 (disabled)
├── atom-ide-vue@1.4.6
├── atom-indent-detective@0.4.0
├── atom-matlab-editor@0.5.1 (disabled)
├── atom-minify@0.8.0 (disabled)
├── atom-reverser@3.0.4
├── atom-stylus-supremacy@0.7.0
├── atom-terminal@0.8.0 (disabled)
├── atom-toolbar@0.1.6 (disabled)
├── atom-typescript@14.2.1
├── atomic-management@0.4.0 (disabled)
├── atomic-terminal@1.1.3
├── atomizr@0.23.3
├── auto-fold@0.4.0 (disabled)
├── autocomplete@0.47.0
├── autocomplete-bash-builtins@0.3.5 (disabled)
├── autocomplete-clang@0.13.1 (disabled)
├── autocomplete-cmake@0.3.1
├── autocomplete-en-en@0.2.0
├── autocomplete-jsdoc@0.0.2
├── autocomplete-paths@2.15.2
├── build@0.70.0 (disabled)
├── build-cmake@0.12.0
├── build-npm-apm@0.12.0 (disabled)
├── busy-signal@2.0.1
├── clean-context-menu@0.3.2
├── colorful-json@1.1.0
├── cson-parser@0.1.0 (disabled)
├── ctags-status@1.4.0 (disabled)
├── dart@1.0.1 (disabled)
├── docblock-python@0.19.1
├── fast-eslint@4.15.0 (disabled)
├── file-icons@2.1.47
├── find-scroll-marker@0.1.3
├── find-trailing-whitespace@0.1.0
├── flow-ide@1.13.0 (disabled)
├── fold-functions@0.11.0 (disabled)
├── fold-lines@0.2.2
├── font-viewer@1.0.5
├── fonts@3.13.0
├── glow
├── hey-pane (disabled)
├── highlight-selected@0.17.0
├── Hydrogen@2.14.7
├── hyperclick@0.1.5 (disabled)
├── hyperlink-hyperclick@3.0.2
├── ide-bash@1.0.11 (disabled)
├── ide-c-cpp@0.1.0 (disabled)
├── ide-clangd@0.4.0 (disabled)
├── ide-csharp@0.6.2
├── ide-css@0.3.5
├── ide-d@0.3.0
├── ide-flowtype@0.24.0 (disabled)
├── ide-html@0.6.2
├── ide-json@0.2.1
├── ide-powershell@0.1.0 (disabled)
├── ide-python@1.8.0
├── ide-rust@0.22.0-beta.3
├── ide-typescript@0.9.2 (disabled)
├── ide-yaml@0.7.0 (disabled)
├── ide-yml@0.7.8-0
├── ink@0.12.6 (disabled)
├── intentions@1.1.5 (disabled)
├── javascript-drag-import@0.1.13
├── javascript-refactor@0.7.1
├── json-converter@0.2.4
├── julia-client@0.12.6 (disabled)
├── juno-plus@0.13.1
├── jupyter-notebook@0.0.10 (disabled)
├── keyword-pair-matcher@0.2.1
├── kite@0.198.0 (disabled)
├── language-assembly@0.7.2 (disabled)
├── language-autohotkey2@1.0.1
├── language-batchfile@0.7.7
├── language-cmake@1.2.0
├── language-d@3.3.1 (disabled)
├── language-emacs-lisp@1.4.0
├── language-github-actions@0.1.0 (disabled)
├── language-gnuplot-5@0.4.2
├── language-julia@0.21.1 (disabled)
├── language-latex@1.2.0 (disabled)
├── language-matlab@0.2.1 (disabled)
├── language-matlab-octave@1.0.5
├── language-matlab-plus@1.12.0 (disabled)
├── language-powershell@5.0.0
├── language-reg@0.0.0
├── language-vue@0.26.0
├── language-weave@0.7.2 (disabled)
├── latex-autocomplete@1.1.1 (disabled)
├── latex-completions@0.3.6
├── latex-friend@0.0.11 (disabled)
├── latex-image-paste@0.5.0 (disabled)
├── latex-itemizer@1.1.1 (disabled)
├── latex-tree@0.5.0 (disabled)
├── latex-wordcount@0.6.0 (disabled)
├── less-than-slash@0.20.0 (disabled)
├── lint-scroll-marker@0.3.0 (disabled)
├── linter@3.3.1
├── linter-clang@4.1.2 (disabled)
├── linter-coffeelint@2.0.75
├── linter-cpplint@2.1.0 (disabled)
├── linter-eslint@8.6.5
├── linter-flake8@2.4.0 (disabled)
├── linter-gcc@0.9.0 (disabled)
├── linter-gcc2@0.8.8 (disabled)
├── linter-julia@0.9.0 (disabled)
├── linter-matlab@1.3.0 (disabled)
├── linter-php@1.6.1 (disabled)
├── linter-rubocop@2.5.7 (disabled)
├── linter-shellcheck@1.6.0 (disabled)
├── linter-spell@0.15.0 (disabled)
├── linter-spell-javascript@0.9.0 (disabled)
├── linter-spell-latex@0.11.0 (disabled)
├── linter-stylint@2.3.0
├── linter-tree-sitter@0.1.3 (disabled)
├── linter-tslint@1.11.0
├── linter-ui-default@3.3.1
├── lisp-paredit@0.8.0 (disabled)
├── markdown-preview-plus@4.10.0
├── markdown-writer@2.11.11
├── menu-manager@0.6.0
├── minimap@4.39.14
├── minimap-autohider@1.7.0 (disabled)
├── minimap-bookmarks@0.4.6
├── minimap-codeglance@0.4.7 (disabled)
├── minimap-cursorline@1.0.4
├── minimap-find-and-replace@5.0.8
├── minimap-git-diff@4.3.6
├── minimap-hide@0.3.0 (disabled)
├── minimap-highlight-selected@4.6.5
├── minimap-lens@0.8.1 (disabled)
├── minimap-linter@2.2.2
├── minimap-pigments@0.2.2
├── minimap-selection@4.5.4
├── minimap-titles@1.15.0
├── multi-copy@0.1.0
├── multi-cursor-plus@1.2.0
├── multi-line-editor@1.6.0
├── multi-paste2@0.4.1
├── nuclide@0.390.0 (disabled)
├── package-ts-generator@0.1.2 (disabled)
├── pdf-view@0.73.0 (disabled)
├── pigments@0.40.6
├── preview@0.19.0 (disabled)
├── preview-inline@1.5.1 (disabled)
├── project-manager@3.3.8
├── Quick-JavaScript@2.2.0
├── script@3.32.1
├── scroll-marker@0.3.5 (disabled)
├── settings-view@0.261.7
├── snippet-generator-plus@0.1.2
├── snippets-plus@0.12.0
├── split-diff@1.6.1
├── string-encoder@0.2.0
├── Stylus@3.2.0
├── Sublime-Style-Column-Selection@1.7.5
├── symbols-tree-nav@0.15.8 (disabled)
├── sync-settings@5.2.10
├── TabNine@3.0.3 (disabled)
├── teletype@0.13.4
├── terminus@4.1.4 (disabled)
├── tool-bar@1.4.2
├── trailing-spaces@0.4.0
├── tree-sitter-syntax-visualizer@0.0.2
├── tree-view-git-status@1.5.3
├── turbo-javascript@1.4.0
├── uber-juno@0.3.0 (disabled)
├── unwrap-parens@0.1.1
├── vim-mode-plus@1.36.5 (disabled)
├── wakatime@11.0.4
├── web-view@3.0.0 (disabled)
└── x-terminal@13.0.8 (disabled)
alanhamlett commented 3 years ago

My guess is it's the autosave@0.24.6 extension. Can you try disabling that one and see if the email goes away after a day?

alanhamlett commented 3 years ago

Looks like https://github.com/atom/autosave/issues/25

aminya commented 3 years ago

I disabled it. Are you looking for a package that uses onDidChangeText? I don't actually understand the problem here.

alanhamlett commented 3 years ago

Yea, we send an API request every time a file is saved. If atom/autosave#25 saves the file every keystroke... that would trigger your warning email from a flood of data for the same file around the same time.

aminya commented 3 years ago

I have been using Wakatime for a long time, so this might be a bug in the last release of Wakatime or Atom's latest nightly.

I tend to "save a lot" because I don't actually use autosave (I usually save after each change I make). Is there a way I can instruct Wakatime to denounce my file savings?

gandarez commented 3 years ago

@alanhamlett any other update here?

gandarez commented 2 years ago

Was that solved @aminya?

aminya commented 2 years ago

I am not using the plugin any more.