I have never encountered problems logging newlines (or complete stack
traces for that matter whic include new lines ;-)

Really need a stacktrace, not just the error message.

T

On Sep 24, 11:51 am, Eli Jones <[email protected]> wrote:
> Well, seems like there may be some issue with calling logging.info('\n')..
>
> Have you just tried to see if you can call logging.info('\n') to see if that
> causes an issue?
>
> Or..even just do a test with something like this:
>
> myString = "foo\nbar"
> for c in myString:
>     logging.info(c)
>
> To see if you get the same error?
>
>
>
>
>
>
>
> On Thu, Sep 23, 2010 at 11:37 PM, Monte <[email protected]> wrote:
> > Greetings
>
> > Trying not to duplicate this more than necessary...but I am getting it
> > consistently, it appears not to be entity specific:
> > "A serious problem was encountered with the process that handled this
> > request, causing it to exit"
>
> > Basically I have:
>
> > class Foo(db.Model):
> >   bar = db.TextProperty()
>
> > def rpc():
> >   foo = Foo()
> >   foo.bar = 'FOO\nBAR'
> >   key = foo.put()
> >   foo = db.get(key)
>
> >   # this results in the above unfortunate result
> >   for c in foo.bar:
> >      logging.info(c)
>
> >   # this results in no problemo
> >   for c in foo.bar.replace('\n', ''):
> >      logging.info(c)
>
> >   # =
> >   # F
> >   # O
> >   # O
> >   # B
> >   # A
> >   # R
>
> > Any thoughts greatly appreciated!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to