question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ST3: Git blame cannot find file .tmLanguage

See original GitHub issue

When I invoke the ‘Git: Blame’ command, I get this error:

Error loading syntax file “Installed Packages/Git.sublime-package/syntax/Git Blame.tmLanguage”: Unable to open Installed Packages/Git.sublime-package/syntax/Git Blame.tmLanguage

console shows, likewise error: error: Error loading syntax file "Installed Packages/Git.sublime-package/syntax/Git Blame.tmLanguage": Unable to open Installed Packages/Git.sublime-package/syntax/Git Blame.tmLanguage

I checked my Installed Packages directory, and the Git.sublime-package is a binary file, not a directory, so I’m not sure why it’d be looking for the .tmLanguage in that location.


I installed the package with the ‘python3’ branch as referenced in other Issues.

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
chendeshengcommented, Aug 20, 2013

Change Packages/Git/git.py:line 14 to " PLUGIN_DIRECTORY = ‘Packages/Git’ " should work.

0reactions
AstraLumacommented, Aug 30, 2013

Also an issue on Linux, changing git.py inside of Installed Packages/Git.sublime-package (it’s just a zip file) as described above fixes it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git - git-blame Documentation
Annotates each line in the given file with information from the revision which last modified the line. Optionally, start annotating from the given...
Read more >
Download - Sublime Text
Files and folders in the sidebar will now display badges to indicate Git status ... see file or folder history, or blame a...
Read more >
windows subsystem for linux - Git blame showing no history
git blame file.txt blames the version of file.txt in your working copy. ... This is very weird, because AFAICS the usage doesn't require...
Read more >
Git blame - Packages
This package enables you to query Git “blame” information for files while you are viewing/editing them in Sublime Text. Blame information tells you...
Read more >
DevOps git blame doesn't track file rename
When you renamed a file and then see it with Blame "view" on DevOps, it shows that the entire content was modified in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found