I think this needs to be re-examined, because this sort of thing causes new and interesting ways for our scripts to fail. For example:
Traceback (most recent call last):
File "/home/abentley/launchpad/stable/scripts/branch-rewrite.py", line 22, in <module>
from canonical.launchpad.database import account
File "/home/abentley/launchpad/stable/lib/canonical/launchpad/database/__init__.py", line 11, in <module>
from lp.soyuz.model.sourcepackagerelease import *
File "/home/abentley/launchpad/stable/lib/lp/soyuz/model/sourcepackagerelease.py", line 47, in <module>
from lp.soyuz.model.build import Build
File "/home/abentley/launchpad/stable/lib/lp/soyuz/model/build.py", line 68, in <module>
from lp.soyuz.model.publishing import SourcePackagePublishingHistory
File "/home/abentley/launchpad/stable/lib/lp/soyuz/model/publishing.py", line 61, in <module>
from lp.soyuz.scripts.changeoverride import ArchiveOverriderError
File "/home/abentley/launchpad/stable/lib/lp/soyuz/scripts/changeoverride.py", line 18, in <module>
from lp.soyuz.scripts.ftpmasterbase import (
File "/home/abentley/launchpad/stable/lib/lp/soyuz/scripts/ftpmasterbase.py", line 22, in <module>
from lp.services.scripts.base import (
File "/home/abentley/launchpad/stable/lib/lp/services/scripts/base.py", line 27, in <module>
from lp.testing import ANONYMOUS
File "/home/abentley/launchpad/stable/lib/lp/testing/__init__.py", line 58, in <module>
from windmill.authoring import WindmillTestClient
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/__init__.py", line 17, in <module>
import authoring, bin, browser, server, conf, tools, sys
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/authoring/__init__.py", line 17, in <module>
from windmill.bin import admin_lib
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/bin/admin_lib.py", line 25, in <module>
from windmill.dep import functest
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/dep/__init__.py", line 15, in <module>
import _mozrunner as mozrunner
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/dep/_mozrunner/__init__.py", line 45, in <module>
import global_settings
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/dep/_mozrunner/global_settings.py", line 42, in <module>
def findInPath(fileName, path=os.environ['PATH']):
File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'PATH'
I think this needs to be re-examined, because this sort of thing causes new and interesting ways for our scripts to fail. For example:
Traceback (most recent call last): abentley/ launchpad/ stable/ scripts/ branch- rewrite. py", line 22, in <module> launchpad. database import account abentley/ launchpad/ stable/ lib/canonical/ launchpad/ database/ __init_ _.py", line 11, in <module> model.sourcepac kagerelease import * abentley/ launchpad/ stable/ lib/lp/ soyuz/model/ sourcepackagere lease.py" , line 47, in <module> model.build import Build abentley/ launchpad/ stable/ lib/lp/ soyuz/model/ build.py" , line 68, in <module> model.publishin g import SourcePackagePu blishingHistory abentley/ launchpad/ stable/ lib/lp/ soyuz/model/ publishing. py", line 61, in <module> scripts. changeoverride import ArchiveOverride rError abentley/ launchpad/ stable/ lib/lp/ soyuz/scripts/ changeoverride. py", line 18, in <module> scripts. ftpmasterbase import ( abentley/ launchpad/ stable/ lib/lp/ soyuz/scripts/ ftpmasterbase. py", line 22, in <module> scripts. base import ( abentley/ launchpad/ stable/ lib/lp/ services/ scripts/ base.py" , line 27, in <module> abentley/ launchpad/ stable/ lib/lp/ testing/ __init_ _.py", line 58, in <module> abentley/ launchpad/ stable/ eggs/windmill- 1.3beta3_ lp_r1440- py2.5.egg/ windmill/ __init_ _.py", line 17, in <module> abentley/ launchpad/ stable/ eggs/windmill- 1.3beta3_ lp_r1440- py2.5.egg/ windmill/ authoring/ __init_ _.py", line 17, in <module> abentley/ launchpad/ stable/ eggs/windmill- 1.3beta3_ lp_r1440- py2.5.egg/ windmill/ bin/admin_ lib.py" , line 25, in <module> abentley/ launchpad/ stable/ eggs/windmill- 1.3beta3_ lp_r1440- py2.5.egg/ windmill/ dep/__init_ _.py", line 15, in <module> abentley/ launchpad/ stable/ eggs/windmill- 1.3beta3_ lp_r1440- py2.5.egg/ windmill/ dep/_mozrunner/ __init_ _.py", line 45, in <module> abentley/ launchpad/ stable/ eggs/windmill- 1.3beta3_ lp_r1440- py2.5.egg/ windmill/ dep/_mozrunner/ global_ settings. py", line 42, in <module> fileName, path=os. environ[ 'PATH'] ): python2. 5/UserDict. py", line 22, in __getitem__
File "/home/
from canonical.
File "/home/
from lp.soyuz.
File "/home/
from lp.soyuz.
File "/home/
from lp.soyuz.
File "/home/
from lp.soyuz.
File "/home/
from lp.soyuz.
File "/home/
from lp.services.
File "/home/
from lp.testing import ANONYMOUS
File "/home/
from windmill.authoring import WindmillTestClient
File "/home/
import authoring, bin, browser, server, conf, tools, sys
File "/home/
from windmill.bin import admin_lib
File "/home/
from windmill.dep import functest
File "/home/
import _mozrunner as mozrunner
File "/home/
import global_settings
File "/home/
def findInPath(
File "/usr/lib/
raise KeyError(key)
KeyError: 'PATH'