Sublime Forum

TMPDIR not set error

#1

When opening a folder in Sublime Text 2 from the command line, I am getting the following error three times over:

(ssc)~/code/django/ssc: ss
ERROR: Could not create temporary file name. Make sure TMPDIR is set.
ERROR: Could not create temporary file name. Make sure TMPDIR is set.
ERROR: Could not create temporary file name. Make sure TMPDIR is set.
(ssc)~/code/django/ssc: ss
Sublime then opens with the following three files open: basename, virtualenvwrapper_tempfile and pre_activate-hook. Moreover, when I close it and open it again, it opens with all those files open twice over. If I open again, they can be open three times over. It often ends in a crash.

(ssc)~/code/django/ssc: echo $TMPDIR
/var/folders/6H/6H1XlbmGH2KSrJyf0XI4Ck+++TI/-Tmp-/
(ssc)~/code/django/ssc:
I’m not sure what the problem is. Problem doesn’t happen if I open Sublime from Finder. Any ideas?

Issue also posted here:
stackoverflow.com/questions/1830 … blimetext2

0 Likes