Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 451928

Summary: dev-python/jinja: test failure with python3.3
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 437322    
Attachments: Build log for python3.3

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-13 22:36:00 UTC
Created attachment 335532 [details]
Build log for python3.3

ERROR: test_byte_compilation (jinja2.testsuite.loader.ModuleLoaderTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6-python3_3/lib/jinja2/testsuite/loader.py", line 180, in test_byte_compilation
    tmpl1 = self.mod_env.get_template('a/test.html')
  File "/tmp/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6-python3_3/lib/jinja2/environment.py", line 720, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/tmp/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6-python3_3/lib/jinja2/environment.py", line 694, in _load_template
    template = self.loader.load(self, name, globals)
  File "/tmp/portage/dev-python/jinja-2.6-r1/work/Jinja2-2.6-python3_3/lib/jinja2/loaders.py", line 441, in load
    mod = __import__(module, None, None, ['root'])
  File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
ValueError: bad marshal data (unknown type code)

Looks a bit like it's doing something wrong…
Comment 1 Patrick McLean gentoo-dev 2013-04-28 16:16:46 UTC
This is fixed in jinja-2.6-r2