[Buildbot-devel] stack trace on buildbot upgrade with 0.8.8rc1
vasslitvinov at pisem.net
vasslitvinov at pisem.net
Mon Jul 22 11:30:19 UTC 2013
You could rely on basedir if your master.cfg is being executed by Buildbot, or on __file__ if it's being imported as a standalone module.
That works for me for more than a year :)
Something like (at the beginning of master.cfg):
try:
curDir = basedir
except NameError:
import os
curDir = os.path.dirname(os.path.abspath(__file__))
--
Vasily
Пнд 22 Июл 2013 03:36:17 +0400, William Deegan написал:
On Jul 21, 2013, at 2:17 PM, William Deegan wrote:
> see pastebin:
> http://pastebin.mozilla.org/2682340
>
>
Looks like this: http://stackoverflow.com/a/6209894/82681
Might be the right answer?
__file__ may not be defined after execfile() ?
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130722/0ca1671a/attachment.html>
More information about the devel
mailing list