Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#22619 closed Cleanup/optimization (fixed)

apache mod_wsgi envvars docs: os.path() is not a function

Reported by: Collin Anderson Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/1.5/howto/deployment/wsgi/modwsgi/#if-you-get-a-unicodeencodeerror

"If your environment is not correctly configured, you will trigger UnicodeEncodeError exceptions when calling functions like os.path() on filenames that contain non-ASCII characters."

kind of nit-picky thing, but os.path() is not a function. Maybe something like: "when calling functions like the ones in os.path"?

Any any case, it's true that "filenames that contain non-ASCII characters" don't work well with the default /etc/apache2/envvars on debian/ubuntu.

Change History (3)

comment:1 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In a1be7237ca108eb2d5d669e4306e93afcc79c6cb:

Fixed #22619 -- Corrected description of os.path.

Thanks Collin Anderson for the report.

comment:2 by Tim Graham <timograham@…>, 11 years ago

In c530a63429c7ebf92c29c76e1926d441fa0295d0:

[1.6.x] Fixed #22619 -- Corrected description of os.path.

Thanks Collin Anderson for the report.

Backport of a1be7237ca from master

comment:3 by Tim Graham <timograham@…>, 11 years ago

In aa3fd4b97e5a3f550c2b6a9a6fd23b540ae59078:

[1.7.x] Fixed #22619 -- Corrected description of os.path.

Thanks Collin Anderson for the report.

Backport of a1be7237ca from master

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