Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206800 - sys-apps/portage with USE="epydoc" fails to install with =dev-python/epydoc-3*
Summary: sys-apps/portage with USE="epydoc" fails to install with =dev-python/epydoc-3*
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-01-20 19:45 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2008-01-25 23:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-01-20 19:45:18 UTC
sys-apps/portage with USE="epydoc" fails to install with =dev-python/epydoc-3*.

 * Generating api docs
Usage: epydoc [ACTION] [options] NAMES...

epydoc: error: no such option: --ignore-param-mismatch
Comment 1 Zac Medico gentoo-dev 2008-01-24 09:50:37 UTC
Thanks, this is fixed in the cvs now.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-01-24 15:12:46 UTC
Do you have any idea how to fix this?:

 * Generating api docs
Traceback (most recent call last):
  File "/usr/bin/epydoc", line 13, in <module>
    cli()
  File "/usr/lib/python2.5/site-packages/epydoc/cli.py", line 946, in cli
    main(options, names)
  File "/usr/lib/python2.5/site-packages/epydoc/cli.py", line 738, in main
    exclude_parse=exclude_parse)
  File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 205, in build_doc_index
    doc_pairs = _get_docs_from_items(items, options)
  File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 383, in _get_docs_from_items
    item, doc_pairs[-1], options, progress_estimator)
  File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 580, in _get_docs_from_submodules
    module_filename, options, progress_estimator, pkg_docs)
  File "/usr/lib/python2.5/site-packages/epydoc/docbuilder.py", line 526, in _get_docs_from_module_file
    filename=filename, context=parent_docs[0])
  File "/usr/lib/python2.5/site-packages/epydoc/docintrospecter.py", line 106, in introspect_docs
    value = get_value_from_filename(filename, context)
  File "/usr/lib/python2.5/site-packages/epydoc/docintrospecter.py", line 811, in get_value_from_filename
    pkg_dir = os.path.split(context.filename)[0]
AttributeError: 'ClassDoc' object has no attribute 'filename'
 *
 * ERROR: sys-apps/portage-2.2_pre9220 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2511:  Called die
 * The specific snippet of code:
 *           PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api -qqqqq --no-frames --show-imports --debug --name "${PN}" --url "${HOMEPAGE}" ${my_modules} || die "epydoc failed";
 *  The die message:
 *   epydoc failed
Comment 3 Zac Medico gentoo-dev 2008-01-25 23:08:25 UTC
(In reply to comment #2)
> Do you have any idea how to fix this?:

It's probably best to report the stack trace to the epydoc developers (or maybe they know about it already).