Closed
Bug 871817
Opened 12 years ago
Closed 12 years ago
Update Python in MozillaBuild to 2.7.5
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: myk, Assigned: RyanVM)
References
()
Details
Python 2.7.4 has a bug <http://bugs.python.org/issue17656> that causes the Firefox OS Simulator's build process to fail in MozillaBuild 1.7 with:
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "build/override-webapps.py", line 46, in <module>
File "c:\mozilla-build\python\lib\zipfile.py", line 1024, in extract
return self._extract_member(member, path, pwd)
File "c:\mozilla-build\python\lib\zipfile.py", line 1057, in
_extract_member
arcname = arcname.translate(table)
TypeError: character mapping must return integer, None or unicode
--------------------------------------------------------------------------------
Once Python ships 2.7.5, which Benjamin Peterson suggests they're going to do to address this issue <http://bugs.python.org/issue17656#msg186444>, it'd be very helpful for MozillaBuild to ship an update that includes the new version of Python, since the Simulator team uses MozillaBuild to build on Windows, and this bug prevents us from using MozillaBuild 1.7.
Comment 1•12 years ago
|
||
Bummer. In the meantime, you can just delete the python dir inside your mozilla-build install and install some other version of Python in there, MozillaBuild doesn't care what version it is.
![]() |
||
Comment 2•12 years ago
|
||
2.7.5 has been released:
http://www.python.org/download/releases/2.7.5/
Assignee | ||
Comment 3•12 years ago
|
||
http://hg.mozilla.org/mozilla-build/rev/713f5c87f2e7
Hopefully we can spin up a 1.7.1 prerelease build shortly.
Assignee: nobody → ryanvm
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #3)
> http://hg.mozilla.org/mozilla-build/rev/713f5c87f2e7
>
> Hopefully we can spin up a 1.7.1 prerelease build shortly.
Awesome, thanks! Let me know when you do (or just cc: me on the relevant bug), and I'll test it in advance to make sure it resolves the problem with building the Simulator.
Assignee | ||
Comment 5•12 years ago
|
||
Wow, that took a lot longer than anticipated. Regardless, here's a build to test with.
http://people.mozilla.org/~rvandermeulen/MozillaBuildSetup1.8.0pre.exe
Sorry for the insanely long delay on this. I promise it won't take this long in the future.
Reporter | ||
Comment 6•12 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #5)
> Wow, that took a lot longer than anticipated. Regardless, here's a build to
> test with.
> http://people.mozilla.org/~rvandermeulen/MozillaBuildSetup1.8.0pre.exe
Yup, the Simulator build process works as expected with that version of MozillaBuild. Thanks for the fix!
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 7•12 years ago
|
||
Great, thanks!
Updated•2 years ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•