Openmoko Bug #2106: python-profile package should have python-textutils as dependency
Openmoko Public Trac
bugs at docs.openmoko.org
Sun Nov 2 20:04:12 CET 2008
#2106: python-profile package should have python-textutils as dependency
---------------------+------------------------------------------------------
Reporter: ohin | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone:
Component: unknown | Version:
Severity: normal | Keywords:
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible:
---------------------+------------------------------------------------------
profile module cannot be imported because of following error:
{{{
Traceback (most recent call last):
File "./profiler.py", line 3, in <module>
import profile
File "/usr/lib/python2.5/profile.py", line 40, in <module>
from optparse import OptionParser
ImportError: No module named optparse
}}}
It took me quite a while to realize, that optparse module is part of
python-textutils package.
To avoid these problems, can you please add python-textutils as
depenedency for python-profile package?
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2106>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the buglog
mailing list