See my post in #42 _append_job_to_session in job.py checks for temp_dir existence, but it does not check if the directory is writable.