On Thu, Mar 11, 2010 at 3:03 PM, Gael Pasgrimaud <g...@gawel.org> wrote:
> Other thing. I can't retrieve the Pylons buildbots url. Are they disappear ?

Is there a buildbot?

> ERROR: Failure: ImportError (cannot import name secure_form)
> ----------------------------------------------------------------------
>  File 
> "/Users/gawel/py/PylonsKGS/build_1.0b1/tests/tests/test_units/test_decorator_authenticate_form.py",
> line 10, in <module>
>    from webhelpers.html import secure_form
> ImportError: cannot import name secure_form

It moved to webhelpers.pylonslib.secure_form . Ben said he updated
Pylons, but maybe the test is still out of date.

=====================
> ERROR: test_hello_custom_failed
> (tests.test_units.test_decorator_validate.TestValidateDecorator)
> ----------------------------------------------------------------------
>  File 
> "/Users/gawel/py/PylonsKGS/build_1.0b1/eggs/Paste-1.7.2-py2.6.egg/paste/registry.py",
> line 194, in _current_obj
>    'thread' % self.____name__)
> TypeError: No object (name: translator) has been registered for this thread

This is a common error when writing standalone utilities that depend
on the special globals (pylons.config, etc). It can be a bit tricky to
figure out where the problem is.

======================================================================
> FAIL: tests.test_webapps.test_make_project.test_project_do_knowntest
> ----------------------------------------------------------------------
> line 1530, in assert_no_error
>    "Script returned code: %s" % self.returncode)
> AssertionError: Script returned code: 1

Don't know about this.  Subprocesses returning status 1 could mean anything.

=====================
> ERROR: test_index
> (projectname.tests.functional.test_sample.TestSampleController)
> ----------------------------------------------------------------------
>    response = self.app.get(url(controller='sample'))
>  File 
> "/Users/gawel/py/PylonsKGS/build_1.0b1/eggs/Paste-1.7.2-py2.6.egg/paste/registry.py",
> line 155, in __call__
>    return self._current_obj()(*args, **kw)
>  File 
> "/Users/gawel/py/PylonsKGS/build_1.0b1/eggs/Routes-1.12-py2.6.egg/routes/util.py",
> line 412, in __call__
>    (args, kargs))
> GenerationException: Could not generate URL. Called with args: ()
> {'controller': 'sample'}

The url() call must be inconsistent with the route map the test is using.


-- 
Mike Orr <sluggos...@gmail.com>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to