Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sublimetext 3 ETA #33

Closed
jonahbron opened this issue Jun 21, 2013 · 11 comments
Closed

Sublimetext 3 ETA #33

jonahbron opened this issue Jun 21, 2013 · 11 comments

Comments

@jonahbron
Copy link

This sounds like a really awesome plugin, do you know when it might be working for ST3?

@wjhrdy
Copy link

wjhrdy commented Jun 21, 2013

@jonahbron
Copy link
Author

Thanks for the link @wjhrdy, it doesn't look like it works though :( I installed it with Git, but the menu items are all grayed out and hovering over colors doesn't do anything.

@jonahbron
Copy link
Author

@wjhrdy
Copy link

wjhrdy commented Jun 21, 2013

You tryna fork dat and submit a pull request?

@jonahbron
Copy link
Author

Okay, I've been playing with it, but I have not gotten it to work yet. I think it has something to do with the fact that Sublimetext 3 does not extract package files. The plugin expects to be able to perform IO on the package file contents. Ideas? I've never extended Sublimetext before.

@zakdances
Copy link

When you try to load the plugin, does an error message display in the Sublime console?

@jonahbron
Copy link
Author

When I install it with package control, this is what comes up in the console.

reloading Packages/User/Preferences.sublime-settings
reloading plugin Color Highlighter.ColorHighlighter
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 73, in reload_plugin
    m = importlib.import_module(modulename)
  File "X/importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 671, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "ColorHighlighter in /home/jonah/.config/sublime-text-3/Installed Packages/Color Highlighter.sublime-package", line 7, in <module>
ImportError: No module named 'colors'

@zakdances
Copy link

Sounds like it can't read its own directory. Are you experiencing this with other plugins? I know other plugins contain more than one .py file in their directory on which they depend. They don't seem to have a problem.

@jonahbron
Copy link
Author

Nope, I've never had this problem with any other plugins.

@eduardolundgren
Copy link

Pull #37 adds only support for ST3. Anyone interested feel free to try and give feedback. /cc @Monnoroch

:octocat: Sent from GH.

@mhulse mhulse mentioned this issue Feb 24, 2014
@ghost
Copy link

ghost commented Apr 13, 2014

Hi guys, my color highlighter plug in not working. Try reinstall it works then when restart sublime i get this error:

ImportError: No module named 'Color Highlighter.colors'

Here is the console output:

startup, version: 3033 windows x64 channel: stable
executable: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3/sublime_text.exe
working dir: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3
packages path: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3/Data/Packages
state path: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3/Data/Local
hardware concurrency: 4
zip path: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3/Packages
zip path: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3/Data/Installed Packages
resources scanned
found 13 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 11 files for base name Main.sublime-menu
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 0.164849
wrote startup cache, added files: 4 orphaned files: 0 total files: 187 cache hits: 183
startup time: 0.544849
first paint time: 0.576849
launching: /C/Users/Gabriel Madeira/Desktop/Sublime Text 3/plugin_host.exe
loaded 2082 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 Emmet.emmet-plugin
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin Package Control.Package Control
reloading plugin RubyCheckOnSave.RubyCheckOnSave
reloading plugin RubyTest.run_ruby_test
reloading plugin SideBarEnhancements.Edit
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin SideBarEnhancements.StatusBarFileSize
reloading plugin SideBarEnhancements.StatusBarModifiedTime
reloading plugin SideBarGit.SideBarGitCommands
reloading plugin SideBarGit.StatusBarBranch
reloading plugin Color Highlighter.ColorHighlighter
Traceback (most recent call last):
File "C:\Users\Gabriel Madeira\Desktop\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/init.py", line 88, in import_module
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1522, in _find_and_load_unlocked
ImportError: No module named 'Color Highlighter.ColorHighlighter'
reloading plugin Color Highlighter.colors
Traceback (most recent call last):
File "C:\Users\Gabriel Madeira\Desktop\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/init.py", line 88, in import_module
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1522, in _find_and_load_unlocked
ImportError: No module named 'Color Highlighter.colors'
reloading plugin ColorPicker.sublimecp
reloading plugin gcollazo-BrowserRefresh-Sublime-c4717b1.BrowserRefresh
reloading plugin SFTP.SFTP
reloading plugin User.reload_all_files
reloading plugin User.save_and_reload
plugins loaded
Emmet: No need to update PyV8
reloading Packages/User/Side Bar.sublime-settings
Writing file /C/Users/Gabriel Madeira/Google Drive/Apps/events/app/views/layouts/_header.html.erb with encoding UTF-8 (atomic)
Package Control: Skipping automatic upgrade, last run at 2014-04-13 18:05:45, next run at 2014-04-13 19:05:45 or after
ignored packages updated to: [Vintage, Color Highlighter]
unloading plugin Color Highlighter.ColorHighlighter
unloading plugin Color Highlighter.colors
found 12 files for base name Default.sublime-keymap
found 10 files for base name Main.sublime-menu
found 1 files for base name Default.sublime-theme
found 1 files for base name Default.sublime-theme
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
theme loaded
theme loaded
ignored packages updated to: [Vintage]
found 1 files for base name Default.sublime-theme
reloading Packages/User/Package Control.sublime-settings
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
found 1 files for base name Default.sublime-theme
theme loaded
theme loaded
theme loaded
ignored packages updated to: [Vintage, Color Highlighter]
found 1 files for base name Default.sublime-theme
found 1 files for base name Default.sublime-theme
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded
theme loaded
theme loaded
reloading Packages/User/Package Control.sublime-settings
ignored packages updated to: [Vintage]
found 1 files for base name Default.sublime-theme
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
found 1 files for base name Default.sublime-theme
theme loaded
reloading plugin Color Highlighter.ColorHighlighter
Traceback (most recent call last):
File "C:\Users\Gabriel Madeira\Desktop\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/init.py", line 88, in import_module
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1522, in _find_and_load_unlocked
ImportError: No module named 'Color Highlighter.ColorHighlighter'
reloading plugin Color Highlighter.colors
Traceback (most recent call last):
File "C:\Users\Gabriel Madeira\Desktop\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/init.py", line 88, in import_module
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1522, in _find_and_load_unlocked
ImportError: No module named 'Color Highlighter.colors'
found 13 files for base name Default.sublime-keymap
found 11 files for base name Main.sublime-menu
theme loaded
theme loaded

There is no settings file for the plug in in my drive... can anyone help ? tks

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants