python-dialog doesn't support 'colors' and 'no-collapse' options

Bug #739873 reported by mungewell on 2011-03-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pythondialog (Ubuntu)
Undecided
Unassigned

Bug Description

Although the underlying dialog supports 'colors' and 'no-collapse' option, python-dialog does not support them. These are particularly useful when redering ASCII art (ie. Logos) in dialogs.

I'll attach a simple patch which will enable these options to be passed to dialog.

There are quite a few other options which are not supported, maybe it is worth enabling them all.

Cheers,
Simon.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-dialog 2.7-1
Uname: Linux 2.6.36-rc5-wiiwheel+ i686
Architecture: i386
Date: Mon Mar 21 19:17:18 2011
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release i386 (20101008.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/bash
SourcePackage: pythondialog

mungewell (simon-mungewell) wrote :

Probably the same issue:

no_label, and yes_label arguments of yesno cause

File "/usr/lib/pymodules/python2.7/dialog.py", line 1571, in yesno
    **kwargs)[0]
  File "/usr/lib/pymodules/python2.7/dialog.py", line 825, in _perform
    child_rfd)
  File "/usr/lib/pymodules/python2.7/dialog.py", line 765, in _wait_for_program_termination
    "perhaps the dialog-like program could not be executed; "
dialog.PythonDialogErrorBeforeExecInChildProcess: <PythonDialogErrorBeforeExecInChildProcess: perhaps the dialog-like program could not be executed; perhaps the system is out of memory; perhaps the maximum number of open file descriptors has been reached>

Workaround:

Replaced python-dialog 2.7 with 2.11 from http://people.via.ecp.fr/~flo/index.en.xhtml

removed problem.

DistroRelease: Ubuntu 12.04
Package: python-dialog 2.7-1
Uname: Linux 3.2.0-41-generic-pae i686 athlon i386
Architecture: i386

Florent Rougon (f-rougon) wrote :

Hello,

Support for options --colors and --no-collapse (among many others) has been added upstream in pythondialog 2.12.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers