ubiquity crashed with TypeError in __new__(): 'NoneType' object is not iterable

Bug #1675127 reported by Brendan Perrine on 2017-03-22
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
High
Mathieu Trudel-Lapierre

Bug Description

On a hp pavilion dv6 1230 I was using a usb wireless key to access an old ralink wireless G card isntead of the internal broadcom to try and not connect via ethernet and then download broadcom drivers later. I then got ubiquity to crash when not connected so I ran over to where I had an ethernet cable plugged in and lugged this in to report the bug.

I expected to be able to connect via the one working wireless nic like I have done before on this laptop and install with network instead of ubiquity crashing.

ProblemType: Crash
DistroRelease: Ubuntu 17.04
Package: ubiquity 17.04.7
ProcVersionSignature: Ubuntu 4.10.0-13.15-generic 4.10.1
Uname: Linux 4.10.0-13-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
CasperVersion: 1.380
Date: Wed Mar 22 18:33:46 2017
ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
InstallCmdLine: file=/cdrom/preseed/lubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash ---
InterpreterPath: /usr/bin/python3.5
LiveMediaBuild: Lubuntu 17.04 "Zesty Zapus" - Beta amd64 (20170321)
ProcCmdline: /usr/bin/python3 /usr/lib/ubiquity/bin/ubiquity --only
ProcEnviron: Error: [Errno 13] Permission denied: '/proc/1674/environ'
PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', '--only']
SourcePackage: ubiquity
Title: ubiquity crashed with TypeError in __new__(): 'NoneType' object is not iterable
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Brendan Perrine (walterorlin) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
Brendan Perrine (walterorlin) wrote :

I can only reproduce this particular laptop and this bug does not occur if I plug into ethernet on the same laptop.

Jean-Baptiste Lallement (jibel) wrote :

Mar 22 18:33:22 lubuntu ubiquity[1674]: switched to page wireless
Mar 22 18:33:27 lubuntu systemd-resolved[1384]: Switching to fallback DNS server 8.8.8.8.
Mar 22 18:33:46 lubuntu ubiquity[1674]: Exception in GTK frontend (invoking crash handler):
Mar 22 18:33:46 lubuntu ubiquity[1674]: Traceback (most recent call last):
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1497, in on_next_clicked
Mar 22 18:33:46 lubuntu ubiquity[1674]: if ui.plugin_on_next_clicked():
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/ubiquity/plugins/ubi-wireless.py", line 163, in plugin_on_next_clicked
Mar 22 18:33:46 lubuntu ubiquity[1674]: self.nmwidget.connect_to_ap()
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_components/nmwidgets.py", line 333, in connect_to_ap
Mar 22 18:33:46 lubuntu ubiquity[1674]: self.view.connect_to_selection(passphrase)
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_components/nmwidgets.py", line 249, in connect_to_selection
Mar 22 18:33:46 lubuntu ubiquity[1674]: ssid = model[iterator][0]
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 801, in __getitem__
Mar 22 18:33:46 lubuntu ubiquity[1674]: aiter = self._getiter(key)
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 789, in _getiter
Mar 22 18:33:46 lubuntu ubiquity[1674]: aiter = self.get_iter(key)
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 823, in get_iter
Mar 22 18:33:46 lubuntu ubiquity[1674]: path = self._coerce_path(path)
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 798, in _coerce_path
Mar 22 18:33:46 lubuntu ubiquity[1674]: return TreePath(path)
Mar 22 18:33:46 lubuntu ubiquity[1674]: File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 1157, in __new__
Mar 22 18:33:46 lubuntu ubiquity[1674]: path = ":".join(str(val) for val in path)
Mar 22 18:33:46 lubuntu ubiquity[1674]: TypeError: 'NoneType' object is not iterable
Mar 22 18:33:46 lubuntu ubiquity[1674]:

Jean-Baptiste Lallement (jibel) wrote :

From syslog

Mar 22 18:32:59 lubuntu kernel: [ 22.859969] b43 ssb0:0: Direct firmware load for b43/ucode16_mimo.fw failed with error -2
Mar 22 18:32:59 lubuntu kernel: [ 22.860143] b43 ssb0:0: Direct firmware load for b43/ucode16_mimo.fw failed with error -2
Mar 22 18:32:59 lubuntu kernel: [ 22.860374] b43 ssb0:0: Direct firmware load for b43-open/ucode16_mimo.fw failed with error -2
Mar 22 18:32:59 lubuntu kernel: [ 22.860399] b43 ssb0:0: Direct firmware load for b43-open/ucode16_mimo.fw failed with error -2
Mar 22 18:32:59 lubuntu kernel: [ 22.860402] b43-phy1 ERROR: Firmware file "b43/ucode16_mimo.fw" not found
Mar 22 18:32:59 lubuntu kernel: [ 22.860406] b43-phy1 ERROR: Firmware file "b43-open/ucode16_mimo.fw" not found
Mar 22 18:32:59 lubuntu kernel: [ 22.860408] b43-phy1 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.

This crash could be due to the wifi card begin discovered but disabled because the driver is not loaded.

Changed in ubiquity (Ubuntu):
importance: Medium → High
milestone: none → ubuntu-17.04
assignee: nobody → Ubuntu Installer Team (ubuntu-installer)
status: New → Triaged
Dave Morley (davmor2) wrote :

STEPS:
1. Copy latest iso to pendrive
2. Have a laptop with broadcom wifi
3. Have a usb wifi stick
4. Insert the usb wifi stick and pendrive, fire up the laptop and boot from usb
5. Select live desktop mode
6. Try and connect to the wifi ap via the usb wifi chip

Expected:
I expect the system to connect to wifi

ACTUAL:
System fails to connect and shows a Authenticating -> Disconnected in syslog

Changed in ubiquity (Ubuntu):
assignee: Ubuntu Installer Team (ubuntu-installer) → Mathieu Trudel-Lapierre (cyphermox)
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1675127

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers