Issue 15 in rfdoc: uploader.py: Does not work with Apache

4 views
Skip to first unread message

codesite...@google.com

unread,
Dec 18, 2013, 8:17:10 AM12/18/13
to rfdoc-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-High

New issue 15 by tatu.ka...@eficode.com: uploader.py: Does not work with
Apache
http://code.google.com/p/rfdoc/issues/detail?id=15

See email sent on devel-list on Tue 4:09PM with subject "RFdoc bug report"

When RFDOC is trying to push it's data to the DB via Apache-chain, the
setup is

* giving a non-helping error and
* exiting but
* it's still pushing the *first* file to the rfdoc DB!

Or perhaps we have mis-configured the setup...

PROOF:

~/www/rfdoc $ ./uploader.py --url=localhost:8000 uploader.py
Updated documentation for 'uploader.py'.
~/www/rfdoc $ echo $?
0

~/www/rfdoc $ ./uploader.py --url=<ip address>8020 uploader.py
-> uploader.py: error:
~/www/rfdoc $ echo $?
-> 1

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

codesite...@google.com

unread,
Dec 20, 2013, 8:14:27 AM12/20/13
to rfdoc-...@googlegroups.com
Updates:
Status: Started
Owner: anssi.sy...@eficode.com

Comment #1 on issue 15 by anssi.sy...@eficode.com: uploader.py: Does not
(No comment was entered for this change.)

codesite...@google.com

unread,
Dec 27, 2013, 7:20:39 AM12/27/13
to rfdoc-...@googlegroups.com

Comment #2 on issue 15 by anssi.sy...@eficode.com: uploader.py: Does not
This issue was updated by revision 18120d7e4a0f.


To begin with, the wsgi template in the repository is outdated. It is now
updated to work with Django >= 1.5.

codesite...@google.com

unread,
Dec 27, 2013, 9:58:08 AM12/27/13
to rfdoc-...@googlegroups.com

Comment #3 on issue 15 by anssi.sy...@eficode.com: uploader.py: Does not
This issue was updated by revision c32b6aa28ebe.


Renamed the wsgi file.

codesite...@google.com

unread,
Dec 30, 2013, 12:18:08 PM12/30/13
to rfdoc-...@googlegroups.com

Comment #5 on issue 15 by anssi.sy...@eficode.com: uploader.py: Does not
This issue was updated by revision 6faa0ddff7d2.


WSGI file now adds all the site-packages to the module search path to avoid
Django import errors.

codesite...@google.com

unread,
Dec 31, 2013, 7:33:13 AM12/31/13
to rfdoc-...@googlegroups.com
Updates:
Status: Done

Comment #6 on issue 15 by anssi.sy...@eficode.com: uploader.py: Does not
The problem seems to be Apache responding in HTTP 1.1, which is not handled
correctly by Python's httplib used by uploader.py. Adding the following
line to the RFDoc Apache site configuration seems to fix the issue:
BrowserMatch "RFDoc uploader" downgrade-1.0

This was tested in an environment set up according to these instructions:
https://code.google.com/p/rfdoc/wiki/ProductionEnvironment. The
instructions were also updated.
Reply all
Reply to author
Forward
0 new messages