[users at bb.net] Html Status ImportError
Edmund Wong
ewongbb at pw-wspx.org
Wed Jan 11 04:11:09 UTC 2017
Chris Spencer wrote:
> I'm trying to test a Buildbot 0.8 config on the current Buildbot 0.9.2, and
> I'm getting the error:
>
> Traceback (most recent call last):
> File
> "/usr/local/myproject/.env/local/lib/python2.7/site-packages/twisted/python/threadpool.py",
> line 262, in <lambda>
> inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
> File
> "/usr/local/myproject/.env/local/lib/python2.7/site-packages/twisted/python/context.py",
> line 118, in callWithContext
> return self.currentContext().callWithContext(ctx, func, *args, **kw)
> File
> "/usr/local/myproject/.env/local/lib/python2.7/site-packages/twisted/python/context.py",
> line 81, in callWithContext
> return func(*args,**kw)
> File
> "/usr/local/myproject/.env/local/lib/python2.7/site-packages/buildbot/config.py",
> line 162, in loadConfig
> self.basedir, self.configFileName)
> --- <exception caught here> ---
> File
> "/usr/local/myproject/.env/local/lib/python2.7/site-packages/buildbot/config.py",
> line 119, in loadConfigDict
> exec(f, localDict)
> File "/usr/local/myproject/src/buildbot/master/master.cfg", line 131,
> in <module>
> from buildbot.status import html
> exceptions.ImportError: cannot import name html
>
> Presumably, some functionality was removed or refactored. However, I can't
> find any documentation on the site or through Google to explain where the
> "html" status went. Where can I find this?
It was removed by
https://github.com/buildbot/buildbot/commit/c3e1aaede2fc02507bccb548dd26e694bf32ba6a
when I migrated from 0.8 to 0.9, I don't think I found out what
replaced it.
Ed
More information about the users
mailing list