Red Hat Bugzilla – Bug 594988
demo.py crashes when run from different location
Last modified: 2011-02-13 03:51:57 EST
Description of problem:
Running demo.py from location different, then /usr/share/doc/python-dialog-2.7/ causes demo to crash.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
/usr/lib/python2.6/site-packages/dialog.py:85: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
/usr/lib/python2.6/site-packages/dialog.py:89: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
/usr/lib/python2.6/site-packages/dialog.py:90: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
return "%s: %s" % (self.ExceptionShortDescription, self.message)
dialog-like terminated due to an error: the dialog-like program exited with code 3 (was passed to it as the DIALOG_ERROR environment variable)
Demo should show source code of itself.
Demo doesn't crash, when any readable file named demo.py is present in current directory.
Attaching patch fixing this.
Created attachment 416517 [details]
Attaching proposed patch.
Probably forgot to attach when filing bug.
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
python-dialog-2.7-13.fc13 has been submitted as an update for Fedora 13.
python-dialog-2.7-13.fc14 has been submitted as an update for Fedora 14.
python-dialog-2.7-13.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update python-dialog'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/python-dialog-2.7-13.fc13
Yes, I confirm, issue is fixed now.
python-dialog-2.7-13.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
python-dialog-2.7-13.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.