Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287546 - dev-python/epydoc incompatible with dev-python/docutils-0.6
Summary: dev-python/epydoc incompatible with dev-python/docutils-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Python Gentoo Team
URL: http://thread.gmane.org/gmane.text.do...
Whiteboard:
Keywords:
: 291664 292048 294224 294525 321555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-03 18:53 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-06-09 11:00 UTC (History)
17 users (show)

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


Attachments
Output of `make api EPYDOC="/usr/bin/epydoc --debug"` (epydoc.log,5.24 KB, text/plain)
2009-10-03 18:56 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details
Fix by Engelbert Gruber (gentoo287546.patch,1.16 KB, patch)
2009-11-13 11:17 UTC, Martin von Gagern
Details | Diff

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 2009-10-03 18:53:54 UTC
When dev-python/docutils-0.6_pre6148 is installed, then dev-python/dbus-python-0.83.0-r1 fails to build with USE="doc".
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-03 18:56:52 UTC
Created attachment 205953 [details]
Output of `make api EPYDOC="/usr/bin/epydoc --debug"`
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-03 18:57:45 UTC
This problem doesn't occur with =dev-python/docutils-0.5*.
Comment 3 Juergen Rose 2009-10-04 16:55:30 UTC
I have the same error here. Any solution?
Comment 4 Jason Huebel 2009-10-04 17:23:46 UTC
Same problem here. Fails with this error:

UNEXPECTED ERROR:
'Text' object has no attribute 'data'

I cheated by downgrading to docutils-0.5-r1, emerging dbus-python, then upgrading back to docutils-0.6pre6148.
Comment 5 Roman Karshiev 2009-10-08 13:43:03 UTC
Same problem.

dev-python/dbus-python-0.83.0-r1
dev-python/docutils-0.6_pre6148
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-11 19:18:53 UTC
This problems occurs also with dev-python/docutils-0.6.
Comment 7 Bodo Thiesen 2009-10-16 09:58:14 UTC
Same with dev-python/docutils-0.5

# emerge -1av dev-python/docutils dev-python/dbus-python
[...]
[ebuild   R   ] dev-python/docutils-0.5  USE="-emacs -glep" 0 kB
[ebuild     U ] dev-python/dbus-python-0.83.0-r1 [0.82.4] USE="doc%* -examples% -test" 0 kB
[...]
configure: error: cannot compile HTML documentation or API documentation without python-docutils installed

Relevant lines from config.log:

configure:10277: checking for __version__ in python module docutils
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ImportError: No module named docutils
configure:10301: result: no
configure:10314: error: cannot compile HTML documentation or API documentation without python-docutils installed

I figured out, that my emerge -Duav world DID indeed update python, hence I run python-updater which amongst other things reinstalled dev-python/docutils which in turn seems to have fixed the problem (now, dev-python/dbus-python updated successfully).

So, I assume this bug should be closed as INVALID, as it's a general case of pebkac.

Regards, Bodo
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-16 17:14:42 UTC
(In reply to comment #7)

You had completely different problem.
This bug is valid.
Comment 9 2010dli 2009-11-04 00:21:42 UTC
Happens to me.
dev-python/dbus-python-0.83.0-r1
dev-python/docutils-0.6

Downgrading docutils to 0.5-r1 allows dbus-python to emerge.
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-04 19:45:00 UTC
*** Bug 291664 has been marked as a duplicate of this bug. ***
Comment 11 Juergen Rose 2009-11-10 13:40:30 UTC
Downgrading docutils to 0.5-r1 allows py crypto-2.1.0_beta1 (Bug 291664)to emerge.
Comment 12 Martin von Gagern 2009-11-13 11:17:22 UTC
Created attachment 210118 [details, diff]
Fix by Engelbert Gruber

The patch to epydoc from Engelbert Gruber (grubert), attached to his posting
http://thread.gmane.org/gmane.text.docutils.devel/4888/focus=4924 ,
solved the issue for me. I had to apply it manually, though, so I'm attaching a recreated patch here.

Successfully emerged dev-python/dbus-python-0.83.0-r1 and dev-python/pycrypto-2.1.0_beta1 with documentation now with this patch in place. So please have the ebuild apply it, and if you still fail to reproduce the fix, let's look deeper at where the difference might lie.

Some pointers:
An upstream bug report, anonymous, maybe by arfrever?
http://sourceforge.net/tracker/?func=detail&aid=2895197&group_id=32455&atid=405618

Current trunk version of the affected file, without fix so far:
http://epydoc.svn.sourceforge.net/viewvc/epydoc/trunk/epydoc/src/epydoc/markup/restructuredtext.py?view=annotate
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2009-11-15 02:26:23 UTC
*** Bug 292048 has been marked as a duplicate of this bug. ***
Comment 14 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-24 08:32:45 UTC
*** Bug 294224 has been marked as a duplicate of this bug. ***
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-26 22:04:01 UTC
*** Bug 294525 has been marked as a duplicate of this bug. ***
Comment 16 Thomas Raschbacher gentoo-dev 2009-12-03 07:24:03 UTC
assuming it works - which i did not check yet - is anyone working on getting this patch into the tree?
Comment 17 Andrey Grozin gentoo-dev 2009-12-17 17:06:30 UTC
The patch solves this particular problem. So, I made epydoc-3.0.1-r1 which is ~arch for all arches. If this patch breaks anything else, please, open appropriate bugs.
Comment 18 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-26 19:35:23 UTC
*** Bug 321555 has been marked as a duplicate of this bug. ***