Show Posts
|
Pages: [1] 2 »
|
I have tried all I know to get the fcgi module working under apache 2.4.7 Ubuntu 14.04 Here is my /etc/apache2/sites-available/abe.conf <VirtualHost *:80> ServerName chain.distroblitz.co.in Alias /static/ /usr/local/lib/python2.7/dist-packages/Abe/htdocs Alias /robots.txt /usr/local/lib/python2.7/dist-packages/Abe/htdocs/robots.txt Alias /favicon.ico /usr/local/lib/python2.7/dist-packages/Abe/htdocs/favicon.ico Alias / /usr/lib/cgi-bin/abe.fcgi
<Directory /usr/local/lib/python2.7/dist-packages/Abe/htdocs> Order allow,deny Allow from all Require all granted </Directory>
<Directory /usr/lib/cgi-bin/> Order allow,deny Allow from all Require all granted </Directory>
# Raise this if you get server errors mentioning "mod_fcgid: # read data timeout in 40 seconds" #FcgidIOTimeout 40
# Uncomment to log Abe requests. ErrorLog /var/log/abe_error.log LogLevel info CustomLog /var/log/abe_access.log combined
</VirtualHost>
I have checked filesystem permissions and I am able to run the fcgi with sudo -u www-data /usr/lib/cgi-bin/abe.fcgi The output when run from the command line generates errors which I assume are caused by not running it with fcgi Abe initialized. WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py", line 558, in run protocolStatus, appStatus = self.server.handler(self) File "/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py", line 1118, in handler result = self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 191, in __call__ if fix_path_info(env): File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2059, in fix_path_info if pi[-1] != '/' and env['PATH_INFO'][-1] == '/': IndexError: string index out of range Content-Type: text/html
<body bgcolor="#f0f0f8"> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> <tr bgcolor="#6622aa"> <td valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><type 'exceptions.IndexError'></strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial">Python 2.7.6: /usr/bin/python<br>Wed May 21 00:27:41 2014</font></td></tr></table>
<p>A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.</p> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py">/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py</a> in <strong>run</strong>(self=<flup.server.fcgi_base.CGIRequest object>)</td></tr> <tr><td><font color="#909090"><tt> <small> 556</small> """Runs the handler, flushes the streams, and ends the request."""<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 557</small> try:<br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 558</small> protocolStatus, appStatus = self.server.handler(self)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 559</small> except:<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 560</small> traceback.print_exc(file=self.stderr)<br> </tt></font></td></tr> <tr><td><small><font color="#909090">protocolStatus <em>undefined</em>, appStatus <em>undefined</em>, <strong>self</strong> = <flup.server.fcgi_base.CGIRequest object>, self.<strong>server</strong> = [Suspicious link removed]GIServer object>, self.server.<strong>handler</strong> = <bound method WSGIServer.handler of [Suspicious link removed]GIServer object>></font></small></td></tr></table> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py">/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py</a> in [Suspicious link removed]GIServer object>, req=<flup.server.fcgi_base.CGIRequest object>)</td></tr> <tr><td><font color="#909090"><tt> <small> 1116</small> try:<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 1117</small> try:<br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 1118</small> result = self.application(environ, start_response)<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 1119</small> try:<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 1120</small> for data in result:<br> </tt></font></td></tr> <tr><td><small><font color="#909090"><strong>result</strong> = None, <strong>self</strong> = [Suspicious link removed]GIServer object>, self.<strong>application</strong> = <__main__.Abe instance>, <strong>environ</strong> = {'HOME': '/root', 'LANG': 'en_US.UTF-8', 'LOGNAME': 'distroblitz', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:d...*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/distroblitz', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': '', 'PWD': '/home/distroblitz', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', ...}, <strong>start_response</strong> = <function start_response></font></small></td></tr></table> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.7/dist-packages/Abe/abe.py">/usr/local/lib/python2.7/dist-packages/Abe/abe.py</a> in <strong>__call__</strong>(abe=<__main__.Abe instance>, env={'HOME': '/root', 'LANG': 'en_US.UTF-8', 'LOGNAME': 'distroblitz', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:d...*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/distroblitz', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': '', 'PWD': '/home/distroblitz', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', ...}, start_response=<function start_response>)</td></tr> <tr><td><font color="#909090"><tt> <small> 189</small> page['params'] = urlparse.parse_qs(env['QUERY_STRING'])<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 190</small> <br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 191</small> if fix_path_info(env):<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 192</small> abe.log.debug("fixed path_info")<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 193</small> return redirect(page)<br> </tt></font></td></tr> <tr><td><small><font color="#909090"><em>global</em> <strong>fix_path_info</strong> = <function fix_path_info>, <strong>env</strong> = {'HOME': '/root', 'LANG': 'en_US.UTF-8', 'LOGNAME': 'distroblitz', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:d...*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/distroblitz', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': '', 'PWD': '/home/distroblitz', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', ...}</font></small></td></tr></table> <table width="100%" cellspacing=0 cellpadding=0 border=0> <tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.7/dist-packages/Abe/abe.py">/usr/local/lib/python2.7/dist-packages/Abe/abe.py</a> in <strong>fix_path_info</strong>(env={'HOME': '/root', 'LANG': 'en_US.UTF-8', 'LOGNAME': 'distroblitz', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:d...*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/distroblitz', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': '', 'PWD': '/home/distroblitz', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', ...})</td></tr> <tr><td><font color="#909090"><tt> <small> 2057</small> pi = env['PATH_INFO']<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 2058</small> pi = posixpath.normpath(pi)<br> </tt></font></td></tr> <tr><td bgcolor="#ffccee"><tt>=><small> 2059</small> if pi[-1] != '/' and env['PATH_INFO'][-1] == '/':<br> </tt></td></tr> <tr><td><font color="#909090"><tt> <small> 2060</small> pi += '/'<br> </tt></font></td></tr> <tr><td><font color="#909090"><tt> <small> 2061</small> if pi == env['PATH_INFO']:<br> </tt></font></td></tr> <tr><td><small><font color="#909090"><strong>pi</strong> = '.', <strong>env</strong> = {'HOME': '/root', 'LANG': 'en_US.UTF-8', 'LOGNAME': 'distroblitz', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:d...*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/distroblitz', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': '', 'PWD': '/home/distroblitz', 'PYTHONUNBUFFERED': '1', 'QUERY_STRING': '', ...}</font></small></td></tr></table><p><strong><type 'exceptions.IndexError'></strong>: string index out of range <br><tt><small> </small> </tt>args = ('string index out of range',) <br><tt><small> </small> </tt>message = 'string index out of range'
<!-- The above is a description of an error in a Python program, formatted for a Web browser because the 'cgitb' module was enabled. In case you are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py", line 558, in run protocolStatus, appStatus = self.server.handler(self) File "/usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py", line 1118, in handler result = self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 191, in __call__ if fix_path_info(env): File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2059, in fix_path_info if pi[-1] != '/' and env['PATH_INFO'][-1] == '/': IndexError: string index out of range
-->
any advice is greatly appreciated
|
|
|
Getcoin2.com DIEM faucet is back with shiny new DIEM. Faucet ran through the migration, if you have a balance enter your new DIEM address and you will get paid! http://n.cur.lv/DIEM
|
|
|
Let me know if you are in need of a faucet....
|
|
|
looks like the block chain is stuck at a difficulty of 4.575
4449 2014-04-16 08:39:20 1 314159 4.575 1397693391 18.676 47.5372 7.56919% 4448 2014-04-16 08:39:11 1 314159 1.777 1397379232 18.6801 47.5371 7.56923% 4447 2014-04-16 08:37:09 1 314159 0.441 1397065073 18.6829 47.5357 7.56975% 4446 2014-04-16 08:36:09 1 314159 0.71 1396750914 18.6864 47.535 7.57001%
|
|
|
This would be a great addition to my multi-faucet page http:/www.getcoin2.com
Please PM or email me if you are interested.
I have added the meta description to the site.
|
|
|
We will be adding a BCC faucet just before launch at http://www.getcoin2.com. Sign up today and start earning when the faucet opens! We have also invested in the IPO to support this project!
|
|
|
Whoa the name alone is Killer The bonus blocks are awesome
|
|
|
Great giveaways on polo tonight.... thanks for the DIEM! 
|
|
|
Wallet stopped syncing ... is this the block chain problem that rat4 is working on (timestamps):
Block Approx. Time Transactions Value Out Difficulty Outstanding Average Age Chain Age % CoinDD 38424 2014-03-24 03:33:34 2 17.63912408 0.126 74487032.45195633 7.3703 27.8983 70.7162% 38423 2014-03-24 03:42:02 2 60.13794739 0.24 74487032.44051188 7.37618 27.9042 70.6996% 38422 2014-03-24 03:33:19 3 111397.63997077 0.299 74487032.40256449 7.37015 27.8981 70.7166%
|
|
|
Our faucet code is up now we need some people to start using the site. Please signup http://www.getcoin2.com and start using the faucets. We currently have 3 faucets with daily payout. DOGE BELI and PI. Moving forward we will be adding more faucets. Is there a coin you think we should add? After we get some activity on the site we will configure the faucets to retarget to a specific date, no more dry faucets. Referral support is coming. We welcome any input.
|
|
|
My little 333/MHs USB feels useful with this coin ... for the next few days anyways.
|
|
|
|