[csw-maintainers] problem running mgar newpkg
Sebastian Kayser
skayser at opencsw.org
Tue Apr 10 00:28:42 CEST 2012
* Sebastian Kayser <skayser at opencsw.org> wrote:
> * Juraj Lutter <wilbury at opencsw.org> wrote:
> > wilbury@[unstable10x.0 /home/wilbury/b]$ mgar newpkg ragel
> > Creating package skeleton for ragel X.Y.
> > A ragel
> > A ragel/trunk
> > A ragel/trunk/files
> > A ragel/branches
> > A ragel/tags
> > Traceback (most recent call last):
> > File "<string>", line 1, in ?
> > ImportError: No module named mako.template
> >
> > Do we have any cure on this?
>
> Yup, this should be able to help:
>
> pkgutil -i py_mako
>
> Curious, where did you get mgar from? If installed via pkgutil, this
> should have pulled in py_mako already via its dependency on gar_dev.
On second thought, this could also happen if /opt/csw/bin is not first
in path. I guess, mgar should make its PATH contain /opt/csw/bin first
(and not prepend it as it does currently).
Sebastian
More information about the maintainers
mailing list