randy3k / GitStatusBar

A more compact Git StatusBar
MIT License
13 stars 1 forks source link

Traceback when opening 2 documents to compare with Sublimerge 3 #7

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hey @randy3k. When comparing 2 documents with Sublimerge 3, it opens a temporary window for the diff. I think GitStatusBar is trying to get the git status on this temp file (/var/folders/9d/bbz6gjwj0yjbkndyhlmw1x0w0000gn/T/tmp7pokew/notepad.txt/ notepad.txt) and it spits out the traceback below. This might be just a log warning and not an error but I'm throwing it here for your appreciation.

It doesn't disrupt anything, just a console message, really. Feel free to close if expected.

Unable to open /var/folders/9d/bbz6gjwj0yjbkndyhlmw1x0w0000gn/T/tmp7pokew/notepad.txt/ notepad.txt
Unable to open /var/folders/9d/bbz6gjwj0yjbkndyhlmw1x0w0000gn/T/tmp7pokew/notepad copy.txt/ notepad copy.txt
TypeError: String required
Traceback (most recent call last):
  File "git_status_bar in /Users/soulitude/Library/Application Support/Sublime Text 3/Installed Packages/GitStatusBar.sublime-package", line 129, in <lambda>
  File "git_status_bar in /Users/soulitude/Library/Application Support/Sublime Text 3/Installed Packages/GitStatusBar.sublime-package", line 132, in _update_status_bar
AttributeError: 'NoneType' object has no attribute 'is_scratch'