Skip to content

Can't get picker working #9

@Graywaren

Description

@Graywaren

Hi
Just found this plug-in and would love to use all the features of it, but I can't get the picker part of it working.

Using:
Sublime 4180
Windows 10

I Installed it, then realized about the python thing, so installed that, but that didn't fix the issue. I've tried uninstalling QColor multiple times, have restarted my computer and sublime text to no avail. Could you tell me how to run debug or what I should try? I tried the

import webview
webview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')
webview.start()

which is included in my console log below. Any idea what could be going on?

Here's my console log from start up and installing the plug in and below my command prompt showing pywebview is already installed.

DPI mode: per-monitor v2
startup, version: 4180 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
application: /C/Program Files/Sublime Text 3
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/Ronan/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/Ronan/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/Ronan/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: []
pre session restore time: 0.323041
startup time: 0.387041
first paint time: 0.505041
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading python 3.3 plugin ayu.activation
reloading plugin Default.copy_path
reloading python 3.3 plugin ayu.Icons
reloading plugin Default.echo
reloading plugin Default.exec
reloading python 3.3 plugin Material Theme.MT
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin Vintage.vintage
reloading plugin Vintage.vintage_commands
reloading plugin Vintage.vintage_motions
reloading plugin A File Icon.plugin
reloading plugin Package Control.plugin
reloading plugin Sass.plugin
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2024-09-22 15:01:23, next run at 2024-09-22 23:01:23 or after
Package Control: pausing indexer
ignored packages updated to: ["QColor"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Installed package "QColor" 1.0.9
ignored packages updated to: []
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading python 3.3 plugin QColor.QColor
Traceback (most recent call last):
  File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 400, in load_module
    m.plugin_loaded()
  File "C:\Users\Ronan\AppData\Roaming\Sublime Text 3\Packages\QColor\QColor.py", line 66, in plugin_loaded
    if check_deps():
  File "C:\Users\Ronan\AppData\Roaming\Sublime Text 3\Packages\QColor\QColor.py", line 46, in check_deps
    proc = subprocess.Popen(args, stdout=subprocess.PIPE)
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Package Control: resuming indexer
reloading settings Packages/User/Preferences.sublime-settings
>>> import webview
webview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')
webview.start()
Traceback (most recent call last):
  File "__main__", line 1, in <module>
ModuleNotFoundError: No module named 'webview'

Command prompt:

C:\Users\Ronan>pip3 install pywebview
Requirement already satisfied: pywebview in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (5.2)
Requirement already satisfied: proxy-tools in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from pywebview) (0.1.0)
Requirement already satisfied: bottle in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from pywebview) (0.13.1)
Requirement already satisfied: typing-extensions in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from pywebview) (4.12.2)
Requirement already satisfied: pythonnet in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from pywebview) (3.0.4)
Requirement already satisfied: clr-loader<0.3.0,>=0.2.6 in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from pythonnet->pywebview) (0.2.6)
Requirement already satisfied: cffi>=1.13 in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from clr-loader<0.3.0,>=0.2.6->pythonnet->pywebview) (1.17.1)
Requirement already satisfied: pycparser in c:\users\ronan\appdata\local\programs\python\python312\lib\site-packages (from cffi>=1.13->clr-loader<0.3.0,>=0.2.6->pythonnet->pywebview) (2.22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions