What version are you running?
ReviewBoard-1.6.5
What's the URL of the page containing the problem?
Forget web pages.
What steps will reproduce the problem?
1. USE_PYTHON="2.7" USE=code ebuild reviewboard-1.6.5.ebuild clean install
2. emake -C docs/codebase html or PYTHONPATH=docs/* emake -C docs/codebase html
3. Fails
What is the expected output?
Effectively generate the docs.
What do you see instead?
Unable to import settings_local.py: No module named settings_local
Please see http://www.reviewboard.org/docs/manual/dev/admin/
for help setting up Review Board.
make: *** [html] Error 1
make: Leaving directory `/mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/ReviewBoard-1.6.5/docs/codebase'
What operating system are you using? What browser?
gentoo linux. Forget the browser.
Please provide any additional information below.
2.) emake -C docs/manual html
yields
reading sources... [ 65%] webapi/2.0/resources/draft-file-attachment-list
Exception occurred:
File "/mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/ReviewBoard-1.6.5/reviewboard/webapi/resources.py", line 3269, in _get_list_impl
**self.build_response_args(request))
AttributeError: 'DraftFileAttachmentResource' object has no attribute 'build_response_args'
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
This 1 has an internal meassage referring it to sphinx instead.
-----------------------------------------------------------------------
3.) PYTHONPATH=. emake -C docs/codebase html or PYTHONPATH=docs/* emake -C docs/codebase html
yields
Running Sphinx v1.1.2
Unable to import settings_local.py: No module named settings_local
Please see http://www.reviewboard.org/docs/manual/dev/admin/
for help setting up Review Board.
The Makefiles in docs/*/ have the similar setup to many other packages that build docs with sphinx; html: pickle: web: pickle; json: htmlhelp: etc.
These should build with no hiccup. I still wonder if the PYTHONPATH is not correct. However;
testuser@archtester ~/improvise/dev-util/reviewboard $ sudo find /mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/ReviewBoard-1.6.5/ -name settings_local.py
/mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/ReviewBoard-1.6.5/docs/manual/settings_local.py
Why is it getting lost when it is sitting there in 1 of the 2 folders.??
Also
testuser@archtester ~/improvise/dev-util/reviewboard $ sudo grep -r build_response_args /mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/
/mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/ReviewBoard-1.6.5/reviewboard/webapi/resources.py: **self.build_response_args(request))
/mnt/gen2/TstTmp/portage/dev-util/reviewboard-1.6.5/work/ReviewBoard-1.6.5/reviewboard/webapi/resources.py: **self.build_response_args(request))
build_response_args I can't trace. The only place oit appears by grepping it is in the file resources.py that is cited in reporting the error.
A gentoo ebuild merely runs the make from an ebuild.
Normally I'd attach build logs, but they don't add anything further.