This bug was fixed in the package python-profiler - 2.6.2-0ubuntu2
---
python-profiler (2.6.2-0ubuntu2) karmic; urgency=low
* Fix issue #6635: Fix profiler printing usage message. LP: #361318.
-- Matthias KloseSun, 13 Sep 2009 22:57:23 +0200
** Changed in: python-profiler (Ub
** Package changed: python2.6 (Ubuntu) => python-profiler (Ubuntu)
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing lis
** Changed in: python2.6 (Ubuntu)
Status: Incomplete => In Progress
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mai
Bug created upstream w/patch http://bugs.python.org/issue6635
** Bug watch added: Python Roundup #6635
http://bugs.python.org/issue6635
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
You received this bug notification because you are a member o
** Attachment removed: "python-profiler-2.6-sysargv.patch"
http://launchpadlibrarian.net/29807354/python-profiler-2.6-sysargv.patch
** Attachment added: "Don't override sys.argv if it needs to print usage"
http://launchpadlibrarian.net/29819517/python-profiler-2.6-sysargv.patch
--
python2
** Attachment added: "python-profiler-2.6-sysargv.patch"
http://launchpadlibrarian.net/29807354/python-profiler-2.6-sysargv.patch
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
You received this bug notification because you are a member of Ubunt
This seems related to code into profiler.py (2.4, 2.5, 2.6 all applies)
around line 607:
(options, args) = parser.parse_args()
sys.argv[:] = args
if (len(sys.argv) > 0):
sys.path.insert(0, os.path.dirname(sys.argv[0]))
run('execfile(%r)' % (sys.argv[0],), options.outfi
-python-profiler is installed: python-profiler2.6.1-0ubuntu1
-problem seems to be related to the use of the module optparse, it does
occur when wrong parameters are provided to the profiler module on the
command line (like in this case; option '-s' needs a valid parameter)
-is not reproducibl
- is python-profiler installed?
- could you proved a test case?
** Changed in: python2.6 (Ubuntu)
Status: New => Incomplete
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
You received this bug notification because you are a member of Ubuntu
** Visibility changed to: Public
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
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.ubuntu.com
htt
** Tags removed: need-duplicate-check
--
python2.6 crashed with IndexError in get_prog_name()
https://bugs.launchpad.net/bugs/361318
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.ubuntu.co
11 matches
Mail list logo