FS#25265 - [buildbot] failed dependency: python2-jinja2

Attached to Project: Community Packages
Opened by nightstrike (nightstrike) - Tuesday, 26 July 2011, 03:21 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 26 July 2011, 20:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Yet another failed dependency.. this package wasn't tested at all. This is another dependency that doesn't exist yet, and so must be built from AUR.

Additional info:
* package version(s) - buildbot 0.8.4p2-1
* config and/or log files etc.
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python2.7/site-packages/buildbot/master.py", line 223, in do_load
exec f in localDict
File "/opt/buildbot/mingw-w64/master/master.cfg", line 211, in <module>
from buildbot.status import html
File "/usr/lib/python2.7/site-packages/buildbot/status/html.py", line 20, in <module>
from buildbot.status.web.baseweb import WebStatus
File "/usr/lib/python2.7/site-packages/buildbot/status/web/baseweb.py", line 28, in <module>
from buildbot.status.web.base import StaticFile, createJinjaEnv
File "/usr/lib/python2.7/site-packages/buildbot/status/web/base.py", line 19, in <module>
import jinja2
exceptions.ImportError: No module named jinja2


Steps to reproduce:
Do anything
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 26 July 2011, 20:35 GMT
Reason for closing:  Fixed
Comment by Karol Błażewicz (karol) - Tuesday, 26 July 2011, 03:45 GMT
There's no python2-jinja2 nor python2-jinja in the AUR, but there's one in community http://www.archlinux.org/packages/?sort=&q=python2-jinja

Are you running it with python2?
[karol@black ~]$ python2
Python 2.7.2 (default, Jun 29 2011, 11:17:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from jinja2 import Template
>>> template = Template('Hello {{ name }}!')
>>> template.render(name='John Doe')
u'Hello John Doe!'

[karol@black ~]$ python
Python 3.2.1 (default, Jul 11 2011, 12:37:49)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from jinja2 import Template
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named jinja2
>>> from jinja import Template
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named jinja
>>>
Comment by Sergej Pupykin (sergej) - Tuesday, 26 July 2011, 12:02 GMT
It works for me with python2 and python2-jinja

I was able to do

$ python2
Python 2.7.2 (default, Jun 29 2011, 11:10:00)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from jinja2 import Template
>>>

python2-jinja already is dep of buildbot
Comment by nightstrike (nightstrike) - Tuesday, 26 July 2011, 20:19 GMT
The latest version of jinja that just came out yesterday makes this issue go away. So, I guess it can be closed.

Loading...