daaain / Handlebars

Fullest Handlebars.js templating support for Sublime Text 2 / 3. Also drives syntax colouring on Github and in Visual Studio Code. Install from: https://packagecontrol.io/packages/Handlebars.
MIT License
301 stars 48 forks source link

Error message: unable to load Handlebars.tmLanguage #64

Closed ijdickinson closed 9 years ago

ijdickinson commented 9 years ago

I'm using Sublime Text 3 build 3083 on Ubuntu. In recent days when I start the editor, I'm getting an error message:

error: Error loading syntax file "Packages/Handlebars/Handlebars.tmLanguage": Unable to open Packages/Handlebars/Handlebars.tmLanguage

I've tried uninstalling and re-installing the Handlebars package via package manager, but I still get the same error.

Version number is 2015.05.31.18.29.42. What other information would be helpful for me to supply?

daaain commented 9 years ago

Hmm, it's looking for the file in the wrong place, I recently moved the .tmLanguage file under /grammars as part of making the package work with Atom, but Sublime has no problem picking up the file from the subdirectory on my Mac. I even have the same build as you.

Do you have anything custom in your settings file?

dadamssg commented 9 years ago

+1 having this same problem on my Mac. Uninstalling and re-installing worked for me though.

daaain commented 9 years ago

Thanks for the followup @dadamssg!

@ijdickinson I'm wondering if maybe it's some cache issue? Can you please try to uninstall the package once again, but before reinstalling taking a look in your packages folder, including Cache to make sure that nothing is lingering?

ijdickinson commented 9 years ago

OK, I'll try that.

ijdickinson commented 9 years ago

OK, so this time uninstalling and reinstalling did work. I didn't see anything in my cache, but the problem on starting up has now gone away. Thank you!

daaain commented 9 years ago

Phew, great! Glad that it worked out, was getting a bit worried :)