Skip to content

Problem with Python 2.7 #2

@hannosch

Description

@hannosch

Originally reported via email from Rob Madole:

Using Python 2.7, we are getting a traceback when this recipe goes to create the Jetty config.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
 File "/opt/ci/deployer/eggs/zc.buildout-1.5.1-py2.7.egg/zc/buildout/buildout.py", line 1784, in main
   getattr(buildout, command)(args)
 File "/opt/ci/deployer/eggs/zc.buildout-1.5.1-py2.7.egg/zc/buildout/buildout.py", line 569, in install
   installed_files = self[part]._call(recipe.install)
 File "/opt/ci/deployer/eggs/zc.buildout-1.5.1-py2.7.egg/zc/buildout/buildout.py", line 1276, in _call
   return f()
 File "/opt/ci/deployer/eggs/collective.recipe.hudson-1.0a2-py2.7.egg/collective/recipe/hudson/__init__.py", line 91, in install
   destination=os.path.join(self.part_dir, 'etc'))
 File "/opt/ci/deployer/eggs/collective.recipe.hudson-1.0a2-py2.7.egg/collective/recipe/hudson/__init__.py", line 44, in generate_jetty
   kwargs).install()
 File "/opt/ci/deployer/eggs/iw.recipe.template-0.2-py2.7.egg/iw/recipe/template/__init__.py", line 64, in install
   contents = '%s' % template
 File "/opt/ci/deployer/eggs/Cheetah-2.4.2.1-py2.7-linux-x86_64.egg/Cheetah/Template.py", line 1005, in __str__
   rc = getattr(self, mainMethName)()
TypeError: unbound method respond() must be called with DynamicallyCompiledCheetahTemplate instance as first argument (got nothing instead)

Are you still maintaining this project? I know nothing about Cheetah, but the fix it contents = '%s' % template.respond().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions