Opened 16 years ago

Closed 16 years ago

#6082 closed (fixed)

File based Session test fails for lack of /tmp directory on Windows Based System

Reported by: jags78 Owned by: jags78
Component: contrib.sessions Version: dev
Severity: Keywords: test session file
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When running the built in tests on a Windows based system you will get a consistent failure in the file store session test because the default /tmp directory is more than likely missing. A quick solution to the problem is to set SESSION_FILE_PATH to a directory that exists on your system. This should be modified to use the environments temp directory.

Attachments (1)

6082.diff (1.6 KB ) - added by jags78 16 years ago.
Patch for missing directory

Download all attachments as: .zip

Change History (5)

by jags78, 16 years ago

Attachment: 6082.diff added

Patch for missing directory

comment:1 by jags78, 16 years ago

Has patch: set

comment:2 by jags78, 16 years ago

Owner: changed from nobody to jags78

comment:3 by Simon G <dev@…>, 16 years ago

Triage Stage: UnreviewedReady for checkin

comment:4 by Jacob, 16 years ago

Resolution: fixed
Status: newclosed

(In [6889]) Fixed #6082: file-based sessions now verify that SESSION_FILE_PATH is a valid storage location, and raise ImproperlyConfigured if not. Thanks, jags78.

Note: See TracTickets for help on using tickets.
Back to Top