Closed
Bug 1291038
Opened 8 years ago
Closed 8 years ago
vagrant provision fails: 'module' object is not callable - server_supports_tls
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: camd, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
4.03 KB,
text/plain
|
Details |
The provision succeeds if I roll back to commit c9470ac83dc1a5d1db172b86018a795f50924294 stack trace in attachment
Reporter | ||
Comment 1•8 years ago
|
||
Hey Ed-- This looks like it involves server_supports_tls. I'll take a crack at it. But if you get a chance to take another look, that'd be awesome. :)
Flags: needinfo?(emorley)
Reporter | ||
Comment 2•8 years ago
|
||
ok, not sure why this is, but if I change the import of: from urlparse import urlparse to import urlparse and then reference it with: urlparse.urlparse(url).hostname then the vagrant provision works. It ALSO works if I use: from urlparse import urlparse as parse It seems to be confusing the module with the function on the import. But it doesn't do that in other places like ``publish_to_pulse.py``. Perhaps vagrant provision is just "special."
Comment 3•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(emorley)
Attachment #8776730 -
Flags: review?(emorley)
Updated•8 years ago
|
Attachment #8776730 -
Flags: review?(emorley) → review+
Comment 4•8 years ago
|
||
Comment on attachment 8776730 [details] [review] [treeherder] mozilla:fix-provision > mozilla:master emorley: do you have any custom code in your local settings.py? camd: ahh crap!! I have an: import urlparse
Attachment #8776730 -
Flags: review+
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Attachment #8776730 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•