Closed
Bug 688296
Opened 14 years ago
Closed 14 years ago
buildtools python module conflicts with an xcode provided python module
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhford, Assigned: lsblakk)
Details
Attachments
(3 files, 3 obsolete files)
1.65 KB,
patch
|
catlee
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
4.98 KB,
patch
|
catlee
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
5.00 KB,
patch
|
catlee
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
/tools/lib/python/buildtools/__init__.py conflicts with a python module provided by Xcode, /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/buildtools.py
This causes import exceptions when running buildbot on my Mac system. It also complicates things for anyone looking to do mozilla buildbot development on their mac system. I am using a virtualenv, but rely on system site packages because some of the modules I have need special compile steps with Xcode 4.
Lets rename this module to something else that doesn't conflict with system packages.
Traceback (most recent call last):
File "/Users/jhford/mozilla/puppet-10.6/lib/python2.6/site-packages/buildbot-0.8.2_hg_93b5fefe8474_default-py2.6.egg/buildbot/scripts/runner.py", line 1039, in doCheckConfig
ConfigLoader(configFileName=configFileName)
File "/Users/jhford/mozilla/puppet-10.6/lib/python2.6/site-packages/buildbot-0.8.2_hg_93b5fefe8474_default-py2.6.egg/buildbot/scripts/checkconfig.py", line 31, in __init__
self.loadConfig(configFile, check_synchronously_only=True)
File "/Users/jhford/mozilla/puppet-10.6/lib/python2.6/site-packages/buildbot-0.8.2_hg_93b5fefe8474_default-py2.6.egg/buildbot/master.py", line 628, in loadConfig
exec f in localDict
File "/Users/jhford/mozilla/puppet-10.6/test-master/master.cfg", line 5, in <module>
import buildbotcustom.misc
File "/Users/jhford/mozilla/puppet-10.6/buildbotcustom/misc.py", line 31, in <module>
import buildtools.queuedir
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/buildtools.py", line 18, in <module>
import EasyDialogs
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/EasyDialogs.py", line 24, in <module>
from Carbon.Dlg import GetNewDialog, SetDialogItemText, GetDialogItemText, ModalDialog
ImportError: cannot import name GetNewDialog
Reporter | ||
Comment 1•14 years ago
|
||
This corrects buildbotcustom imports
Reporter | ||
Comment 2•14 years ago
|
||
Attachment #561584 -
Flags: review?(catlee)
Reporter | ||
Comment 3•14 years ago
|
||
Reporter | ||
Updated•14 years ago
|
Attachment #561585 -
Flags: review?(catlee)
Comment 4•14 years ago
|
||
jhford: is this blocking any other work? I'm worried specifically about bug 681726.
Reporter | ||
Comment 5•14 years ago
|
||
It means that I am unable to test my patches locally while this issue is open, which makes it very slow to work on the buildbot patches.
Comment 6•14 years ago
|
||
Comment on attachment 561585 [details] [diff] [review]
tools v1
Review of attachment 561585 [details] [diff] [review]:
-----------------------------------------------------------------
you need to update scripts in buildbot-helpers too (command_runner.py, pulse_publisher.py)
Attachment #561585 -
Flags: review?(catlee) → review-
Updated•14 years ago
|
Attachment #561584 -
Flags: review?(catlee) → review+
Updated•14 years ago
|
Attachment #561583 -
Flags: review?(catlee) → review+
Comment 7•14 years ago
|
||
(In reply to Chris AtLee [:catlee] from comment #6)
> Comment on attachment 561585 [details] [diff] [review] [diff] [details] [review]
> tools v1
>
> Review of attachment 561585 [details] [diff] [review] [diff] [details] [review]:
> -----------------------------------------------------------------
>
> you need to update scripts in buildbot-helpers too (command_runner.py,
> pulse_publisher.py)
this tools patch looks to be just removing files, and not contain any info for the new files. Should be all hg moves of course...
Assignee | ||
Comment 8•14 years ago
|
||
hg rename of buildtools to mozilla_buildtools and changed the imports for buildbot-helpers scripts that use it.
Attachment #561585 -
Attachment is obsolete: true
Attachment #565269 -
Flags: review?(catlee)
Updated•14 years ago
|
Attachment #565269 -
Flags: review?(catlee) → review+
Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 561584 [details] [diff] [review]
buildbotcustom v1
http://hg.mozilla.org/build/buildbotcustom/rev/da511c2cc325
Attachment #561584 -
Flags: checked-in+
Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 561583 [details] [diff] [review]
buildbot-configs v1
http://hg.mozilla.org/build/buildbot-configs/rev/224a9fc20efd
Attachment #561583 -
Flags: checked-in+
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 565269 [details] [diff] [review]
tools v2
http://hg.mozilla.org/build/tools/rev/a38d61834627
Attachment #565269 -
Flags: checked-in+
Assignee | ||
Comment 12•14 years ago
|
||
Comment on attachment 561583 [details] [diff] [review]
buildbot-configs v1
backed out because of checkconfig errors in production (schedulers) -- need to check this
Attachment #561583 -
Flags: checked-in+
Assignee | ||
Comment 13•14 years ago
|
||
Comment on attachment 561584 [details] [diff] [review]
buildbotcustom v1
backed out for now
Attachment #561584 -
Flags: checked-in+
Assignee | ||
Comment 14•14 years ago
|
||
Comment on attachment 565269 [details] [diff] [review]
tools v2
backed out for now
Attachment #565269 -
Flags: checked-in+
Assignee | ||
Comment 15•14 years ago
|
||
missing updated buildtools rename in universal & scheduler master.cfg
Assignee: jhford → lsblakk
Attachment #561583 -
Attachment is obsolete: true
Attachment #565578 -
Flags: review?(catlee)
Assignee | ||
Comment 16•14 years ago
|
||
caught some missing master.cfg in mozilla-tests too
Attachment #565578 -
Attachment is obsolete: true
Attachment #565578 -
Flags: review?(catlee)
Assignee | ||
Updated•14 years ago
|
Attachment #565579 -
Flags: review?(catlee)
Updated•14 years ago
|
Attachment #565579 -
Flags: review?(catlee) → review+
Assignee | ||
Comment 17•14 years ago
|
||
Comment on attachment 561584 [details] [diff] [review]
buildbotcustom v1
http://hg.mozilla.org/build/buildbotcustom/rev/cb986ed96685 in production
Attachment #561584 -
Flags: checked-in+
Assignee | ||
Comment 18•14 years ago
|
||
Comment on attachment 565579 [details] [diff] [review]
buildbot-configs v3
http://hg.mozilla.org/build/buildbot-configs/rev/f2c48b76eb44 in production
Attachment #565579 -
Flags: checked-in+
Assignee | ||
Comment 19•14 years ago
|
||
Comment on attachment 565269 [details] [diff] [review]
tools v2
http://hg.mozilla.org/build/tools/rev/5d7275ae3207 in production, resolving.
Attachment #565269 -
Flags: checked-in+
Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•