[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-06-23 Thread Matthias Klose
again closing this as won't fix. changing a library to modify the upstream behaviour (exiting the process which users of the library cannot work around instead of providing a way to react on the missing module) is plainly wrong. Same for the print statement. ** Changed in: python2.6 (Ubuntu)

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-23 Thread Martin Pitt
Something like comment 4 (except for a try: import except: print "error" structure) would make sense here indeed. I agree that python shouldn't depend on -tk, but a more friendly error message is certainly in order. ** Changed in: apport (Ubuntu) Status: New => Won't Fix ** Changed in: py

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-05 Thread martin
I disagree with the opinion that an unhandled exception dumped to a terminal is a good way to notify the end user that he needs to install some package. What if the user ran from ALT-F2, then he doesn't even see terminal output. But since it's a pretty minor bug I don't want to make too much of a f

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-05 Thread Matthias Klose
you never should modify code to forceful exit instead of raising an exception. this changes the upstream behaviour. if you think that apport shouldn't be called in this case, please file a bug report on apport. closing again as won't fix for python2.6. ** Changed in: python2.6 (Ubuntu) Sta

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-02 Thread martin
Re-opening. If this behavior is intended why does it barf a stacktrace and invoke apport automatic bug reporting? At a minimum, I think you should change the code to say: if (!is_installed(python-tk)) print("Please install python-tk") sys.exit(1) ** Changed in: python2.6 (Ubuntu) Stat

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-02 Thread Apport retracing service
** Tags removed: need-duplicate-check -- pydoc2.6 crashed with ImportError in while running "pydoc -g" https://bugs.launchpad.net/bugs/353942 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-02 Thread Matthias Klose
no, we don't want python2.6 depend on python-tk (and X libraries) by default. The hint to install python-tk should be pretty obvious ** Changed in: python2.6 (Ubuntu) Status: New => Won't Fix -- pydoc2.6 crashed with ImportError in while running "pydoc -g" https://bugs.launchpad.net/bugs

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-02 Thread martin
installing the package "python-tk" makes it possible to start "pydoc -g" so basically I think pydoc should have that as a dependency. -- pydoc2.6 crashed with ImportError in while running "pydoc -g" https://bugs.launchpad.net/bugs/353942 You received this bug notification because you are a member

[Bug 353942] Re: pydoc2.6 crashed with ImportError in while running "pydoc -g"

2009-04-02 Thread martin
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/24702158/Dependencies.txt ** Attachment added: "ProcMaps.txt" http://launchpadlibrarian.net/24702159/ProcMaps.txt ** Attachment added: "ProcStatus.txt" http://launchpadlibrarian.net/24702160/ProcStatus.txt ** Attachm