missing dependency on python-jinja2

Bug #1032267 reported by Miles Sharpe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibid (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Medium
Unassigned

Bug Description

= SRU =
== Impact ==
Fairly niche package. Incorrect dependency installed, so the package's commands will just throw errors.
The solution is a trivial dependency change.

== Test Case ==
1. Install ibid on a machine that doesn't already have python-jinja/jinja2 installed.
2. In a temporary directory, run ibid-setup
3. Be sure to enter a bot name and a soruce name. Everything else has sane defaults.
4. Run ibid-plugin
5. If you see ImportError: No module named jinja2, you've reproduced this bug.

== Regression Potential ==
Niche package. Trivial solution. No real potential for regression.

= Original report =
bot cant find jinja2 module

Traceback (most recent call last):
  File "/usr/bin/ibid-plugin", line 90, in <module>
    ibid.reloader.load_processors(load, noload, autoload)
  File "/usr/lib/python2.7/dist-packages/ibid/core.py", line 190, in load_processors
    __import__('ibid.plugins')
  File "/usr/lib/python2.7/dist-packages/ibid/plugins/__init__.py", line 261, in <module>
    from ibid.source.http import templates
  File "/usr/lib/python2.7/dist-packages/ibid/source/http.py", line 9, in <module>
    from jinja2 import Environment, FileSystemLoader
ImportError: No module named jinja2

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ibid 0.1.1+dfsg-3
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic-pae 3.2.21
Uname: Linux 3.2.0-27-generic-pae i686
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Date: Thu Aug 2 17:47:07 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ibid
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Miles Sharpe (msdomdonner) wrote :
Revision history for this message
Stefano Rivera (stefanor) wrote :

Already fixed in 0.1.1+dfsg-4, but needs to be SRUed into precise.

summary: - missing sudo aptitude install python-jinja2
+ missing dependency on python-jinja2
Changed in ibid (Ubuntu):
status: New → Fix Released
importance: Undecided → Medium
Changed in ibid (Ubuntu Precise):
importance: Undecided → Medium
Revision history for this message
Stefano Rivera (stefanor) wrote :
description: updated
Changed in ibid (Ubuntu Precise):
status: New → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello miles.sharpe, or anyone else affected,

Accepted ibid into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ibid/0.1.1+dfsg-3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Miles Sharpe (msdomdonner) wrote : Re: [Bug 1032267] Re: missing dependency on python-jinja2

-----Original Message-----
From: Steve Langasek <email address hidden>
Reply-to: Bug 1032267 <email address hidden>
To: <email address hidden>
Subject: [Bug 1032267] Re: missing dependency on python-jinja2
Date: Tue, 07 Aug 2012 23:41:32 -0000

Hello miles.sharpe, or anyone else affected,

Accepted ibid into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/ibid/0.1.1+dfsg-
3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done. If it does not, change the
tag to verification-failed. In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Tags added: verification-needed

Hi Steve, you're top link doesn't open here for some reason.
I have joined #ibid as Kilos so if i can help ping me there.
Have installed am few things i see in error messages when trying to run ibid
no jinja2 and no conch

Revision history for this message
Steve Langasek (vorlon) wrote :

miles,

From the quoting in your reply, I suspect the link may have been word wrapped for you and broken as a result. The full link is:

  http://launchpad.net/ubuntu/+source/ibid/0.1.1+dfsg-3ubuntu0.1

Your help in testing this package is appreciated.

Revision history for this message
Stefano Rivera (stefanor) wrote :

Verified this one myself.

All looks good in precise-proposed.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibid - 0.1.1+dfsg-3ubuntu0.1

---------------
ibid (0.1.1+dfsg-3ubuntu0.1) precise-proposed; urgency=low

  * Change the jinja dependencies to jinja2. The patch for this was applied in
    -3, but the dependencies weren't updated. (LP: #1032267)
 -- Stefano Rivera <email address hidden> Fri, 03 Aug 2012 09:33:43 +0200

Changed in ibid (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.