gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
614 stars 44 forks source link

RuntimeError: Must call on main thread... #84

Closed jnrbsn closed 9 years ago

jnrbsn commented 9 years ago

After you fixed #83, I'm now getting this error:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "./Modific.py", line 172, in run
  File "./Modific.py", line 133, in log
  File "./Modific.py", line 18, in get_settings
RuntimeError: Must call on main thread, consider using sublime.set_timeout(function, timeout)

It looks like it might be related, but I'm not sure. Why does it say python2.6? Shouldn't it be using 2.7?

gornostal commented 9 years ago

I could not reproduce this one, so I fixed according to the error message. Please try again.

gornostal commented 9 years ago

As for python version, I suppose ST uses python installed in your OS, which in your case is 2.6.

Please reopen the ticket if needed.