Ticket #2106 (in_testing defect)

Opened 8 years ago

Last modified 8 years ago

python-profile package should have python-textutils as dependency

Reported by: ohin Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:


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?

Change History

comment:1 Changed 8 years ago by mickey

  • Status changed from new to in_testing

fixed in org.oe.dev w/ [f46fab5].

Note: See TracTickets for help on using tickets.