Giter VIP home page Giter VIP logo

save-notification's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cneryjr

save-notification's Issues

Uncaught Error: Notification must be created with string message: undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.4
System: Mac OS X 10.11.5
Thrown From: save-notification package, v0.9.0

Stack Trace

Uncaught Error: Notification must be created with string message: undefined

At /Applications/Atom.app/Contents/Resources/app.asar/src/notification.js:25

Error: Notification must be created with string message: undefined
    at Notification.module.exports.Notification.validate (/Applications/Atom.app/Contents/Resources/app.asar/src/notification.js:25:15)
    at new Notification (/Applications/Atom.app/Contents/Resources/app.asar/src/notification.js:20:12)
    at NotificationManager.module.exports.NotificationManager.addInfo (/Applications/Atom.app/Contents/Resources/app.asar/src/notification-manager.js:33:35)
    at Object.module.exports.SaveNotification.notify (/Users/Alexandre/.atom/packages/save-notification/lib/save-notification.coffee:43:41)
    at atom-workspace.subscriptions.add.atom.commands.add.core:save (/Users/Alexandre/.atom/packages/save-notification/lib/save-notification.coffee:26:77)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -0:04.2.0 application:new-file (atom-pane.pane.active)
     -0:02.6.0 core:paste (atom-text-editor.editor.is-focused)
     -0:00.8.0 core:save (atom-text-editor.editor.is-focused)

Config

{}

Installed Packages

# User
language-gherkin-i18n, v1.3.4
save-notification, v0.9.0

# Dev
No dev packages

Uncaught TypeError: editor.isModified is not a function

[Enter steps to reproduce:]

  1. Try to change notification duration
  2. Get an error

Atom: 1.20.0-beta7 x64
Electron: 1.6.9
OS: Microsoft Windows 8.1 Pro
Thrown From: save-notification package 0.10.0

Stack Trace

Uncaught TypeError: editor.isModified is not a function

At C:\Users\D\.atom\packages\save-notification\lib\save-notification.coffee:37

TypeError: editor.isModified is not a function
    at Object.notify (/packages/save-notification/lib/save-notification.coffee:37:19)
    at /packages/save-notification/lib/save-notification.coffee:26:77)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.0-beta7/resources/app/src/command-registry.js:265:35)
    at ~/AppData/Local/atom/app-1.20.0-beta7/resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.20.0-beta7/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.20.0-beta7/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.20.0-beta7/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (~/AppData/Local/atom/app-1.20.0-beta7/resources/app/src/window-event-handler.js:3:65)

Commands

     -6:00.6.0 settings-view:open (input.hidden-input)
  3x -3:05.2.0 core:save (input.hidden-input)
     -2:38.6.0 find-and-replace:select-next (input.hidden-input)
     -2:37.3.0 core:save (input.hidden-input)
 22x -2:21.5.0 core:backspace (input.hidden-input)
  3x -1:45 core:move-up (input.hidden-input)
  3x -1:42.5.0 core:backspace (input.hidden-input)
  2x -1:25.9.0 core:save (input.hidden-input)
  2x -0:23 core:backspace (input.hidden-input)
     -0:19 core:save (input.hidden-input)

Non-Core Packages

neutron-dark-ui 2.1.4 
save-notification 0.10.0 
tool-bar 1.1.0 
tool-bar-almighty 0.8.2 

Also would let me switch to anything that didn't start with "10". Wanted to set it to "2000".

Uncaught TypeError: Cannot read property 'isModified' of undefined

Hi. Got this error when I tried to save a page. Specifically, index.ejs. Not sure if this related to *.ejs files or not. Might be a general error.

ERROR IS THROWN WHEN I DO A COMMAND-S (i.e. SAVE) and there is no document opened in Atom. Again, no documents opened in the IDE + command-s.

Obviously, it doesn't make any sense that anyone would try to 'SAVE' something that doesn't exist... a random bug find... lol...

Atom Version: 1.6.0-beta7
System: Mac OS X 10.11.3
Thrown From: save-notification package, v0.7.0

Stack Trace

Uncaught TypeError: Cannot read property 'isModified' of undefined

At /Users/MVO/.atom/packages/save-notification/lib/save-notification.coffee:36

TypeError: Cannot read property 'isModified' of undefined
    at Object.module.exports.SaveNotification.notify (/Users/MVO/.atom/packages/save-notification/lib/save-notification.coffee:36:14)
    at atom-workspace.subscriptions.add.atom.commands.add.core:save (/Users/MVO/.atom/packages/save-notification/lib/save-notification.coffee:26:77)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:570:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -2:23.4.0 tree-view:remove-project-folder (span.name.icon.icon-repo)
     -2:21.7.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  4x -2:05.9.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -2:03.8.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "wrap-guide",
      "emmet",
      "linter-scss-lint",
      "linter-js-standard",
      "double-click-tree-view",
      "metrics",
      "linter",
      "open-in-browser",
      "background-tips"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "*.codekit*",
      ".sass-cache",
      "bower_*",
      "_art*"
    ],
    "packagesWithKeymapsDisabled": [
      "linter"
    ],
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
aligner, v0.19.1
aligner-css, v1.2.0
aligner-php, v1.0.0
aligner-python, v1.0.1
aligner-ruby, v1.4.0
aligner-scss, v1.1.0
atom-alignment, v0.12.1
atom-beautify, v0.28.26
atom-bootstrap4, v1.4.0
atom-cursor-indent, v0.1.1
atom-jade, v0.3.0
atom-typescript, v8.3.0
autoclose-html, v0.23.0
autocomplete-paths, v1.0.2
autocomplete-php, v0.3.7
block-comment-plus, v0.2.0
browser-plus, v0.0.54
color-picker, v2.1.1
css-comb, v2.4.0
css-snippets, v0.9.0
csslint, v1.1.4
editor-background, v1.2.17
file-icons, v1.6.18
git-plus, v5.13.0
indent-guide-improved, v1.4.5
jshint, v1.8.3
language-blade, v0.20.0
language-gitignore, v0.2.0
language-jade, v0.6.3
laravel, v0.7.0
laravel-snippets, v2.1.0
linter-bootlint, v1.0.2
linter-coffeelint, v1.1.2
linter-csslint, v1.3.2
linter-jade, v0.3.2
linter-php, v1.2.0
linter-sass-lint, v1.1.2
linter-tidy, v2.1.0
minimap, v4.20.0
minimap-find-and-replace, v4.4.0
minimap-highlight-selected, v4.3.1
minimap-pigments, v0.1.7
node-debugger, v1.4.4
open-recent, v5.0.0
php-cs-fixer, v2.5.6
pigments, v0.24.3
react-snippets, v0.3.0
red-wavy-underline, v0.3.0
save-notification, v0.7.0
semicol, v1.1.1
snippets-jade, v0.1.1
soft-wrap-indicator, v0.7.0
source-preview-jade, v0.1.1

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.