summaryrefslogtreecommitdiffstats
path: root/exception.py
Commit message (Collapse)AuthorAgeFilesLines
* init: switch back to tty1 after the installer finishes. (#577380)Ales Kozumplik2010-04-121-8/+0
|
* exception.py: switch to tty1 before exit (#569071)Ales Kozumplik2010-03-091-0/+8
| | | | so the user knows what's going on and doesn't get a blank screen.
* report handles exn saving now, and doesn't require a Filer (#562656).Chris Lumens2010-03-041-1/+0
|
* On live installs, the syslog is /var/log/dmesg. (#568814).Chris Lumens2010-03-011-6/+10
| | | | | This is because we use the system syslog on live installs instead of starting our own with its own special file locations.
* No longer refer to instdata in attrSkipList.Chris Lumens2010-02-081-5/+5
|
* Move bootloader into the Anaconda object.Chris Lumens2010-02-041-1/+1
|
* Move storage into the Anaconda class.Chris Lumens2010-02-041-1/+1
|
* Move users and security to the Anaconda object.Chris Lumens2010-02-041-1/+1
| | | | | This patch also moves rootPassword into Users where it belongs and auth into Security where it belongs.
* Move keyboard to the Anaconda object.Chris Lumens2010-02-041-2/+2
|
* Move instLanguage to the Anaconda object.Chris Lumens2010-02-041-6/+6
|
* Move instClass to be an attribute on Anaconda.Chris Lumens2010-02-041-1/+1
|
* Use anaconda.ksdata instead of anaconda.isKickstart.Chris Lumens2010-02-041-1/+1
| | | | | | anaconda.ksdata is only non-None if there's a kickstart file, just like anaconda.isKickstart would be. Therefore, we don't need two variables to test for the same condition.
* Move ksdata to be an attribute on Anaconda.Chris Lumens2010-02-041-1/+1
|
* Fix the obvious problem in my last commit to exception.py.Chris Lumens2010-01-111-1/+2
|
* Try to copy the correct traceback file, not anacdump.txt.Chris Lumens2010-01-111-2/+2
|
* Remove test mode.Chris Lumens2009-12-031-7/+6
| | | | | | | This is yet another way of running anaconda that gets extremely limited use, no testing, and no consideration during development to making sure it still works. Again, we need to stop pretending and get rid of modes that we don't support.
* Fix killall -USR2 anaconda writing out a traceback file.Chris Lumens2009-11-241-0/+2
| | | | | | | This hasn't worked since the switch to python-meh, though it's looked like it has worked. Before, dumpState would cause an exception because it hadn't been adapted to python-meh. This exception would then get written out as /tmp/anaconda-tb-*, which made dumpState look like it worked.
* Remove "anaconda" from attributes to skip (#532612, #532737).Chris Lumens2009-11-031-23/+22
| | | | | | When we dump the anaconda object in python-meh, the object won't be named "anaconda". It'll be named "obj". python-meh will stick that on the front of every attribute, so we need to remove "anaconda".
* Make anaconda know its version number (#520061)David Cantrell2009-09-041-1/+2
| | | | | | | Remove the ANACONDAVERSION environment variable and embed the version number at build time. The isys.getAnacondaVersion() function returns the version number to Python code. If need be, it can be extended to libisys.
* vtActivate doesn't work on some ppc64 machines, so don't traceback (#516206).Chris Lumens2009-08-071-1/+7
|
* Import the logging stuff (#515564).Chris Lumens2009-08-051-0/+3
|
* Adapt exception.py to using python-meh.Chris Lumens2009-07-291-611/+77
| | | | | | | | This involves getting rid of most of the real code out of this file, adding a minimal subclass of the ExceptionHandler class to do the copying and pdb setup anaconda needs, and calling the install method from within anaconda. We also need to no longer call handleException from elsewhere in anaconda. That method no longer exists.
* Lots of small grammar and wording changes.Peter Jones2009-07-131-14/+15
| | | | Just auditing the world for clarity, don't mind me.
* Include yum.log in anacdump.txt too.Radek Vykydal2009-06-241-0/+1
| | | | | | Also decrease yum debug log detail. Related commit introducing yum.log is 96999a5ba329b41bf555ab945a4749755b97c974.
* Include the contents of /proc/cmdline in exception reportsJeremy Katz2009-06-161-1/+2
| | | | | | Include /proc/cmdline in exception dumps so that we can see what arguments people are trying to pass without having to ask every single time.
* Remove locals containing "passphrase" or "password" from exns (#503442).Chris Lumens2009-06-011-0/+7
|
* Make the save-to-bugzilla dupe detection smarter.Chris Lumens2009-05-261-1/+1
| | | | | | | | | | | | | | This fixes two problems with how we determine tracebacks are the same based on filename comparisons: (1) Comparisons between python files on i386 and x86-64 tracebacks fail because /usr/lib and /usr/lib64 are different, even though the files themselves are the same. (2) Comparisons between python files on the running system and in /tmp/updates fail obviously. This is a little less concerning to fail on, but since the lines of code are likely to change in an updates.img, duplicates should still work properly.
* Prevent sensitive information in kickstart files from ending up in tracebacks.Chris Lumens2009-04-011-3/+1
| | | | | | | The __str__ method on a KickstartParser will cause the whole object to be printed out as a kickstart file. This means we have no chance to exclude certain sensitive pieces of information. It would be better for us to not see the ksdata at all than to see passwords.
* Lots of little updates to make things use the new storage module.David Lehman2009-02-241-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
* Updates to make existing code use the new storage module.David Lehman2009-02-231-1/+1
|
* filer.login raises an exception with it can't login, not returns None (#486454).Chris Lumens2009-02-191-1/+3
|
* File the basic traceback as the first comment instead of a generic message.Chris Lumens2009-02-161-1/+1
|
* Remove partedUtils.sniffFilesystemType()David Cantrell2009-02-121-1/+1
| | | | This function is just a pass-through for isys.readFSType().
* Log everything from execWithRedirect or execWithCapture (#467690).Chris Lumens2009-01-071-0/+1
|
* Don't dump encryption passphrases.David Lehman2008-12-081-0/+2
|
* Write anacdump.txt upon receipt of SIGUSR2 (from clumens).David Lehman2008-12-081-1/+4
| | | | | This is the patch Chris posted, modified to use inspect.stack to generate the traceback.
* Use stacks instead of tracebacks in traceback handlers.David Lehman2008-12-081-10/+32
| | | | | | | | | | This allows us to generate traceback-like stacks on demand using inspect.stack(). stack() returns a list of tuples representing the stack frames at the time of invocation. A traceback object can be converted to a list of these tuples by calling inspect.getinnerframes(tb). NOTE: the stack() function returns the frames in the opposite order of a traceback's.
* Don't dump private class members (those with leading "__")David Lehman2008-11-121-0/+3
|
* Check that the platform and product are also correct (#469367).Chris Lumens2008-10-311-2/+1
|
* Search for the hash in the whiteboard, not as the entire whiteboard.Chris Lumens2008-10-291-1/+1
| | | | | | This is useful because the status_whiteboard can be used for other things - like NEEDSRETESTING. Our old search doesn't take this into account and will therefore fail to find dupes if the whiteboard contains something else.
* Make sure the productVersion given by .treeinfo exists in bugzilla (#468657).Chris Lumens2008-10-281-1/+2
| | | | | | | | | | Prerelease version of Fedora sometimes get version numbers in .treeinfo or .buildstamp like 10-Beta. However, this version does not exist in bugzilla so we get an error trying to save the bug. This could also happen in respins. So, grab a list of all the versions that are valid for the product out of bugzilla and make sure productVersion exists. If not, either use the develVersion from the installclass or just use the last one out of the the list.
* Set the filename on the traceback when we upload it (wwoods).Chris Lumens2008-09-191-2/+2
|
* Catch errors from using the wrong bugzilla field and display them.Chris Lumens2008-09-101-1/+1
|
* rep_platform has been renamed to platform.Chris Lumens2008-09-101-1/+1
|
* Fix saving to remote hosts (#461500).Chris Lumens2008-09-081-1/+1
|
* short_desc is now summary.Chris Lumens2008-09-081-1/+1
|
* Use print() as a function.Peter Jones2008-09-081-2/+2
|
* Remove references to /tmp/netinfoDavid Cantrell2008-08-271-1/+1
|
* Bring up the network before saving a bug via scp.Chris Lumens2008-08-131-0/+7
|
* Add the match type so we don't find all bugs.Chris Lumens2008-08-131-0/+1
|