Giter Club home page Giter Club logo

Comments (4)

UrsusMortiferum avatar UrsusMortiferum commented on August 21, 2024

Hello,

I have similar issues with pigments:palette.

Description

Steps to Reproduce

  1. I open Command Palette, search pigm, and select Pigments: Show Palette.
  2. A new tab opens labeled Palette. When I try to swap to/close it, it takes a bit and then throws this error.
  3. Left Clicking on the word Palette on the new tabs opens a new tab labeled Palette. Clicking the tab background or the close button does nothing.
  4. In my case, colors aren't rendering at all.

Versions

Atom: 1.60.0 x64
Electron: 9.4.4
OS: macOS 12.3.1
Thrown From: pigments package 0.40.6

Stack Trace

Uncaught ReferenceError: CUSTOM_HTML_ELEMENTS_CLASSES is not defined

At /Users/ursus_mortiferum/.atom/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55

ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
    at module.exports (/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55:5)
    at /packages/pigments/lib/palette-element.coffee:237:1)
    at /packages/pigments/lib/palette-element.coffee:1:1)
    at /packages/pigments/lib/palette-element.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149913)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:153507)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149229)
    at Object.pigmentsViewProvider (/packages/pigments/lib/pigments.coffee:206:25)
    at Object.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3418346)
    at ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327939)
    at ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327404)
    at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:139:33)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1187666)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1189107)
    at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:459674)
    at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:461922)
    at TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1138283)

Commands

     -1:14.6.0 intentions:highlight (input.hidden-input)
     -1:14.4.0 command-palette:toggle (input.hidden-input)
  2x -1:12.4.0 core:backspace (input.hidden-input)
     -1:09.8.0 core:move-left (input.hidden-input)
     -1:09.6.0 core:move-down (input.hidden-input)
     -1:09.2.0 core:confirm (input.hidden-input)
     -1:09.2.0 pigments:show-palette (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-discord 2.0.2 
auto-update-packages 1.0.1 
autoclose-html 0.23.0 
bracket-colorizer 1.4.0 
browser-plus 0.0.98 
busy-signal 2.0.1 
dracula-syntax 3.0.2 
dracula-ui 0.6.0 
emmet 2.4.3 
import 1.7.0 
intentions 2.1.1 
linter 3.4.0 
linter-csslint 2.0.6 
linter-htmlhint 1.6.3 
linter-tidy 2.4.0 
linter-ui-default 3.4.1 
livereload 0.4.4 
minimap 4.40.1 
minimap-pigments 0.2.2 
pane-layout-plus 0.7.4 
pigments 0.40.6 
platformio-ide-terminal 2.10.1 
script 3.32.2 
sync-settings 5.2.15 

from atom-pigments.

UrsusMortiferum avatar UrsusMortiferum commented on August 21, 2024

#Update - I was able to resolve issues with not rendering colors :) + I was able to open the Palette tab without any problems; however, it's still empty.

In my case, creating a .pigments file helped

from atom-pigments.

UrsusMortiferum avatar UrsusMortiferum commented on August 21, 2024

Overall, I was able to resolve all issues. After all, the palette was empty due to an incorrect database. @shelbyKiraM, I hope you will be able to come up with some solution for your case.

from atom-pigments.

tjdodson avatar tjdodson commented on August 21, 2024

Prerequisites

Description

Reaffirming this is still an issue and that I do not see any documentation on how to fix.

Steps to Reproduce

  1. apm install atom-pigments
  2. open Pigments: Show Pallette

Expected behavior:

No errors

Actual behavior:

Screen Shot 2022-09-20 at 2 16 02 PM

Versions

Atom: 1.60.0 x64
Electron: 9.4.4
OS: macOS 12.6
Thrown From: pigments package 0.40.6

Stack Trace

Uncaught ReferenceError: CUSTOM_HTML_ELEMENTS_CLASSES is not defined

At /Users/t0d00bh/.atom/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55

ReferenceError: __CUSTOM_HTML_ELEMENTS_CLASSES__ is not defined
    at module.exports (/packages/pigments/node_modules/atom-utils/lib/register-or-update-element.js:55:5)
    at /packages/pigments/lib/palette-element.coffee:237:1)
    at /packages/pigments/lib/palette-element.coffee:1:1)
    at /packages/pigments/lib/palette-element.coffee:1:1)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149913)
    at Object.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:153507)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:149229)
    at Object.pigmentsViewProvider (/packages/pigments/lib/pigments.coffee:206:25)
    at Object.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3418346)
    at ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327939)
    at ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327404)
    at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:139:33)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1187666)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1189107)
    at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:459674)
    at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:461922)
    at TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1138283)

Commands

     -0:36.2.0 intentions:highlight (input.hidden-input)
  5x -0:36 core:undo (input.hidden-input)
     -0:32.5.0 intentions:highlight (input.hidden-input)
     -0:32.2.0 command-palette:toggle (input.hidden-input)
  8x -0:28.6.0 core:backspace (input.hidden-input)
  9x -0:22.4.0 core:move-down (input.hidden-input)
     -0:19.9.0 core:move-up (input.hidden-input)
     -0:19.5.0 core:confirm (input.hidden-input)
     -0:19.5.0 pigments:show-palette (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-css-comb 3.5.1 
atom-html-preview 0.2.7 
atom-wrap-in-tag 0.6.0 
autoclose-html 0.23.0 
autocomplete-python 1.17.1 
busy-signal 2.0.1 
color-picker 2.3.0 
docker 0.8.0 
double-tag 1.7.0 
drag-relative-path 1.2.3 
emmet 2.4.3 
file-icons 2.1.47 
highlight-selected 0.17.0 
Hydrogen 2.16.3 
intentions 2.1.1 
language-docker 1.1.8 
less-than-slash 0.20.0 
linter 3.4.0 
linter-csslint 2.0.6 
linter-docker 0.3.2 
linter-htmlhint 1.6.3 
linter-jshint 3.1.19 
linter-ui-default 3.4.1 
markdown-to-pdf 0.1.1 
merge-conflicts 1.4.5 
minimap 4.40.1 
minimap-cursorline 1.0.5 
pdf-view 0.73.0 
pigments 0.40.6 
platformio-ide-terminal 2.10.1 
prettier-atom 0.60.1 
script 3.32.2 
teletype 0.13.4 
todo-show 2.3.2 

Additional Information

from atom-pigments.

Related Issues (20)

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.