xamado / sublime-templateninja

Create new files quickly with Templates - Sublime Text 2 Plugin
8 stars 2 forks source link

Error during startup #1

Open jlangeveld opened 11 years ago

jlangeveld commented 11 years ago

Hi, From the console:

Reloading plugin /home/jeroenl/.config/sublime-text-2/Packages/TemplateNinja/TemplateNinja.py
Traceback (most recent call last):
  File "./sublime_plugin.py", line 62, in reload_plugin
  File "./TemplateNinja.py", line 7, in <module>
    from elementtree import SimpleXMLTreeBuilder # part of your codebase
ImportError: No module named elementtree
xamado commented 11 years ago

That error is kinda expected, there's something wrong with the included xml module with sublime's python. It should still work as expected though. Are you having any issue? If so this is not the culprit

waferbaby commented 11 years ago

I get this too, and the plugin doesn't show up as an option/I can't call it via shortcuts.

jlangeveld commented 11 years ago

Same here - Ninja doesn't show up in the palette; nor does it come up when I press the shortcut...

xamado commented 11 years ago

There's something fishy about importing xmltree on linux and windows. I just made an update that works fine on my windows box now (before i only tested on nix). Try it out guys.