Closed anandology closed 12 years ago
Go to http://in.pycon.org/2012/funnel/pyconindia2012/newsection as an admin to add a new section. (To edit or delete a section, you have to change it in the db because I haven't coded the views and it hasn't been a pressing need since then.)
For other aspects of the form, including removing sections entirely, patch ProposalForm
at https://github.com/ipss/funnel/blob/master/forms.py#L33.
Funnel is a very simple app and wasn't meant to be customizable per-instance, so forking the code is the recommended way to make changes. I'm not actively working on the code, and am instead putting my efforts into a modular framework that will re-implement all of Funnel's functionality.
i am stuck the app stopped working for me here is http://dpaste.org/kx8FJ/ the log , in the browser i get a message "Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data. "
Looks like you instance is using packages from global site-packages instead of virtualenv. I've added --no-site-packages
option to virtualenv in the Makefile. Try running make venv
and then make run
. Let me know if that still fails.
did a clean clone now i get this error http://dpaste.org/yf0z3/
Set the path. The funnel folder should be in PYTHONPATH or should be the current folder for website
to be found.
@satyaakam Did you follow the instructions in the [Readme][https://github.com/ipss/pyconindia2012#readme]? Looks like you did get the submodules.
Did some customizations and pushed.
@anandology yes followed all the step still no luck http://dpaste.org/BRJRD/
There seems to be an error in installing baseframe.
Try running the following and see if you get any errors.
./bin/pip install -U git+git://github.com/hasgeek/baseframe.git#egg=baseframe
oh, that doesn't seems to be working. Try this instead:
./bin/pip install -U -r requirements.txt
Hmm, that will get latest versions of all packages. That doesn't work either.
try this:
cd /home/samarth/pyconindia2012/local/lib/python2.7/site-packages/baseframe/ make tinymce
This is done when baseframe is installed. Looks like something went wrong when installing it.
@anandology hmm this was much better nailed it , curl was missing hence tinymce was not getting built , thanks
now how do i test the form in dev ?
On Thu, Jun 21, 2012 at 4:02 PM, satyaakam goswami reply@reply.github.com wrote:
now how do i test the form in dev ?
On Thu, Jun 21, 2012 at 4:03 PM, Anand Chitipothu anandology@gmail.com wrote:
On Thu, Jun 21, 2012 at 4:02 PM, satyaakam goswami reply@reply.github.com wrote:
now how do i test the form in dev ?
Make sure you run make copy
before your do make run
.
May be I should add a dependency.
after going through the auth from hasgeek site i get the following string in the browser
and then the browser gives the following error
"Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. "
here is log from the server http://dpaste.org/uoOOL/
On Thu, Jun 21, 2012 at 4:21 PM, satyaakam goswami reply@reply.github.com wrote:
after going through the auth from hasgeek site i get the following string in the browser
and then the browser gives the following error
"Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. "
here is log from the server http://dpaste.org/uoOOL/
Did you run make bootstrap
?
i did the followig three steps
$make bootstrap $make copy $make run
yes again did it threw the error in the browser comes much faster , here is the server error log http://dpaste.org/zppVi/
Add the following to funnel.wsgi
at the end and see what you get in the screen.
app.debug = True
File "/home/samarth/pyconindia2012/local/lib/python2.7/site-packages/httplib2/init.py", line 1230, in _conn_request conn.connect() File "/home/samarth/pyconindia2012/local/lib/python2.7/site-packages/httplib2/init.py", line 1005, in connect raise SSLHandshakeError(e) httplib2.SSLHandshakeError: [Errno 1] _ssl.c:503: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [pid: 5063|app: 1|req: 3/3] 127.0.0.1 () {38 vars in 1379 bytes} [Thu Jun 21 16:42:39 2012] GET /funnel/login/redirect?next=%2Ffunnel%2Fpyconindia2012%2Fnew&state=472070d8-0ddf-4f9a-a615-130dc6d079a2&code=9NEpm3tVRGuxdfu32IzviQGReHmHUMSXWM0zkkP9vStQ => generated 0 bytes in 438 msecs (HTTP/1.1 500) 0 headers in 0 bytes (0 switches on core 6)
Ah, I got the same error on my server. It is because auth.hasgeek.com SSL is not working with httplib2 in some networks.
I patched some code to fix it. Let me find out what it was.
On Thu, Jun 21, 2012 at 7:16 PM, Anand Chitipothu anandology@gmail.com wrote:
Ah, I got the same error on my server. It is because auth.hasgeek.com SSL is not working with httplib2 in some networks.
I patched some code to fix it. Let me find out what it was.
Here is my funnel.wsgi with the patches.
import sys
import os.path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'funnel'))
import httplib2
# auth.hasgeek.com SSL validation is failing.
# Monkey-pack httplib2 to disable SSL validation
_Http = httplib2.Http
def Http(*a, **kw):
kw.setdefault("disable_ssl_certificate_validation", True)
return _Http(*a, **kw)
httplib2.Http = Http
from website import app
I should've committed these changes. Sorry for creating you trouble.
confirm this patch did fix the issue , you can push it . i am going to hit the road next few days will touch the repo after i come back.
-Satya
Done. CFP is live now.
The talk submission form is at:
http://in.pycon.org/2012/funnel/pyconindia2012/new
@jace do you have any idea how to do this?