List Info

Thread: unrecoverable error




unrecoverable error
user name
2006-02-15 22:41:20
Hi Christian,
If I understand you correctly, setting logToScreen=True was the reason that the Googlebot wasn't indexing you site? Googlebot visited my site 454+30 times and MSNbot 935+90 times this month only. But up till now logToScreen was True...
mmhh, maybe someone can shed a light on this,
tanks,
Dimitri
 

A story:

A couple months ago, I couldn't for the life of me figure out why Google
wasn't indexing my site. ; I had submitted it to be crawled, emailed
Google to beg for mercy, blah blah blah... Nothing.  I was digging
around in my logs one day when I noticed I wasn't really getting any
404s, but a *bunch* of 500s. ; This struck me as odd.  Then I noticed
that even requests for robots.txt were returning a 500!  I tried
browsing to robots.txt an got the "Unrecoverable error in the server"
message.

I finally figured out that it was due to running the CP server detached
from a terminal with logToScreen=True.  Doh!  The Googlebot is now
~Arthur Schopenhauer
----
Please visit dimitri's website: www.serpia.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

unrecoverable error
user name
2006-02-15 23:31:50
dimitri pater wrote:
> Hi Christian,
> If I understand you correctly, setting logToScreen=True
was the reason 
> that the Googlebot wasn't indexing you site? 

Well, having server.logToScreen=True on my server was
causing any CP 
exception (even NotFound, aka 404) to foul up something
internal and 
generate the internal server error, thus the 500 HTTP status
code.

I usually ssh into my box after starting it up and do a
"python 
myserver.py &" to get the server running in the
background.  Then I quit 
the ssh session, and the CP server keeps running.  I think
it loses its 
terminal or something like that when I end my ssh session
though.

I then have Apache proxy requests for projects.dowski.com to
my CP app.

The reason the Googlebot was staying away had to do with it
getting a 
500 status when trying to read robots.txt.  Your setup might
be 
different enough from mine that you aren't getting exactly
the same 
behavior as I was.

It just sounded like a similar situation.

Christian
http://www.dowski.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

unrecoverable error
user name
2006-02-15 23:49:11


On 2/16/06, Christian Wyglendowski <dowski.com">christiandowski.com> wrote:

I usually ssh into my box after starting it up and do a "python
myserver.py &"; to get the server running in the background. &nbsp;Then I quit
the ssh session, and the CP server keeps running.&nbsp; I think it loses its
terminal or something like that when I end my ssh session though.

 

It just sounded like a similar situation.

and it *does* sound like a similar situation,
I also ssh to start the server and probably that loses the terminal when exiting the session
thanks,
Dimitri


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users&quot; group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

unrecoverable error
user name
2006-02-16 02:19:06
dimitri pater <dimitri.patergmail.com> writes:

> On 2/16/06, Christian Wyglendowski <christiandowski.com> wrote:
>
>     I usually ssh into my box after starting it up and
do a "python
>     myserver.py &" to get the server running
in the background.  Then I quit
>     the ssh session, and the CP server keeps running. 
I think it loses its
>     terminal or something like that when I end my ssh
session though.
>
>     It just sounded like a similar situation.
>
> and it *does* sound like a similar situation, I also
ssh to start
> the server and probably that loses the terminal when
exiting the
> session

You guys need to take a look at using screen.  Not only does
screen
provide a terminal to programs, but you can reconnect to
them if the
connection gets cut.  I generally keep any number of remote
terminals
open and then reconnect to them after I have sshed in with a
simple
screen -x.

Just a thought.

Jason Earl

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )