Giter Site home page Giter Site logo

qiniu-uploader's People

Contributors

knightli avatar tychenjiajun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qiniu-uploader's Issues

Enter steps to reproduce below

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.11.1
Electron Version: 0.37.8
System: Unknown Windows Version
Thrown From: qiniu-uploader package, v0.0.3

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At C:\Users\xy\.atom\packages\qiniu-uploader\node_modules\sync-request\index.js:10

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at Object.<anonymous> (C:\Users\xy\.atom\packages\qiniu-uploader\node_modules\sync-request\index.js:10:1)
    at Module._compile (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\xy\.atom\packages\qiniu-uploader\node_modules\qiniu\qiniu\zone.js:1:94)
    at Module._compile (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\xy\.atom\packages\qiniu-uploader\node_modules\qiniu\qiniu\io.js:11:12)
    at Module._compile (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\xy\.atom\packages\qiniu-uploader\node_modules\qiniu\index.js:8:7)
    at Module._compile (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/xy/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:9)
    at Object.<anonymous> (file:///C:/Users/xy/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:1)
    at Module._compile (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/xy/.atom/packages/qiniu-uploader/lib/main.coffee:1:12)
    at Object.<anonymous> (file:///C:/Users/xy/.atom/packages/qiniu-uploader/lib/main.coffee:1:1)
    at Module._compile (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\package.js:721:27)
    at Package.module.exports.Package.activateConfig (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\package.js:225:12)
    at PackageManager.module.exports.PackageManager.packageHasSettings (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-manager.js:55:14)
    at PackageCard.module.exports.PackageCard.hasSettings (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-card.js:699:34)
    at PackageCard.module.exports.PackageCard.updateSettingsState (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-card.js:397:16)
    at PackageCard.module.exports.PackageCard.updateInterfaceState (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-card.js:390:12)
    at C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-card.js:643:24
    at C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-card.js:712:20
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
    at PackageManager.module.exports.PackageManager.emitPackageEvent (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-manager.js:680:27)
    at C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-manager.js:468:26
    at exit (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
    at triggerExitCallback (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\buffered-process.js:215:47)
    at ChildProcess.<anonymous> (C:\Users\xy\AppData\Local\atom\app-1.11.1\resources\app.asar\src\buffered-process.js:237:18)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)

Commands

     -1:08.6.0 core:paste (atom-text-editor.editor.mini.is-focused)
     -1:06.5.0 core:backspace (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "language-gfm"
    ],
    "packagesWithKeymapsDisabled": [],
    "telemetryConsent": "limited"
  }
}

Installed Packages

# User
activate-power-mode, v1.0.2 (active)
language-markdown, v0.16.3 (active)
markdown-assistant, v0.2.0 (active)
markdown-pdf, v1.5.0 (inactive)
markdown-scroll-sync, v2.1.2 (active)
markdown-toc, v0.4.1 (inactive)
qiniu-uploader, v0.0.3 (inactive)
simplified-chinese-menu, v3.5.0 (active)
tool-bar-markdown-writer, v0.2.0 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (active)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

图片名字

因为我经常使用atom写博客,在我配图的时候经常需要给图片取一个名字,发现你的这个插件没有给图片取名字的功能,不知是否可以添加这个选项。

uncaught evalerror

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.11.2
Electron Version: 0.37.8
System: Unknown Windows Version
Thrown From: qiniu-uploader package, v0.0.3

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At C:\Users\Jason\.atom\packages\qiniu-uploader\node_modules\sync-request\index.js:10

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at Object.<anonymous> (C:\Users\Jason\.atom\packages\qiniu-uploader\node_modules\sync-request\index.js:10:1)
    at Module._compile (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\Jason\.atom\packages\qiniu-uploader\node_modules\qiniu\qiniu\zone.js:1:94)
    at Module._compile (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\Jason\.atom\packages\qiniu-uploader\node_modules\qiniu\qiniu\io.js:11:12)
    at Module._compile (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\Jason\.atom\packages\qiniu-uploader\node_modules\qiniu\index.js:8:7)
    at Module._compile (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/Jason/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:9)
    at Object.<anonymous> (file:///C:/Users/Jason/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:1)
    at Module._compile (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/Jason/.atom/packages/qiniu-uploader/lib/main.coffee:1:12)
    at Object.<anonymous> (file:///C:/Users/Jason/.atom/packages/qiniu-uploader/lib/main.coffee:1:1)
    at Module._compile (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\Jason\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.module.exports.eventHandler (file:///C:/Users/Jason/.atom/packages/markdown-assistant/lib/main.coffee:51:20)
    at atom-workspace.<anonymous> (file:///C:/Users/Jason/.atom/packages/markdown-assistant/lib/main.coffee:29:10)

Commands

  3x -7:43.7.0 core:paste (atom-text-editor.editor.is-focused)
     -3:08.7.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
  2x -3:08.3.0 core:backspace (atom-text-editor.editor.is-focused)
  4x -3:03.4.0 core:paste (atom-text-editor.editor.is-focused)
     -0:09.8.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:09.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:03.4.0 core:paste (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "markdown-preview",
      "pretty-json",
      "minimap",
      "autocomplete-python",
      "markdown-img-paste"
    ],
    "telemetryConsent": "limited",
    "themes": [
      "atom-dark-ui",
      "solarized-light-syntax"
    ]
  }
}

Installed Packages

# User
atom-html-preview, v0.1.22 (active)
autocomplete-plus, v2.31.3 (active)
autocomplete-python, v1.8.6 (inactive)
flex-tool-bar, v0.11.0 (active)
git-plus, v5.18.0 (active)
markdown-assistant, v0.2.0 (active)
markdown-img-paste, v0.3.2 (inactive)
markdown-preview-plus, v2.4.0 (active)
markdown-scroll-sync, v2.1.2 (active)
markdown-writer, v2.6.1 (active)
minimap, v4.25.0 (inactive)
monokai-flat, v1.0.1 (inactive)
pretty-json, v1.6.0 (inactive)
qiniu-uploader, v0.0.3 (inactive)
sync-settings, v0.7.2 (active)
tool-bar, v1.0.1 (active)
tool-bar-markdown-writer, v0.2.0 (active)
tree-view-git-status, v1.2.0 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (active)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (inactive)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (active)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.3 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (inactive)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2-hotfix1 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Uncaught TypeError: _this.toggle is not a function

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.6.0
System: Linux Mint
Thrown From: qiniu-uploader package, v0.0.3

Stack Trace

Uncaught TypeError: _this.toggle is not a function

At /home/justin/.atom/packages/qiniu-uploader/lib/main.coffee:30

TypeError: _this.toggle is not a function
    at atom-workspace.subscriptions.add.atom.commands.add.qiniu-uploader:toggle (/home/justin/.atom/packages/qiniu-uploader/lib/main.coffee:30:89)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/usr/share/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-li.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
    at HTMLOListElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLOListElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

  2x -6:45.9.0 core:paste (atom-text-editor#qiniu-uploader.qiniuDomain.editor.mini.is-focused)
     -6:37.7.0 core:select-all (atom-text-editor#qiniu-uploader.qiniuDomain.editor.mini.is-focused)
     -6:36.9.0 core:paste (atom-text-editor#qiniu-uploader.qiniuDomain.editor.mini.is-focused)
  2x -6:33.8.0 core:backspace (atom-text-editor#qiniu-uploader.qiniuDomain.editor.mini.is-focused)
     -6:03.9.0 core:paste (atom-text-editor#qiniu-uploader.qiniuSK.editor.mini.is-focused)
     -5:19.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -4:35 command-palette:toggle (div.panels-item)
     -4:30.4.0 qiniu-uploader:toggle (div.panels-item)
  3x -3:10.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -1:23.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:26.6.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -0:18.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:15.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:10.2.0 markdown-preview:toggle (atom-text-editor.editor.is-focused)
     -0:06.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:01.1.0 qiniu-uploader:toggle (atom-text-editor.editor)

Config

{
  "core": {},
  "qiniu-uploader": {

  }
}

Installed Packages

# User
qiniu-uploader, v0.0.3

# Dev
No dev packages

install error

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.9.9
System: linux 4.7.6-1-ARCH
Thrown From: qiniu-uploader package, v0.0.3

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At /home/huybery/.atom/packages/qiniu-uploader/node_modules/qiniu/node_modules/sync-request/index.js:10

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/node_modules/qiniu/node_modules/sync-request/index.js:10:1)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/node_modules/qiniu/qiniu/zone.js:1:94)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/node_modules/qiniu/qiniu/io.js:11:12)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/node_modules/qiniu/index.js:8:7)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:9)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:1)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/lib/main.coffee:1:12)
    at Object.<anonymous> (/home/huybery/.atom/packages/qiniu-uploader/lib/main.coffee:1:1)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app.asar/src/package.js:715:27)
    at Package.module.exports.Package.activateConfig (/usr/share/atom/resources/app.asar/src/package.js:222:12)
    at PackageDetailView.module.exports.PackageDetailView.activateConfig (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:216:26)
    at PackageDetailView.module.exports.PackageDetailView.completeInitialzation (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:159:12)
    at PackageDetailView.module.exports.PackageDetailView.loadPackage (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:171:21)
    at PackageDetailView.module.exports.PackageDetailView.initialize (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:146:19)
    at PackageDetailView.View [as constructor] (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:184:25)
    at PackageDetailView.ScrollView [as constructor] (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/scroll-view.js:12:47)
    at new PackageDetailView (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:38:54)
    at /usr/share/atom/resources/app.asar/node_modules/settings-view/lib/settings-view.js:267:22
    at SettingsView.module.exports.SettingsView.getOrCreatePanel (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/settings-view.js:272:19)
    at SettingsView.module.exports.SettingsView.showPanel (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/settings-view.js:318:24)
    at space-pen-div.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-card.js:272:83)
    at space-pen-div.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at space-pen-div.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -7:43.5.0 core:paste (atom-text-editor#markdown-img-paste.zdomain.editor.mini.is-focused)
     -7:41.5.0 core:save (atom-text-editor#markdown-img-paste.zdomain.editor.mini.is-focused)
  4x -7:37.1.0 markdown-img-paste:paste (atom-text-editor.editor.is-focused)
     -7:33.4.0 core:paste (atom-text-editor.editor.is-focused)
     -7:32 core:undo (atom-text-editor.editor.is-focused)
  7x -7:21.3.0 markdown-img-paste:paste (atom-text-editor.editor.is-focused)
     -7:15.5.0 core:backspace (atom-text-editor.editor.is-focused)
 82x -7:14.8.0 markdown-img-paste:paste (atom-text-editor.editor.is-focused)
     -5:05.1.0 core:paste (atom-text-editor.editor.mini.is-focused)
     -5:02.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -4:41.3.0 core:select-all (atom-text-editor.editor.mini.is-focused)
     -4:40.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:42.7.0 core:paste (atom-text-editor.editor.mini.is-focused)
     -0:42.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "editor-background"
    ],
    "packagesWithKeymapsDisabled": [
      "atom-beautify"
    ],
    "themes": [
      "atom-material-ui",
      "flat-ui-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.29.12 (active)
atom-css-comb, v3.1.0 (inactive)
atom-material-syntax, v0.4.6 (inactive)
atom-material-ui, v1.3.6 (active)
atom-ternjs, v0.15.0 (active)
dracula-theme, v1.2.8 (inactive)
dracula-ui, v0.3.0 (inactive)
editor-background, v1.2.23 (inactive)
file-icons, v1.7.19 (active)
firewatch-syntax, v1.0.1 (inactive)
flat-ui-syntax, v0.4.0 (active)
jquery-snippets, v11.0.0 (active)
language-vue, v0.16.1 (active)
markdown-assistant, v0.2.0 (active)
pigments, v0.34.0 (active)
platformio-ide-terminal, v2.2.0 (active)
qiniu-uploader, v0.0.3 (inactive)
seti-syntax, v1.0.1 (inactive)
seti-ui, v1.3.2 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (inactive)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.1 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.1 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

上传已存在图片时异常(粘贴图片正常)

.atom\packages\qiniu-uploader\lib\main.coffee:30
Hide Stack Trace
TypeError: _this.toggle is not a function
at HTMLElement.subscriptions.add.atom.commands.add.qiniu-uploader:toggle (file:///C:/Users/zhaoxuan/.atom/packages/qiniu-uploader/lib/main.coffee:30:89)
at CommandRegistry.handleCommandEvent (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\src\command-registry.js:381:36)
at Object.didConfirmSelection (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\node_modules\command-palette\lib\command-palette-view.js:144:35)
at SelectListView.confirmSelection (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\node_modules\command-palette\node_modules\atom-select-list\src\select-list-view.js:327:26)
at HTMLDivElement.core:confirm (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\node_modules\command-palette\node_modules\atom-select-list\src\select-list-view.js:84:20)
at CommandRegistry.handleCommandEvent (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\src\command-registry.js:381:36)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:621:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\node_modules\atom-keymap\lib\keymap-manager.js:412:28)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\src\window-event-handler.js💯42)
at HTMLDocument. (C:\Users\kenzhao\AppData\Local\atom\app-1.22.1\resources\app\src\window-event-handler.js:3:65)

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an al...

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.12.4
Electron Version: 1.3.9
System: Mac OS X 10.10.5
Thrown From: qiniu-uploader package, v0.0.3

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At /Users/wmm/.atom/packages/qiniu-uploader/node_modules/sync-request/index.js:10

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/sync-request/index.js:10:1)
    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/qiniu/qiniu/zone.js:1:94)
    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/qiniu/qiniu/io.js:11:12)
    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/Users/wmm/.atom/packages/qiniu-uploader/node_modules/qiniu/index.js:8:7)
    at Module._compile (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.value [as .js] (/Users/wmm/Downloads/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:201:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)

Commands

     -0:00.0 core:paste (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "telemetryConsent": "no"
  }
}

Installed Packages

# User
activate-power-mode, v1.1.0 (active)
color-picker, v2.2.3 (active)
markdown-assistant, v0.2.0 (active)
qiniu-uploader, v0.0.3 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (active)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (active)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.46.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

不太懂什么意思

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3
System: Unknown Windows Version
Thrown From: qiniu-uploader package, v0.0.3

Stack Trace

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

At C:\Users\Administrator\.atom\packages\qiniu-uploader\node_modules\qiniu\node_modules\sync-request\index.js:10

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".

    at Function (native)
    at Object.<anonymous> (C:\Users\Administrator\.atom\packages\qiniu-uploader\node_modules\qiniu\node_modules\sync-request\index.js:10:1)
    at Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\Administrator\.atom\packages\qiniu-uploader\node_modules\qiniu\qiniu\zone.js:1:94)
    at Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\Administrator\.atom\packages\qiniu-uploader\node_modules\qiniu\qiniu\io.js:11:12)
    at Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (C:\Users\Administrator\.atom\packages\qiniu-uploader\node_modules\qiniu\index.js:8:7)
    at Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/Administrator/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:9)
    at Object.<anonymous> (file:///C:/Users/Administrator/.atom/packages/qiniu-uploader/lib/uploader.coffee:1:1)
    at Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/Administrator/.atom/packages/qiniu-uploader/lib/main.coffee:1:12)
    at Object.<anonymous> (file:///C:/Users/Administrator/.atom/packages/qiniu-uploader/lib/main.coffee:1:1)
    at Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:715:27)
    at Package.module.exports.Package.activateConfig (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:222:12)
    at PackageDetailView.module.exports.PackageDetailView.activateConfig (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-detail-view.js:220:26)
    at PackageDetailView.module.exports.PackageDetailView.completeInitialzation (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-detail-view.js:163:12)
    at PackageDetailView.module.exports.PackageDetailView.loadPackage (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-detail-view.js:175:21)
    at C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-detail-view.js:306:17
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at PackageManager.module.exports.PackageManager.emitPackageEvent (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-manager.js:672:27)
    at C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-manager.js:460:26
    at exit (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
    at triggerExitCallback (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\buffered-process.js:215:47)
    at ChildProcess.<anonymous> (C:\Users\Administrator\AppData\Local\atom\app-1.7.3\resources\app.asar\src\buffered-process.js:237:18)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

     -2:18.8.0 command-palette:toggle (div.panels-item)
     -2:10.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  3x -1:58.2.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -1:54.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:05.3.0 core:paste (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
javascript-snippets, v1.2.1
markdown-assistant, v0.2.0
php-integrator-autocomplete-plus, v0.8.1

# Dev
No dev packages

Uncaught ReferenceError: err is not defined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.36.1 x64
Electron: 2.0.18
OS: "Fedora release
Thrown From: qiniu-uploader package 0.0.5

Stack Trace

Uncaught ReferenceError: err is not defined

At /home/liufree/.atom/packages/qiniu-uploader/lib/uploader.coffee:36

ReferenceError: err is not defined
    at /packages/qiniu-uploader/lib/uploader.coffee:36:18
    at /packages/qiniu-uploader/node_modules/qiniu/qiniu/storage/form.js:74:9
    at /packages/qiniu-uploader/node_modules/qiniu/qiniu/zone.js:77:7
    at done (/packages/qiniu-uploader/node_modules/urllib/lib/urllib.js:444:5)
    at /packages/qiniu-uploader/node_modules/urllib/lib/urllib.js:693:9
    at decodeContent (/packages/qiniu-uploader/node_modules/urllib/lib/urllib.js:517:14)
    at /packages/qiniu-uploader/node_modules/urllib/lib/urllib.js:658:7)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

  2x -0:09.8.0 core:paste (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-clock 0.1.16 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
bracket-colorizer 1.3.0 
clipboard-plus 0.5.1 
darcula-syntax 0.2.1 
dracula-ui 0.6.0 
GobbieGobGoo 1.0.4 
markdown-assistant 0.2.0 
markdown-img-qiniu 2.0.0 
markdown-preview-enhanced 0.15.10 
markdown-table-editor 1.1.1 
markdown-themeable-pdf 1.2.1 
markdown-writer 2.11.5 
pdf-view 0.71.0 
qiniu-uploader 0.0.5 
tool-bar 1.1.11 
tool-bar-markdown-writer 0.5.0 
trans-en-zh 0.2.5 
vim-mode-plus 1.36.0 

Uncaught SyntaxError: Unexpected end of JSON input

[Enter steps to reproduce:]

  1. 直接粘贴截图失败,是我七牛没有配置好吗
  2. ...

Atom: 1.20.0 x64
Electron: 1.6.9
OS: Unknown Windows version
Thrown From: qiniu-uploader package 0.0.3

Stack Trace

Uncaught SyntaxError: Unexpected end of JSON input

At file:///C:/Users/Administrator/AppData/Local/atom/app-1.20.0/resources/app/static/index.html:2

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object.exports.parse (/packages/qiniu-uploader/node_modules/sync-request/lib/json-buffer/index.js:46:15)
    at doRequest (/packages/qiniu-uploader/node_modules/sync-request/index.js:33:23)
    at Object.exports.up_host (/packages/qiniu-uploader/node_modules/qiniu/qiniu/zone.js:34:15)
    at putReadable (/packages/qiniu-uploader/node_modules/qiniu/qiniu/io.js:55:8)
    at Object.put (/packages/qiniu-uploader/node_modules/qiniu/qiniu/io.js:75:10)
    at Uploader.module.exports.Uploader.upload (/packages/qiniu-uploader/lib/uploader.coffee:28:14)
    at uploadFn (/packages/markdown-assistant/lib/main.coffee:57:23)
    at /packages/markdown-assistant/lib/insert-image-view.coffee:63:9

Commands

  4x -9:08.3.0 core:paste (input.hidden-input)
     -2:15.2.0 intentions:highlight (input.hidden-input)
     -2:14.8.0 core:paste (input.hidden-input)

Non-Core Packages

atom-autocomplete-php 0.25.6 
atom-beautify 0.30.5 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
autocomplete-paths 2.11.0 
busy-signal 1.4.3 
color-picker 2.2.5 
docblockr 0.11.0 
emmet 2.4.3 
file-icons 2.1.11 
highlight-selected 0.13.1 
intentions 1.1.5 
linter 2.2.0 
linter-php 1.4.0 
linter-ui-default 1.6.8 
markdown-assistant 0.2.0 
markdown-preview-plus 2.4.10 
markdown-writer 2.7.2 
pigments 0.40.2 
platformio-ide-terminal 2.6.0 
qiniu-uploader 0.0.3 
regex-railroad-diagram 0.19.3 
script 3.15.0 
simplified-chinese-menu 5.3.4 
sync-settings 0.8.3 
tool-bar 1.1.0 
tool-bar-almighty 0.8.2 
tool-bar-markdown-writer 0.3.0 
tree-view-git-status 1.4.0 

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.