Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 626381 Details for
Bug 741647
python report uses product from anaconda even on installed machine
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
libreport-test-1.py program that generates an exception handled by libreport
libreport-test-1.py (text/plain), 935 bytes, created by
Steve Tyler
on 2012-10-13 01:50:13 UTC
(
hide
)
Description:
libreport-test-1.py program that generates an exception handled by libreport
Filename:
MIME Type:
Creator:
Steve Tyler
Created:
2012-10-13 01:50:13 UTC
Size:
935 bytes
patch
obsolete
>#!/usr/bin/python > ># ># Usage: ># $ ./libreport-test-1.py ># NB: This will try to report a bug ... ># > >import warnings > >import signal >import sys, os > >from meh.dump import ExceptionDump >from meh.handler import ExceptionHandler, Config > >sys.path.append("/usr/share/system-config-kickstart") > >import locale > >if True: > try: > import kickstartGui > from meh.ui.gui import GraphicalIntf > except RuntimeError: > print (_("Could not open display because no X server is running.")) > print (_("Try running 'system-config-kickstart --help' for a list of options.")) > sys.exit(0) > > ksGui = kickstartGui.kickstartGui(file) > > config = Config(programName="libreport", > programVersion="@VERSION@") > handler = ExceptionHandler(config, GraphicalIntf(), ExceptionDump) > handler.install(ksGui) > ># Generate an exception with an invalid locale >locale.setlocale(locale.LC_ALL, "foo.UTF-8") >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 741647
:
621906
|
621916
|
621921
|
625986
|
625987
|
625988
|
626209
| 626381