It looks like the generate_extension.py script is assuming that it's being
run from within the "reviewboard" directory, which is weird. I'll get that
fixed up.

-David

On Mon, Mar 7, 2016 at 8:55 PM Younes Manton <youne...@gmail.com> wrote:

> With reviewboard sources checked out from git today, and RB 2.5.3 already
> installed and running:
>
> # ./reviewboard/contrib/tools/generate_extension.py MyExtension
> --author="..." --package-name=my_extension --description="Test."
> Do you wish to use MyExtension as the class name? (y/n): y
> Traceback (most recent call last):
>   File "./reviewboard/contrib/tools/generate_extension.py", line 240, in
> <module>
>     main()
>   File "./reviewboard/contrib/tools/generate_extension.py", line 236, in
> main
>     builder.build()
>   File "./reviewboard/contrib/tools/generate_extension.py", line 191, in
> build
>     self._fill_templates()
>   File "./reviewboard/contrib/tools/generate_extension.py", line 208, in
> _fill_templates
>     self._write_file(template, target, self.options)
>   File "./reviewboard/contrib/tools/generate_extension.py", line 213, in
> _write_file
>     template = env.get_template(template)
>   File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line
> 812, in get_template
>     return self._load_template(name, self.make_globals(globals))
>   File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line
> 774, in _load_template
>     cache_key = self.loader.get_source(self, name)[1]
>   File "/usr/lib64/python2.6/site-packages/jinja2/loaders.py", line 235,
> in get_source
>     raise TemplateNotFound(template)
> jinja2.exceptions.TemplateNotFound: setup.py
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
-David

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to