On Wed, Mar 19, 2014 at 2:54 PM, Saint Germain <[email protected]> wrote:
> > On Wed, 19 Mar 2014 14:17:28 -0400, Olemis Lang <[email protected]> > wrote : > > > On Wed, Mar 19, 2014 at 4:21 AM, Saint Germain <[email protected]> > > wrote: > > > > > On 19 March 2014 05:22, Ryan Ollos <[email protected]> wrote: > > > > Running `python setup.py install` for any of the packages (except > > > > BloodhoundTheme) yields the result shown at the end of this > > > > message. > > > > > > > > I believe the issue is due to use of the JS message command class > > > > in setup.py > > > > from trac.util.dist import get_l10n_js_cmdclass > > > > cmdclass = get_l10n_js_cmdclass() > > > > > > > > With the exception of BloodhoundTheme, the packages have not been > > > > configured through setup.cfg to extract and compile JS message > > > > catalogs. Changing to the following fixes the issue for now: > > > > > > > > from trac.util.dist import get_l10n_cmdclass > > > > cmdclass = get_l10n_cmdclass() > > > > > > > > > > > > http://trac.edgewall.org/browser/tags/trac-1.0.1/trac/dist.py?marks=472,479#L471 > > > > > > > > That, or we can configure to extract and compile message catalogs > > > > from > > > the > > > > JavaScript files for all packages, but I think it would be better > > > > to save that for the next release. > > > > > > > > I just wanted to confirm with the implementers of the > > > internationalization > > > > work before making the change on the trunk. > > > > > > > > > > Hello Ryan, > > > > > > Indeed I didn't try running setup.py install, my mistake. > > > I installed everything with pip and it didn't complained. > > > > > > > > It's failing for me even using pip . See generated .pip.log [1]_ . > > > > [...] > > > > Ah yes I was using installation in develop mode: > pip install -r requirements-dev.txt > > /me too ... that's why I didn't notice this issue before , but I had already been warned of a similar issue while working on i18n [1]_ for th:ThemeEnginePlugin . > With normal installation I have the same error as you: > pip install -r requirements.txt > > I thought that it was more or less equivalent, but it appears not. :-( > They are different indeed . I guess that build followed by develop should be more similar to executing install , but I'm not completely sure . > > > Best regards, > .. [1] *http://trac-hacks.org/ticket/11606 <http://trac-hacks.org/ticket/11606>* -- Regards, Olemis - @olemislc
