Hi guys, I'm trying to get authentication & authorization working,
nothing fancy just the basic stuff, so looking at

the online example I found:


c['status'] = []*
from buildbot.status import html
from buildbot.status.web import authz, auth*
authz_cfg=authz.Authz(
    # change any of these to True to enable; see the manual for more
    # options
    auth=auth.BasicAuth([("pyflakes","pyflakes")]),
    gracefulShutdown = False,
    forceBuild = 'auth',  # use this to test your worker once it is set up
    forceAllBuilds = False,
    pingBuilder = False,
    stopBuild = False,
    stopAllBuilds = False,
    cancelPendingBuild =
False,)c['status'].append(html.WebStatus(http_port=8010,
authz=authz_cfg))

Now when I try this in my master.cfg I get python warnings along the lines of

could not find module web,
could not find module html

I am using buildbot 0.9.06b, So far I've managed to get it running
doing some basic builds and tests, so I am not sure why it
can't find these modules.

Any suggestions
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to