Giter Site home page Giter Site logo

atom-extensions / dec-hex-oct-bin Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 1.11 MB

Atom package that provides a helper panel to convert decimal / hex / octal and binary values at cursor position.

Home Page: https://atom.io/packages/dec-hex-oct-bin

License: MIT License

JavaScript 95.61% Less 4.39%
atom hex binary octal decimal decimal-to-binary decimal-to-hexadecimal conversion converter

dec-hex-oct-bin's People

Contributors

dependabot[bot] avatar erkkikeranen avatar semantic-release-bot avatar uzitech avatar vivi90 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

uzitech octomaven

dec-hex-oct-bin's Issues

[BUG] Uncaught TypeError: Cannot read property 'prototype' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.1-2ff8f90
System: linux 4.0.7-2-ARCH
Thrown From: dec-hex-oct-bin package, v0.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'prototype' of undefined

At /home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:4

TypeError: Cannot read property 'prototype' of undefined
  at __extends (/home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:4:199)
  at /home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:6:3
  at Object.<anonymous> (/home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:171:5)
  at Object.<anonymous> (/home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/usr/local/share/atom/resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Object.<anonymous> (/home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin.coffee:1:20)
  at Object.<anonymous> (/home/phate/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/usr/local/share/atom/resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Package.module.exports.Package.requireMainModule (/usr/local/share/atom/resources/app.asar/src/package.js:709:34)
  at Package.module.exports.Package.activateConfig (/usr/local/share/atom/resources/app.asar/src/package.js:257:12)
  at PackageDetailView.module.exports.PackageDetailView.activate (/usr/local/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:163:26)
  at PackageDetailView.module.exports.PackageDetailView.updateInstalledState (/usr/local/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:201:12)
  at /usr/local/share/atom/resources/app.asar/node_modules/settings-view/lib/package-detail-view.js:235:24
  at /usr/local/share/atom/resources/app.asar/node_modules/emissary/lib/emitter.js:155:30
  at Array.forEach (native)
  at PackageManager.module.exports.Emitter.emitSlow (/usr/local/share/atom/resources/app.asar/node_modules/emissary/lib/emitter.js:154:47)
  at PackageManager.module.exports.Emitter.emit (/usr/local/share/atom/resources/app.asar/node_modules/emissary/lib/emitter.js:107:30)
  at PackageManager.module.exports.PackageManager.emitPackageEvent (/usr/local/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:546:19)
  at /usr/local/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:369:26
  at exit (/usr/local/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:53:16)
  at triggerExitCallback (/usr/local/share/atom/resources/app.asar/src/buffered-process.js:213:47)
  at /usr/local/share/atom/resources/app.asar/src/buffered-process.js:220:18
  at Socket.<anonymous> (/usr/local/share/atom/resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

     -0:19.8.0 settings-view:open (atom-text-editor.editor.is-focused)
     -0:16.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "svn"
    ],
    "autoHideMenuBar": true,
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
hex, v0.6.2
language-rust, v0.4.3
linter-clang, v2.26.0
linter-javac, v0.1.4
linter-rust, v0.1.0
racer, v0.15.2
rust-api-docs-helper, v0.5.1

# Dev
No dev packages

[BUG] Failed to activate the dec-hex-oct-bin package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.15
System: Mac OS X 10.10.5
Thrown From: dec-hex-oct-bin package, v0.1.1

Stack Trace

Failed to activate the dec-hex-oct-bin package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
  at __extends (/Users/Blumonpay/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:1:1)
  at /Users/Blumonpay/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:6:3
  at Object.<anonymous> (/Users/Blumonpay/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:171:5)
  at Object.<anonymous> (/Users/Blumonpay/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:1:1)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Object.<anonymous> (/Users/Blumonpay/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin.coffee:1:20)
  at Object.<anonymous> (/Users/Blumonpay/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin.coffee:1:1)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:761:34)
  at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:263:14)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:241:14)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:838:25
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:226:20)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:145:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:169:7)

Commands

     -0:18.2.0 application:new-file (atom-text-editor.editor.is-focused)
     -0:17.7.0 core:paste (atom-text-editor.editor.is-focused)
     -0:16.4.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:09.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:07.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:05.2.0 core:undo (atom-text-editor.editor.is-focused)
     -0:00.7.0 dec-hex-oct-bin:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
color-picker, v2.0.12
dec-hex-oct-bin, v0.1.1
emmet, v2.3.12

# Dev
No dev packages

[BUG] Failed to load the dec-hex-oct-bin package

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0
System: Mac OS X 10.10.5
Thrown From: dec-hex-oct-bin package, v0.1.1

Stack Trace

Failed to load the dec-hex-oct-bin package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
  at __extends (/Users/bruce/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:1:1)
  at /Users/bruce/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:6:3
  at Object.<anonymous> (/Users/bruce/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:171:5)
  at Object.<anonymous> (/Users/bruce/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin-view.coffee:1:1)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Object.<anonymous> (/Users/bruce/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin.coffee:1:20)
  at Object.<anonymous> (/Users/bruce/.atom/packages/dec-hex-oct-bin/lib/dec-hex-oct-bin.coffee:1:1)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:725:34)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:176:28
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:153:15)
  at Package.module.exports.Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:167:12)
  at PackageManager.module.exports.PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:396:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:473:30)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:444:29
  at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
  at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
  at ChildProcess.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:235: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

     -7:51.8.0 command-palette:toggle (atom-text-editor.editor.mini.is-focused)
     -7:50 core:confirm (atom-text-editor.editor.mini.is-focused)
     -7:50 sync-settings:backup (atom-text-editor.editor.mini)
     -7:07.4.0 line-ending-converter-list-view:show (atom-text-editor.editor)
     -7:05.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -7:05.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
 21x -4:25.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -4:23 command-palette:toggle (atom-text-editor.editor.mini.is-focused)
     -4:19.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -4:19.4.0 sync-settings:backup (atom-text-editor.editor.mini)
  6x -3:40.5.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -3:38 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "useReactEditor": true,
    "themes": [
      "one-dark-ui",
      "base16-tomorrow-dark-theme"
    ],
    "disabledPackages": [
      "goto",
      "atom-beautify",
      "symbols-view",
      "ctags-status",
      "git-history",
      "minimap-find-and-replace",
      "minimap-git-diff",
      "minimap-highlight-selected",
      "minimap",
      "symbol-gen",
      "line-ending-selector"
    ],
    "packagesWithKeymapsDisabled": [
      "symbols-view",
      "column-select"
    ]
  }
}

Installed Packages

# User
atom-ctags, v4.4.0
autocomplete-ctags, v0.3.2
column-select, v0.2.0
cursor-history, v0.5.6
dec-hex-oct-bin, v0.1.1
deprecation-cop, v0.54.0
disable-keybindings, v0.5.0
file-icons, v1.6.11
highlight-column, v0.5.0
highlight-line, v0.11.0
language-go, v0.39.0
language-perl, v0.30.0
language-ruby, v0.60.0
language-ruby-on-rails, v0.23.0
language-toml, v0.16.0
line-ending-converter, v1.3.2
metrics, v0.53.0
open-recent, v4.0.1
selection-highlight, v0.1.4
symbols-tree-view, v0.10.1
sync-settings, v0.6.0

# Dev
No dev packages

Shows 'NaN' everytime and throws TypeError: Cannot read property 'getSelectedText' of undefined

Sometimes it happens, that the plugin is not usable, because it continues to display NaN.
In such a situation it also throws at least at the developer console the following message:

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined
    at DecHexOctBinView.getSelectedText (dec-hex-oct-bin-view.js:73)
    at DecHexOctBinView.parseAsHex (dec-hex-oct-bin-view.js:85)
getSelectedText    @    dec-hex-oct-bin-view.js:73
parseAsHex    @    dec-hex-oct-bin-view.js:85

Confirmed affected operating systems are both Windows 10 and Manjaro Linux.
Some users are lucky and after closing and reopening the plugin panel, it works again.
But some users not.
Here are the environment versions of one of the unlucky users on Windows 10:

Atom    : 1.55.0       
Electron: 6.1.12       
Chrome  : 76.0.3809.146
Node    : 12.4.0  

The origin of this issue seems to be:

return atom.workspace.getActiveTextEditor().getSelectedText();

So this might be an issue with Atom itself?
Unfortunately this issue seems to be hardly reproducible.

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No apm token specified.

An apm token must be created and set in the ATOM_ACCESS_TOKEN environment variable on your CI environment.

Please visit your account page on atom.io and to set it in the ATOM_ACCESS_TOKEN environment variable on your CI environment.


Good luck with your project ✨

Your semantic-release bot 📦🚀

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.