Giter Site home page Giter Site logo

Comments (51)

vl4dt avatar vl4dt commented on September 13, 2024 1

I was having the exact same issue @realmikebutler reported, I'm on OS X Yosemite.
This worked for me:
https://packagecontrol.io/packages/Gutter%20Color

...

Fixing ImageMagick on OSX

If you're experiencing issues with ImageMagick (installed via brew) when using GutterColor on OSX, follow these instructions to fix it.

  • Uninstall IM with brew uninstall imagemagick
  • Install again with a couple of options brew install imagemagick --with-xz --with-font-config --with-little-cms --with-little-cms2
  • Check the location of convert with type convert
  • Copy the location and edit the GutterColor/Settings - User convert_path to be the value of step 3.

...

In my particular case the 'convert' path I used was:
/opt/ImageMagick/bin/convert

And problem solved

from guttercolor.

padhie avatar padhie commented on September 13, 2024 1

I have the same Problem like realmikebutler at the beginning :(
I use:

  • Sublime Text 3
  • Windows 7 64 bit
  • ImageMagig 7.0.3-8-Q16-x64

pleace help me :'(

from guttercolor.

ggordan avatar ggordan commented on September 13, 2024

Hi @realmikebutler. Which OS are you using? Do You have ImageMagick installed? This happens when you do not set the correct convert_path

from guttercolor.

realmikebutler avatar realmikebutler commented on September 13, 2024

Hi @ggordan I installed using Package Control - so I never knew there was an ImageMagick requirement. So I guess I should change to issue to : on initial installation open a new buffer and display requirements like a lot of other plugin's do.

I'll go install ImageMagick now. Cheers.

from guttercolor.

drzhnn avatar drzhnn commented on September 13, 2024

Hi. I had the same issue @realmikebutler has and I solved it by installing 32-bit version of ImageMagick (though I use 64-bit version of ST3). Hope it helps. Cheers. And thanks for the great plugin!

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

I think this could be improved by adding a message that is displayed once GutterColor is installed. Also, perhaps we could display an alert if the default path isn't found? Mine for example is installed with brew, so it's located at /usr/local/Cellar/imagemagick/6.8.7-7/bin/convert.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Maybe we could add a bunch of paths that convert might be found at and use that?

from guttercolor.

lionelhenne avatar lionelhenne commented on September 13, 2024

Hello, @drzhnn can you tell us where you did find the 32-bit version of ImageMagick?

from guttercolor.

drzhnn avatar drzhnn commented on September 13, 2024

Sure. It's on the official site here: http://www.imagemagick.org/script/binary-releases.php#windows
I use ImageMagick-6.8.8-7-Q16-x86-windows.zip version.

from guttercolor.

lionelhenne avatar lionelhenne commented on September 13, 2024

Oh, I forgot to say I'm on Mac OS; doesn't seem to be any 32-bit binaries for us... Thank you anyway :)

from guttercolor.

lionelhenne avatar lionelhenne commented on September 13, 2024

So I have the same issue, orange blobs instead of colors. I'm on Mac OS 10.9.1, ImageMagick is installed and works with the command line, "convert_path" is set.

term1
term2
user-settings

from guttercolor.

ggordan avatar ggordan commented on September 13, 2024

Hey @lionelhenne, sorry to hear you're having issues. When you set the convert_path, and restart Sublime, is this still an issue? Do any icons exist in ~/Library/Application Support/Sublime Text 3/Cache/GutterColor?

from guttercolor.

lionelhenne avatar lionelhenne commented on September 13, 2024

Hello @ggordan, the issue is still here after setting the convert_path and restarting ST3. There is no icons in ~/Library/Application Support/Sublime Text 3/Cache/GutterColor(the folder is empty).

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Hey all, I'm working on finding the convert binary automatically. Can you give this a go? You'll need to remove GutterColor and install this manually if you can please.

@ggordan anything you want to add to the code that you think may help?

I've only got OSX paths at the moment, so what's the Windows and Linux equivalents?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

Having the same problem, more or less.
My cache folder is empty, though I did set the correct path to my home-brewed version of imagemagick.
This is what my gutter looks like:

I've also tried the new branch @jbrooksuk posted, but that didn't change anything.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Wow that's really messed up. I'll have to have a gander at this later on I'm afraid.

from guttercolor.

klapec avatar klapec commented on September 13, 2024

I had the same problem (red/orange squares even though I had convert_path set correctly) and the version from the auto-convert branch sorted it out. It works as intended now.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

+1 to the auto-convert branch then!

from guttercolor.

ggordan avatar ggordan commented on September 13, 2024

@derTyp, what theme are you using?

from guttercolor.

ggordan avatar ggordan commented on September 13, 2024

@jbrooksuk, that looks really good.

/usr/local/bin is another path where it might be. This is the location for OSX for me.
Strangely, convert.exe is what works for me on Windows.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Added /usr/local/bin.

Did it work on Windows?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

@ggordan I'm running Soda 3. SunCycle just switched the theme to Soda Dark 3 (as the sun just set over here), and now the color blobs are displaying correctly, and I have some png files in the Cache folder.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

The cache remains static in that it won't generate images for different themes, so it's weird that has happened.

from guttercolor.

fucx avatar fucx commented on September 13, 2024

That's strange then. But it seems to be working perfectly now.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Can you let us know if it breaks when the next cycle occurs?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

Sure thing. I'll keep an eye out.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Thanks man.

from guttercolor.

ggordan avatar ggordan commented on September 13, 2024

@derTyp thanks for the info. I think I ran into this issue with a theme. Not sure which one though. I think some themes grayscale gutter icons (never tried, so this could just be me rambling nonsense here). Though, that doesn't make much sense since the SublimeLinter icon is displaying in color. I'll have a look into this

from guttercolor.

lionelhenne avatar lionelhenne commented on September 13, 2024

Here's what I tried:

  • native theme on ST3
  • GutterColor removed and resinstalled
  • all the ImageMagick binaries moved in usr/bin/ with "convert_path" = "/usr/bin/convert"

and still got the orange blobs (with original package and @jbrooksuk's fork). Same issue on a brand new session with a clean ST3.

from guttercolor.

fucx avatar fucx commented on September 13, 2024

ST 3 just switched back to Soda Light 3 Theme, and now all I see is black circles again.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

@derTyp what happens if you quite Sublime and re-open?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

Still the same black circles.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

That's really bizarre. Can you check the Cache directory and tell us what you see?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

Sure. The files from yesterday still exist, hat there aren't any new ones from today:

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Are there cache directories for your Soda themes?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

yes, there are:

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Even weirder then...

Do you have any output in the console regarding GutterColor?

from guttercolor.

fucx avatar fucx commented on September 13, 2024

Not much:

startup time: 1.47265
launching: /Applications/Sublime Text.app/Contents/MacOS/plugin_host
loaded 855 snippets
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin Codec.sublime_codec
reloading plugin GPG.gpg
reloading plugin Package Control.Package Control
reloading plugin Sublimall.Sublimall
reloading plugin SublimeLinter-annotations.linter
SublimeLinter: annotations linter loaded 
reloading plugin SunCycle.sun
reloading plugin SunCycle.SunCycle
reloading plugin SunCycle.timezone
reloading plugin CSScomb.CSScomb
reloading plugin Gutter Color.file
reloading plugin Gutter Color.gutter_color
reloading plugin Gutter Color.line
reloading plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
reloading plugin SublimeLinter-coffee.linter
SublimeLinter: coffee linter loaded 
reloading plugin SublimeLinter-csslint.linter
SublimeLinter: csslint linter loaded 
reloading plugin SublimeLinter-html-tidy.linter
SublimeLinter: htmltidy linter loaded 
reloading plugin SublimeLinter-json.linter
SublimeLinter: json linter loaded 
reloading plugin SublimeLinter-php.linter
SublimeLinter: php linter loaded 
plugins loaded
SublimeLinter: debug mode: off 
SublimeLinter: csslint activated: /usr/local/bin/csslint 
SublimeLinter: annotations activated: <builtin> 
SunCycle: Using Central European Standard Time
SunCycle: Sunrise at 2014-02-25 06:57:38.806526+01:00
SunCycle: Sunset at 2014-02-25 17:41:10.806526+01:00
found 10 files for base name Main.sublime-menu
Package Control: Skipping automatic upgrade, last run at 2014-02-25 08:50:24, next run at 2014-02-25 09:50:24 or after
SublimeLinter: htmltidy activated: /usr/bin/tidy 
SublimeLinter: csslint activated: /usr/local/bin/csslint 
SublimeLinter: php activated: /usr/bin/php 
SublimeLinter: annotations activated: <builtin> 
SublimeLinter: annotations activated: <builtin> 

from guttercolor.

Careless avatar Careless commented on September 13, 2024

I just used the auto-convert branch after using brew to install imagemagick, and it seems to work fine! i was having the orange square issue with the main branch.

nice plugin! thanks.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

Still need to test the auto-convert branch on Windows and Linux then.

from guttercolor.

elliotboney avatar elliotboney commented on September 13, 2024

Imagemagick is working great at creating the files, but the plugin is only loading the same 1 or 2 colors in the gutter no matter what the color is:
image
image

It could also be some crazy color rendering going on.

I'm on OSX.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

I wonder if this is to do with the RGB changes I made?

from guttercolor.

elliotboney avatar elliotboney commented on September 13, 2024

I've tried the other channel outputs from Imagemagick, as well as a bunch of other tweaks to the command in line.py like stripping ICC info, gamma tweaks, etc. It looks like the colors are all showing a blue/green hue, almost like the R is missing.

This is with it set to CMYK:
image

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

But your #f06060 color generated ok?

from guttercolor.

elliotboney avatar elliotboney commented on September 13, 2024

It should look like this:
image

And it's generating the right color, just not displaying correctly in ST3
image

from guttercolor.

elliotboney avatar elliotboney commented on September 13, 2024

I just opened the png's with sublimetext, to see if maybe its new png rendering ability was the problem but the colors looked fine :/

from guttercolor.

chrisdrackett avatar chrisdrackett commented on September 13, 2024

I'm having the same problem as @elliotboney where the colors in my cache are fine, but the ones shown in the gutter are all dark. I'm also using a lighter theme (with white gutter) in case thats related.

from guttercolor.

jbrooksuk avatar jbrooksuk commented on September 13, 2024

This will be fixed in the proposed changes in #57.

from guttercolor.

tdhsmith avatar tdhsmith commented on September 13, 2024

I think we ought to put a brief note in the README about the ST placeholder image. (though we should be seeing them less with the various changes to the path searching)

from guttercolor.

deweyaccounts avatar deweyaccounts commented on September 13, 2024

I was having the problem with the red/orange squares and finally figured it out today by inspecting my console.app, not the sublime text console (which doesn't provide enough detail). I saw this log under User Diagnostics and Reports in a file named _convert_2015-05-08-012035-1_Denniss-MacBook-Pro.crash_ :

Dyld Error Message:
  Library not loaded: /usr/local/lib/libpng16.16.dylib
  Referenced from: /usr/local/lib/libfreetype.6.dylib
  Reason: Incompatible library version: libfreetype.6.dylib requires version 33.0.0 or later, but libpng16.16.dylib provides version 29.0.0

So I went to my command line and did a brew update and uninstalled libpng. I ended up updating from libpng 1.6.12 to 1.6.17. I'm happy to report that this solution fixed the problem for me.

from guttercolor.

JonasPY avatar JonasPY commented on September 13, 2024

El problema viene por que la version de ImageMagick 7, ya no usa Convert y ahora se llama Magick

la linea de codigo a cambiar dentro del archivo line.py es :

image

luego de hacer esto limpiar la cache de gutter, y todo ok.

from guttercolor.

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.