xamado / sublime-templateninja

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

Fixes 'Failed to parse' + adds exceptions for ParseError #3

Open bluszcz opened 11 years ago

bluszcz commented 11 years ago

Fixes #2 - exception is already loaded.

Without this I have misleading errors like in #2.

xamado commented 11 years ago

On what OS are you running? I used to have it like this, but it didnt work on Windows, so that's why I commented those 3 lines out.

bluszcz commented 11 years ago

Ubuntu 12.04. I will make exceptions for windows loading.

bvfnbk commented 11 years ago

Hi, i also uncommented these lines but then it could not find the module elementtree.

I copied it over from my local python installation directly into the package and then it worked.

I guess, this is not the proper way to solve this.

Is this actually an issue with my ST2 installation (missing module)? I have python 2.7/3.something on my linux box and elementtree is installed system-wide.

Many thanks,

Markus