Thank you very much, the messages are now extracted correctly.

- Gut

On Mon, Mar 28, 2011 at 7:51 PM, Chris McDonough <[email protected]> wrote:

> Can you try the same thing with Chameleon 1 instead?  Recently Chameleon
> had a 2.X release which may not include the appropriate Babel
> extractors.
>
> easy_install "Chameleon<1.999" should do it.
>
> - C
>
>
> On Mon, 2011-03-28 at 09:46 -0700, Gut wrote:
> > After having installed Pyramid and Babel in a virtual environment and
> > added the following to the setup.py as the documentation suggests:
> >
> >  setup(name="mypackage",
> >        # ...
> >        install_requires = [
> >              # ...
> >              'Babel',
> >              ],
> >        message_extractors = { '.': [
> >              ('**.py',   'chameleon_python', None ),
> >              ('**.pt',   'chameleon_xml', None ),
> >              ]},
> >        )
> >
> > I get the following error: ValueError: Unknown extraction method
> > 'chameleon_python'
> > when i try to extract the messages (command ../bin/python setup.py
> > extract_messages in the project directory).
> >
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to