flush should be try catch protected in debconf.py ... or removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
New
|
Undecided
|
Unassigned |
Bug Description
1) Version: Linux Mint 17.1 Cinnamon 32b x86 DVD
2) What you did for the problem to happen
Pass through some errors with NV16 on Nouveau, gone through fallback mode or similar...
Then almost gone to finish installing when installing Java (never seen message about java, but seen in debug file).
3) What happened:
My crash:
/***
Jan 28 06:33:13 mint ubiquity:
Jan 28 06:33:14 mint /plugininstall.py: Exception during installation:
Jan 28 06:33:14 mint /plugininstall.py: Traceback (most recent call last):
Jan 28 06:33:14 mint /plugininstall.py: File "/usr/lib/
Jan 28 06:33:14 mint /plugininstall.py: self.db.
Jan 28 06:33:14 mint /plugininstall.py: File "/usr/lib/
Jan 28 06:33:14 mint /plugininstall.py: lambda *args, **kw: self.command(
Jan 28 06:33:14 mint /plugininstall.py: File "/usr/lib/
Jan 28 06:33:14 mint /plugininstall.py: self.write.flush()
Jan 28 06:33:14 mint /plugininstall.py: BrokenPipeError: [Errno 32] Broken pipe
Jan 28 06:33:14 mint /plugininstall.py:
Jan 28 06:36:21 mint dbus[934]: [system] Activating service
****/
I think it may have been triggered by:
/***
in install_misc.py in pulse function near:
try:
if os.environ[
except debconf.
return False
***/
I believe the real problem is being masked away by (in : /usr/lib/
the self.write.flush() in:
/***
def command(self, command, *params):
command = command.upper()
while True:
try:
**/
I believed the program have stopped on the flush.
4) I expect that the self.write.flush() be somehow try-catch protected, so that the program can continue in the while True
5) I just got to the end of install once... want to try to add the try-catch (if I find the correct syntax) before retrying.
The last lines of my /var/log/ installer/ debug file was: set_source_ device: assertion 'GDK_IS_DEVICE (device)' failed ubiquity/ plugins/ ubi-timezone. py:212: Warning: Source ID 827 was not found when attempting to remove it source_ remove( self.timeout_ id) ubiquity/ plugins/ ubi-console- setup.py: 72: Warning: Source ID 1276 was not found when attempting to remove it source_ remove( self.keyboard_ layout_ timeout_ id) ubiquity/ plugins/ ubi-console- setup.py: 74: Warning: Source ID 1279 was not found when attempting to remove it source_ remove( self.keyboard_ variant_ timeout_ id) ubiquity/ plugins/ ubi-usersetup. py:408: Warning: Source ID 1947 was not found when attempting to remove it source_ remove( self.hostname_ timeout_ id) ubiquity/ plugins/ ubi-usersetup. py:408: Warning: Source ID 1988 was not found when attempting to remove it source_ remove( self.hostname_ timeout_ id) ubiquity/ plugins/ ubi-usersetup. py:408: Warning: Source ID 2004 was not found when attempting to remove it source_ remove( self.hostname_ timeout_ id) ubiquity/ plugins/ ubi-usersetup. py:408: Warning: Source ID 2012 was not found when attempting to remove it source_ remove( self.hostname_ timeout_ id) 5.3-0ubuntu0. 14.04.1) perl5/Debconf/ Format/ 822.pm line 83, <> line 5095. perl5/Debconf/ Format/ 822.pm line 84, <> line 5095.
/***
(ubiquity:5489): Gdk-CRITICAL **: gdk_event_
/usr/lib/
GLib.
locale.setlocale failed: unsupported locale setting (LANG=fr_CA.UTF-8)
/usr/lib/
GLib.
/usr/lib/
GLib.
/usr/lib/
GLib.
/usr/lib/
GLib.
/usr/lib/
GLib.
/usr/lib/
GLib.
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.
OpenJDK Client VM (build 24.65-b04, mixed mode)
Use of uninitialized value $val in substitution (s///) at /usr/share/
Use of uninitialized value $val in concatenation (.) or string at /usr/share/
***/