Bug 493943 - liveinst --debug on f11 beta produces traceback
Summary: liveinst --debug on f11 beta produces traceback
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-03 12:03 UTC by Michal Hlavinka
Modified: 2009-04-07 18:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-07 18:05:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Hlavinka 2009-04-03 12:03:26 UTC
Description of problem:
when trying to get more verbose output with 'liveinst --debug' it fails with traceback

[root@krles ~]# liveinst -d
umount: /media/*: not found
> /usr/sbin/anaconda(841)<module>()
-> import instdata
(Pdb) 
Traceback (most recent call last):
  File "/usr/sbin/anaconda", line 841, in <module>
    import instdata
  File "/usr/sbin/anaconda", line 841, in <module>
    import instdata
  File "/usr/lib64/python2.6/bdb.py", line 46, in trace_dispatch
    return self.dispatch_line(frame)
  File "/usr/lib64/python2.6/bdb.py", line 65, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit



Version-Release number of selected component (if applicable):
kde livecd F11 beta
anaconda-11.5.0.38-1.x86_64

How reproducible:
allways

Steps to Reproduce:
1.boot livecd F11 beta
2.open terminal
3.su -
4.liveinst --debuginfo
  
Actual results:
fails with traceback

Expected results:
works with debugging informations

Additional info:

Comment 1 Chris Lumens 2009-04-06 16:52:48 UTC
What exactly are you trying to accomplish here?  --debug doesn't change the amount of logging.  It puts anaconda into a special mode that drops you into a PDB shell, enables debug buttons on various widgets, and so forth.  If you want additional output, you need to use --loglevel=debug instead.

Comment 2 Michal Hlavinka 2009-04-06 16:59:38 UTC
(In reply to comment #1)
> What exactly are you trying to accomplish here?  --debug doesn't change the
> amount of logging.  It puts anaconda into a special mode that drops you into a
> PDB shell, enables debug buttons on various widgets, and so forth.  If you want
> additional output, you need to use --loglevel=debug instead.  

I used it because I wanted more verbose output, so I can see I should use loglevel next time... but still there is an option that produces failure with traceback

Comment 3 Jeremy Katz 2009-04-07 18:05:14 UTC
It's not really so much that it produces failure with a traceback as you don't have input on the tty to anaconda and so pdb just quits immediately.

But since we don't really use --debug to accomplish that anymore, patch sent to get rid of it.


Note You need to log in before you can comment on or make changes to this bug.