•   
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 22
  •   
Release KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting
#76
Will have time to test next week, I'm on Windows x64. Looking forward to seeing some of the Skin Converter functionality in ST as well. Thanks for sharing these tools, I find them very helpful!
Reply
#77
Image
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#78
Hmm, tested it real quick but couldn't get shift enter to work for variables. I get an error that "no node with name XXXX found." I have my skin setup as a project in ST, but likely missed something. Will test more tomorrow and upload the log if needed.
Reply
#79
yup, log would be nice.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#80
Should be fixed now, before it was important where the project file was placed, now it shouldnt matter anymore.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#81
Now I am getting:

Code:
reloading plugin SublimeKodi.sublimekodi
Traceback (most recent call last):
  File "C:\Utilities\Sublime Text\sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./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:\Utilities\Sublime Text\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "sublimekodi in C:\Utilities\Sublime Text\Data\Installed Packages\SublimeKodi.sublime-package", line 12, in <module>
ImportError: cannot import name etree

Sublime 3 3084, Python 2.7.8.10 (ActiveState) - Win 7 64 bit.

Any ideas on that one?
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#82
(2015-04-29, 15:25)phil65 Wrote: Should be fixed now, before it was important where the project file was placed, now it shouldnt matter anymore.

I installed the latest version from github, but still couldn't get shift-enter to work until I saved my ST project/workspace in my skin folder. Everything is working now, thanks!
Reply
#83
(2015-04-30, 03:25)bossanova808 Wrote: Now I am getting:

Code:
reloading plugin SublimeKodi.sublimekodi
Traceback (most recent call last):
  File "C:\Utilities\Sublime Text\sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./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:\Utilities\Sublime Text\sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "sublimekodi in C:\Utilities\Sublime Text\Data\Installed Packages\SublimeKodi.sublime-package", line 12, in <module>
ImportError: cannot import name etree

Sublime 3 3084, Python 2.7.8.10 (ActiveState) - Win 7 64 bit.

Any ideas on that one?

that has to do with that pre-compiled lxml library, BigNoid solved it by moving the add-on out of the sublime-package container.
Will see if I can find a fix for that.
Your local python version doesnt matter btw, ST3 always uses its own Python 3.3 interpreter.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#84
new stuff:
- tooltip for fonts showing the node from font.xml
- tooltip to show include content (no indenting atm, WIP)
- show constant value in tooltip
- auto-reload skin after saving xml by using JSON-RPC Wink (needs newest script.toolbox version)
- jump-to-label, jump-to-font (shift+enter)

auto-reload skin is awesome. try it.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#85
Maybe I'm blind, but I only get the "Set Kodi Log Syntax" option O_o
I tried to remove and reinstall your addon but the other options are gone. I'm running the latest dev build and also tried to store the project in the skin folder.

Edit:
I don't know if this is maybe the reason for it, but my skin folder is a symlink to a folder outside of the Kodie addon directory
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#86
you should at least get some more options in command palette, no matter how and where project file is saved.
What does the console show you? That´s basically my log at the moment.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#87
Console output right after enabling the plugin:

PHP Code:
reloading plugin SublimeKodi.__init__
reloading plugin SublimeKodi
.sublimekodi
Traceback 
(most recent call last):
  
File "E:\github\Sublime Text 3\sublime_plugin.py"line 74in reload_plugin
    m 
importlib.import_module(modulename)
  
File "./importlib/__init__.py"line 90in import_module
  File 
"<frozen importlib._bootstrap>"line 1584in _gcd_import
  File 
"<frozen importlib._bootstrap>"line 1565in _find_and_load
  File 
"<frozen importlib._bootstrap>"line 1532in _find_and_load_unlocked
  File 
"E:\github\Sublime Text 3\sublime_plugin.py"line 678in load_module
    exec
(compile(sourcesource_path'exec'), mod.__dict__)
  
File "sublimekodi in E:\github\Sublime Text 3\Data\Installed Packages\SublimeKodi.sublime-package"line 13in <module>
ImportErrorcannot import name etree
generating syntax summary 
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#88
same problem as described above. make sure your system and ST3 is x64, dont use portable version and dont have sublimeKodi installed as a .sublime-pacakge file.

EDIT: it´s probably the last reason (.sublime-package file)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#89
Stupid me, overread that post. Yep, without the sublime package thing everything works again.
Thx.
Embuary | Skin | Helper | Info | Repo | GitHub
Reply
#90
Doesn't it re-create .sublime-package each time? It does here anyway....(I am using portable)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
  •   
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 22
  •   



Logout Mark Read Team Forum Stats Members Help
KodiDevKit: SublimeText3 plugin to support kodi skinning / scripting1
This forum uses Lukasz Tkacz MyBB addons.