You might want to ensure both systems are running the same version of
Pylons. I believe "c" is deprecated in 0.10 and removed entirely in 1.0 in
favor of "tmpl_context".

On Sat, Feb 11, 2012 at 12:06 AM, Jonathan Vanasco <jonat...@findmeon.com>wrote:

> my tests keep failing on pylons packages. actually, i can't even run
> the tests.
>
> i've traced the error to this being in my packages:
>
>    from pylons import c
>
> works fine in production, but not in testing
>
> looking at pylons/__init__.py, i see this line:
>
>    tmpl_context = c = StackedObjectProxy(name="tmpl_context or C")
>
> i tried renaming the import and object from "c" to "tmpl_context" and
> everything went fine
>
> anyone have a suggestion on how to proceed?
>
> 1- leave as tmpl_context in the package
> 2- figure out why c doesn't seem to exist in the test environment
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-discuss+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to