** Description changed:
+ = 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
+ TERM=xterm
+ PATH=(custom, no user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: ibid
UpgradeStatus: No upgrade log present (probably fresh install)
** Patch added: "ibid_0.1.1+dfsg-3ubuntu0.1.debdiff"
https://bugs.launchpad.net/ubuntu/+source/ibid/+bug/1032267/+attachment/3246596/+files/ibid_0.1.1%2Bdfsg-3ubuntu0.1.debdiff
** Changed in: ibid (Ubuntu Precise)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1032267
Title:
missing dependency on python-jinja2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ibid/+bug/1032267/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs