[okfn-help] Routes in KForge

John Bywater john.bywater at appropriatesoftware.net
Thu Sep 4 18:57:56 UTC 2008


Hi Rufus,

Got the KForge release tests working. But although everything worked out 
on my laptop, I'm getting a "red bar" on the server.

It's to do with Routes url_for() method. Have you seen this before?

Best wishes,

John.


-------------------------------------------------------

/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/scriptrunner "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/bin/kforge-test kforge.test.core
...........................................................E...........EEE...........EE.................................................................................
======================================================================
ERROR: test_ProjectAdmin (kforge.urltest.UrlSchemeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/urltest.py", line 77, in test_ProjectAdmin
    subcontroller='services', action='create')
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/url.py", line 103, in url_for
    url = routes.url_for(*args, **kwargs)
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/Routes-1.9.2-py2.4.egg/routes/util.py", line 237, in url_for
    raise RouteException(
RouteException: url_for could not generate URL. Called with args: ('project.admin',) {'project': 'annakarenina', 'action': 'create', 'subcontroller': 'services'}

======================================================================
ERROR: test_person (kforge.urltest.UrlSchemeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/urltest.py", line 55, in test_person
    out = self.scheme.url_for('person', action='home')
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/url.py", line 103, in url_for
    url = routes.url_for(*args, **kwargs)
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/Routes-1.9.2-py2.4.egg/routes/util.py", line 237, in url_for
    raise RouteException(
RouteException: url_for could not generate URL. Called with args: ('person',) {'action': 'home'}

======================================================================
ERROR: test_project (kforge.urltest.UrlSchemeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/urltest.py", line 67, in test_project
    out = self.scheme.url_for('project', action='search')
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/url.py", line 103, in url_for
    url = routes.url_for(*args, **kwargs)
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/Routes-1.9.2-py2.4.egg/routes/util.py", line 237, in url_for
    raise RouteException(
RouteException: url_for could not generate URL. Called with args: ('project',) {'action': 'search'}

======================================================================
ERROR: test_ProjectAdmin (kforge.urltest.UrlSchemeUriPrefixTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/urltest.py", line 77, in test_ProjectAdmin
    subcontroller='services', action='create')
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/url.py", line 103, in url_for
    url = routes.url_for(*args, **kwargs)
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/Routes-1.9.2-py2.4.egg/routes/util.py", line 237, in url_for
    raise RouteException(
RouteException: url_for could not generate URL. Called with args: ('project.admin',) {'project': 'annakarenina', 'action': 'create', 'subcontroller': 'services'}

======================================================================
ERROR: test_person (kforge.urltest.UrlSchemeUriPrefixTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/urltest.py", line 55, in test_person
    out = self.scheme.url_for('person', action='home')
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/url.py", line 103, in url_for
    url = routes.url_for(*args, **kwargs)
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/Routes-1.9.2-py2.4.egg/routes/util.py", line 237, in url_for
    raise RouteException(
RouteException: url_for could not generate URL. Called with args: ('person',) {'action': 'home'}

======================================================================
ERROR: test_project (kforge.urltest.UrlSchemeUriPrefixTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/urltest.py", line 67, in test_project
    out = self.scheme.url_for('project', action='search')
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/kforge-0.15-py2.4.egg/kforge/url.py", line 103, in url_for
    url = routes.url_for(*args, **kwargs)
  File "/var/lib/buildbot/local-slave/full1/build/.foundation-test/.provide/0.6/var/provisions/kforge/applications/0.15/services/test/live/lib/python/Routes-1.9.2-py2.4.egg/routes/util.py", line 237, in url_for
    raise RouteException(
RouteException: url_for could not generate URL. Called with args: ('project',) {'action': 'search'}

----------------------------------------------------------------------
Ran 168 tests in 294.440s







More information about the okfn-help mailing list