[OGo-Developer] OGo Trunk WebUI Crashing With Signal#6

Adam Tauno Williams developer@opengroupware.org
Mon, 11 Dec 2006 15:13:15 -0500


On Mon, 2006-12-11 at 18:35 +0100, Helge Hess wrote:
> On Dec 11, 2006, at 18:01, Adam Tauno Williams wrote:
> > session_log (account_id, session_log_id, action, log_date) VALUES
> > (10120, 39870, 'login', '%Y-%m-%d %H:%M:%S%z')
> Weird. Obviously the format string is generated instead of the actual  
> (formatted) date value.
> This is most likely NSCalendarDate+PGVal.m / PGSQL_TIMESTAMP_FORMAT.
> Maybe you can set a break point in GDB and step through the method.  
> Possibly you can see why it happens.

I'll see what I can do.

Interesting;  I had another box sitting around with an older version of
OGo,  I updated it to the nightly trunk packages. And when I try to
login....

Application Server caught exception:
  session: 3640364001457C4A33
  element
  context: <0x0x86d985c[WOContext]: 001457c4a33086d985c app=ogo-webui-1.1 sn=3640364001457C4A33 eid= rqeid=>
  request: <WORequest[0x0x86d2314]: method=POST uri=/OpenGroupware.woa/x/login?da=&o=1165773349 app=OpenGroupware rqKey=x rqPath=login>
  class:   PostgreSQL72Exception
  name:    PostgreSQL72FatalError
  reason:  fatal pgsql error (channel=<0x0x88c2014[PostgreSQL72Channel]: connection=<0x0x88c2214[PGConnection]:  connection=0x0x88c2a88>>): ERROR:  invalid input syntax for type timestamp with time zone: "%Y-%m-%d %H:%M:%S%z"
  info: