/srv/irclogs.ubuntu.com/2012/05/03/#ubuntu-installer.txt

=== StevenK_ is now known as StevenK
=== cjwatson_ is now known as cjwatson
CIA-62ubiquity: cjwatson * r5410 trunk/ (debian/changelog tests/run): Add a --python3 option to tests/run to run the tests under Python 3.10:29
CIA-62ubiquity: cjwatson * r5411 trunk/ (5 files in 2 dirs): Handle renaming of __builtin__ to builtins in Python 3.10:35
CIA-62ubiquity: cjwatson * r5412 trunk/ (debian/changelog ubiquity/frontend/gtk_ui.py): Only pass unicode=1 to gettext.install in Python 2.10:40
CIA-62ubiquity: cjwatson * r5413 trunk/ (debian/changelog ubiquity/auto_update.py): Port ubiquity.auto_update to python-apt 0.8 progress classes.11:12
CIA-62ubiquity: cjwatson * r5414 trunk/ (debian/changelog ubiquity/plugins/ubi-language.py):11:20
CIA-62ubiquity: Avoid locking failures when clicking on the "update this installer" link11:20
CIA-62ubiquity: more than once.11:20
CIA-62ubiquity: cjwatson * r5415 trunk/ (debian/changelog tests/test_ubi_partman.py):11:37
CIA-62ubiquity: Use Python 3 names for itertools.izip and itertools.izip_longest if11:37
CIA-62ubiquity: available.11:37
CIA-62ubiquity: cjwatson * r5416 trunk/ (5 files in 3 dirs):11:42
CIA-62ubiquity: Use helpers from the six module to deal with some bytes/unicode11:42
CIA-62ubiquity: differences.11:42
CIA-62ubiquity: cjwatson * r5417 trunk/tests/run: no need to be specific about the encoding here11:45
CIA-62ubiquity: cjwatson * r5418 trunk/ (19 files in 8 dirs): (log message trimmed)12:26
CIA-62ubiquity: As a general rule, open subprocesses with universal_newlines=True when12:26
CIA-62ubiquity: expecting to read text from them. This has no effect on Python 212:26
CIA-62ubiquity: (aside from \r\n conversion and the like, which is mostly a no-op for12:26
CIA-62ubiquity: us), but causes Python 3 to read str rather than bytes. The12:26
CIA-62ubiquity: exceptions at the moment are debconf-communicator subprocesses, where12:26
CIA-62ubiquity: debconf expects to read binary data and deal with encoding itself, and12:26
CIA-62ubiquity: cjwatson * r5419 trunk/ (debian/changelog tests/test_gtkwidgets.py): Use six.reraise rather than the three-argument form of raise.12:28
CIA-62ubiquity: cjwatson * r5420 trunk/ (debian/changelog tests/test_filteredcommand.py): Adjust test_filteredcommand for Python 3 text handling.12:31
CIA-62ubiquity: cjwatson * r5421 trunk/ (debian/changelog tests/test_ubi_partman.py):12:35
CIA-62ubiquity: Use misc.utf8 in test_ubi_partman.TestPage.test_description rather12:35
CIA-62ubiquity: than using unicode directly.12:35
CIA-62ubiquity: cjwatson * r5422 trunk/ (debian/changelog tests/test_ubi_partman.py):12:38
CIA-62ubiquity: Fix test_ubi_partman.question_has_variables to handle templates files12:38
CIA-62ubiquity: as binary data, since they're mixed-encoding.12:38
CIA-62ubiquity: cjwatson * r5423 trunk/ (debian/changelog tests/test_ubi_partman.py):12:43
CIA-62ubiquity: Cope with assertItemsEqual/assertCountEqual naming difference between12:43
CIA-62ubiquity: Python 2.7 and 3.2.12:43
cjwatsonAlmost down to a reasonably-sized patch set ... now, I wonder why test_gtkwidgets just segfaults12:44
cjwatsonurgh, stack trace is truncated and is somewhere within libffi12:50
cjwatsonand pyicu is mysteriously segfaulting in its tests ...13:02
cjwatsonaha, pyicu bug fixed upstream, I think ...13:33
* cjwatson rolls up sleeves and tries to fix ubiquity/i18n.py's text modelling, urgh14:38
CIA-62ubiquity: cjwatson * r5424 trunk/ (debian/changelog ubiquity/i18n.py):14:52
CIA-62ubiquity: Rearrange ubiquity.i18n.get_translations to treat debconf-copydb14:52
CIA-62ubiquity: output as binary data and do field-dependent decoding.14:52
CIA-62ubiquity: cjwatson * r5425 trunk/ (4 files in 2 dirs):15:08
CIA-62ubiquity: Adjust test_misc and test_upower to cope with file type changes in15:08
CIA-62ubiquity: Python 3.15:08
=== mpt_ is now known as mpt
cjwatsonhah, not only is ElementTree built into Python (hence lower footprint), but I think it's also faster than libxml2 and arguably easier to read15:32
cjwatsonnot often you get all of those15:32
cjwatsonoh and it works with Python 3 which is why I care just now15:32
cjwatsonwell, faster for the single use ubiquity makes of it, anyway15:33
cjwatsonElementTree itself is much slower, but that's OK because cElementTree isn't15:38
CIA-62ubiquity: cjwatson * r5426 trunk/ (4 files in 3 dirs):15:46
CIA-62ubiquity: Use xml.etree.cElementTree instead of libxml2; it's faster, has a15:46
CIA-62ubiquity: smaller footprint by virtue of being built into the standard library,15:46
CIA-62ubiquity: arguably easier to read, and works with Python 3.15:46
CIA-62ubiquity: cjwatson * r5427 trunk/ (25 files in 8 dirs):16:29
CIA-62ubiquity: Fix a slew of file handle leaks, including making much more liberal16:29
CIA-62ubiquity: use of context managers.16:29
CIA-62ubiquity: cjwatson * r5428 trunk/tests/test_misc.py: Fix test_misc.test_is_swap to handle context management.16:33
bdmurrayin bug 989266 I see a filesystem error but no hardware errors16:36
ubot2Launchpad bug 989266 in ubiquity "Installation crashed!" [Undecided,Confirmed] https://launchpad.net/bugs/98926616:36
CIA-62ubiquity: cjwatson * r5429 trunk/ (4 files in 3 dirs):16:48
CIA-62ubiquity: Move a bit more code into ubiquity.install_misc, including a new16:48
CIA-62ubiquity: target_file helper method.16:48
cjwatsonbdmurray: if you believe it's a bug in the filesystem implementation, reassign to the kernel16:48
cjwatsonof course there is the possibility of hardware-induced corruption that didn't get logged for whatever reason ...16:48
cjwatsonbut arguably the kernel should spot that anyway, yes16:48
cjwatsonthat said, I don't know where you're seeing that log message; I don't see it in the files attached to the bug16:50
infinityI don't quite understand why that log shows it trying to remove... Everything.16:57
cjwatsonhaha, yes, that would be a slight problem16:58
infinityEmpty pre-live manifest?16:58
cjwatsonum, undetected failure to read manifest.desktop maybe?16:58
infinitySo live - (pre-live) = *16:58
infinityYeah.16:59
infinityIt's a fun log, though.16:59
bdmurrayHmm, I certainly saw that error in some bug16:59
cjwatsoner, except nowadays we explicitly list the packages to remove, I think17:00
cjwatsonfilesystem.manifest-remove17:00
cjwatsonconfused17:01
cjwatsonwell, most of the UI now manages to display with Python 317:42
cjwatson(with some uncommitted bytes/unicode fixups)17:43
cjwatsonthere's still some bizarre problem somewhere inside StateBox (I think) that's causing a segfault with a trashed stac17:43
cjwatsonk17:43
cjwatsonbut, I think it's pub time rather than fighting with python3 any more18:00
stgraber:)18:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!