• 1
  • 18
  • 19
  • 20
  • 21
  • 22(current)
Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting
Looking at it further, I'm getting these errors in the ST3 console when installing KodiDevKit

Code:

Package Control: Error parsing messages.json for KodiDevKit
reloading settings Packages/User/Package Control.sublime-settings
ignored packages updated to: ["Vintage"]
reloading plugin KodiDevKit.__init__
reloading plugin KodiDevKit.commands
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 116, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1183, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\coope\AppData\Roaming\Sublime Text 3\Installed Packages\KodiDevKit.sublime-package\commands.py", line 15, in <module>
ImportError: cannot import name etree
reloading plugin KodiDevKit.kodidevkit
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 116, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1183, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\coope\AppData\Roaming\Sublime Text 3\Installed Packages\KodiDevKit.sublime-package\kodidevkit.py", line 21, in <module>
ImportError: cannot import name etree
reloading plugin KodiDevKit.remote
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 116, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1183, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\coope\AppData\Roaming\Sublime Text 3\Installed Packages\KodiDevKit.sublime-package\remote.py", line 12, in <module>
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1183, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\coope\AppData\Roaming\Sublime Text 3\Installed Packages\KodiDevKit.sublime-package\libs/adbdevice.py", line 11, in <module>
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1183, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "C:\Users\coope\AppData\Roaming\Sublime Text 3\Installed Packages\KodiDevKit.sublime-package\libs/utils.py", line 25, in <module>
ImportError: cannot import name etree
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
Should I  upload you my portable installation?
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
(2019-01-18, 14:00)sualfred Wrote: Should I  upload you my portable installation?

Yeah that would be great. Send me a PM
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
Okay thanks to @sualfred sending me his portable version, I've tracked down the problem and found a fix.

The problem is that the "SublimeLinter-pyyaml" package has been depreciated and so needs to be installed manually.

Steps to Fix:
  1. Open Command Palette (Ctrl+Shift+P)
  2. Type Install to find "Package Control: Install Package" and hit Enter
  3. Once Package Control opens, type "SublimeLinter-pyyaml" to find it and install
  4. Repeat the steps to also install "SublimeLinter"
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
(2015-05-27, 14:54)mikebzh44 Wrote:
(2015-05-27, 05:42)phil65 Wrote: Would stuff like this be useful?
Image

+1

You can start from negative number ?

Like for coverflow (from -7 to 7) Big Grin  
Hi all,

Can any one point me in the right direction to do this? 
I have no idea how to highlight the numbers and replicate. I got ctrl+shift+x but beyond that i have no idea.
Madnox 2.0
Forum / Source
Reply
(2019-04-26, 07:52)Mr. V Wrote:
(2015-05-27, 14:54)mikebzh44 Wrote:
(2015-05-27, 05:42)phil65 Wrote: Would stuff like this be useful?
Image

+1

You can start from negative number ?

Like for coverflow (from -7 to 7) Big Grin  
Hi all,

Can any one point me in the right direction to do this? 
I have no idea how to highlight the numbers and replicate. I got ctrl+shift+x but beyond that i have no idea.
Hit ctrl+D after highlighting text you want to edit. Each time you press it will place an additional cursor at the next matching text. You can then edit multiple lines simultaneously.

Square brackets around number are indicating regex match to increment the number.

Highlight whole text block and then CTRL+SHIFT+R will duplicate the block the number of specified times whilst incrementing the number in square brackets.

EDIT: Seems like ctrl+shift+r no longer works. However, the "duplicate and increment" plugin does essentially the same thing, but not quite as good.
ctrl+shift+p for command pallette then type "install package"
then install "duplicate and increment" package.

Now you can highlight a text block, and then hit ctrl+shift+p and start typing duplicate. When you see "duplicate and increment" hit enter. Recommended to bind a key to the command. It is supposed to have ctrl+shift+super+v by default, but it doesn't work for me.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
(2019-04-26, 10:17)jurialmunkey Wrote:
(2019-04-26, 07:52)Mr. V Wrote:
(2015-05-27, 14:54)mikebzh44 Wrote: +1

You can start from negative number ?

Like for coverflow (from -7 to 7) Big Grin  
Hi all,

Can any one point me in the right direction to do this? 
I have no idea how to highlight the numbers and replicate. I got ctrl+shift+x but beyond that i have no idea. 
Hit ctrl+D after highlighting text you want to edit. Each time you press it will place an additional cursor at the next matching text. You can then edit multiple lines simultaneously.

Square brackets around number are indicating regex match to increment the number.

Highlight whole text block and then CTRL+SHIFT+R will duplicate the block the number of specified times whilst incrementing the number in square brackets.

EDIT: Seems like ctrl+shift+r no longer works. However, the "duplicate and increment" plugin does essentially the same thing, but not quite as good.
ctrl+shift+p for command pallette then type "install package"
then install "duplicate and increment" package.

Now you can highlight a text block, and then hit ctrl+shift+p and start typing duplicate. When you see "duplicate and increment" hit enter. Recommended to bind a key to the command. It is supposed to have ctrl+shift+super+v by default, but it doesn't work for me. 
Cheers Smile

Works perfectly.
Madnox 2.0
Forum / Source
Reply
I made some updates to KodiDevKit with some missing controls and attributes but the version checking isn't working for me so I had to add Matrix/Leia stuff to the Krypton data folder.

Always had a problem re-installing this but I updated some dependencies and if you either download or Git clone into your packages folder:
Code:
OS X: ~/Library/Application Support/Sublime Text 3
Windows: %APPDATA%\Sublime Text 3
Linux: ~/.config/sublime-text-3
Restart SublimeText and you should get a message saying some dependencies were added then restart SublimeText again and hopefully it works. It did for me.

Git repo is HERE.

If any Python wizards have some spare time and can take a look at the version checking to find out why it isn't working that would be awesome! I am using Matrix so it could be a Kodi bug and not something in KodiDevKit.

The code is HERE for Python check and both HERE & HERE for Gui check.

Not sure if it is even needed though but thought I would ask anyway Wink

Thanks Smile
Reply
Quick question, is there a check for textures in KodiDevKit?   I don't see one.   Just checking to make sure I'm not missing it.

Thanks.
Reply
sublimetext3 can't find the documentation and highlighting and tooltips are not working
Code:
startup, version: 3211 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
working dir: /
packages path: /home/heisenberg/.config/sublime-text-3/Packages
state path: /home/heisenberg/.config/sublime-text-3/Local
zip path: /opt/sublime_text/Packages
zip path: /home/ralf/.config/sublime-text-3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.212619
startup time: 3.90174
first paint time: 4.14526
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 plugin Default.copy_path
reloading plugin Default.detect_indentation
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.install_package_control
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 ShellScript.ShellScript
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.10-lxml
reloading plugin 0_package_control_loader.50-markupsafe
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.50-requests
reloading plugin 0_package_control_loader.51-python-jinja2
reloading plugin 0_package_control_loader.55-jsonschema
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin KodiDevKit.__init__
reloading plugin KodiDevKit.commands
reloading plugin KodiDevKit.kodidevkit
reloading plugin KodiDevKit.remote
reloading plugin KodiDevKit.script
reloading plugin LogView.logview
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin SublimeLinter-annotations.linter
reloading plugin SublimeLinter-contrib-yamllint.linter
reloading plugin SublimeLinter-pyyaml.linter
reloading plugin SublimeLinter.__init__
reloading plugin SublimeLinter._init
reloading plugin SublimeLinter.active_linters_view
reloading plugin SublimeLinter.busy_indicator_view
reloading plugin SublimeLinter.goto_commands
reloading plugin SublimeLinter.highlight_view
reloading plugin SublimeLinter.log_handler
reloading plugin SublimeLinter.message_view
reloading plugin SublimeLinter.panel_view
reloading plugin SublimeLinter.quick_actions
reloading plugin SublimeLinter.status_bar_view
reloading plugin SublimeLinter.sublime_linter
reloading plugin SublimeLog.SublimeLog
reloading plugin ToolTip-Helper.ToolTipHelper
plugins loaded
[KodiDevKit] 2020-12-21 20:03:52: kodi path: /home/heisenberg/.kodi/
[KodiDevKit] 2020-12-21 20:03:52: project change detected: /home/heisenberg/.kodi/addons/skin.unfussy/xml
Package Control: Skipping automatic upgrade, last run at 2020-12-21 19:32:53, next run at 2020-12-21 20:32:53 or after
everytime I'm doing a mouseover at a entry, I want to have a tooltip, but no tooltips are working. Is it a problem with sublime or the devKit-addon?

Kubuntu 20.10 with python3
"pip3" installed yaml and others

What I'm missing?
Thx
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
  • 1
  • 18
  • 19
  • 20
  • 21
  • 22(current)

Logout Mark Read Team Forum Stats Members Help
KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting1