#2031: [PATCH] Catwalk can't create "/catwalk-session" when deploying using
mod_wsgi
-----------------------------+----------------------------------------------
Reporter: llucax | Owner: Chris Arndt
Type: defect | Status: closed
Priority: normal | Milestone: 1.1
Component: Toolbox.Catwalk | Version: 1.0.4.4
Severity: critical | Resolution: fixed
Keywords: patch |
-----------------------------+----------------------------------------------
Changes (by Chris Arndt):
* status: new => closed
* resolution: => fixed
Comment:
Applied in r5733 with modifications. I changed the name of the config
option to `catwalk.session_dir` (with underscore) to be more consistent
with other config settings. Then I fixed a another bug in the old code
where the path prefix would be the root directory (`/`) when the package
directory could not be determined. It now uses the current working
directory instead.
I also added more accurate descriptions of how the session dir is
determined to the `app.cfg` template and the !CatWalk docstrings.
BTW, the first exception you cited in the ticket summary, IMHO indicates
the root of the problem, namely, that the server could not write to the
`/catwalk-session` dir. That indicates that
`turbogears.util.get_package_name()` could not determine your
application's package name. Maybe you should set the `package` config
option.
Finally, I added a description of the option to
http://docs.turbogears.org/1.1/Configuration.
--
Ticket URL: <http://trac.turbogears.org/ticket/2031#comment:12>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---