[OGo-Users] Job errors in webui

users@opengroupware.org users@opengroupware.org
Wed, 28 May 2008 23:27:56 +0100


Hi Adam,

I got errors when creating a new task or editing an existing task -- it 
was sporadic, but very frequent .  I was creating a Job directly (not from 
inside a project).  I had created a few tasks last week when I was getting 
the hang of OGO, but didn't see any errors then.  I suppose it is possible 
that I was using the OGO from your SuSE packages then.

I set the Default you suggested and here's what the log said:

First I tried to edit an existing task:

May 28 22:22:24 ogo-webui-1.1 [7575]: CmdCtx[user1]D: Note: committed 
transaction started at 2008-05-28 22:22:24 -0000 (duration=0.004s)
May 28 22:22:24 ogo-webui-1.1 [7575]: session 1D971D9702483DDB06 
terminated at 2008-05-28 22:22:24 -0000 ..
May 28 22:22:25 ogo-webui-1.1 [7575]: <<0x0x8895904[WOForm]>>D Note: 
session-id is requested, but no session is active?
May 28 22:22:34 ogo-webui-1.1 [7575]: |ogo-webui-1.1| 
<OpenGroupware[0x0x81022b4]: name=ogo-webui-1.1>: created session: 
<OGoSession[0x0x8afa0b4]: id=1D971D9703483DDB2A>
May 28 22:22:34 ogo-webui-1.1 [7575]: ccaps: 
<WEClientCapabilities[0x0x8ab5f74]: type=Mozilla v5.0 os=Windows cpu=ix86 
fast-tbl css2 xul js>
May 28 22:22:34 ogo-webui-1.1 [7575]: OGoContextManager(d): login user 
user2 ..
May 28 22:22:34 ogo-webui-1.1 [7575]: CmdCtx[]D: opening channel for 
transaction ...
May 28 22:22:34 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:22:34 -0000 (duration=0.039s)
May 28 22:22:34 ogo-webui-1.1 [7575]: OGo[user2]D: account 'user2' is 
logged in.
May 28 22:22:34 ogo-webui-1.1 [7575]: (1D971D9703483DDB2A) user user2 
logged in.
May 28 22:22:34 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:22:34 -0000 (duration=0.018s)
May 28 22:22:34 ogo-webui-1.1 [7575]: Note: using flat-array message 
notifications!
May 28 22:22:34 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:22:34 -0000 (duration=0.030s)
May 28 22:22:39 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:22:39 -0000 (duration=0.003s)
May 28 22:22:39 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:22:39 -0000 (duration=0.011s)
May 28 22:22:45 ogo-webui-1.1 [7575]: (1D971D9703483DDB2A) tx is going to 
be rolled back ..
May 28 22:22:45 ogo-webui-1.1 [7575]: CmdCtx[user2]D: canceled transaction 
started at 2008-05-28 22:22:45 -0000
May 28 22:22:45 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:22:45 -0000 (duration=0.021s)

Next I tried to create a new task:

May 28 22:24:12 ogo-webui-1.1 [7575]: [WARN] <0x0x8a82d3c[OWPasteboard]> 
missing type argument for retrieving object from the pasteboard: 
<OWPasteboard[0x0x8a82d3c]: name=LSWTransferPasteboard owner= 
changeCount=1>
May 28 22:24:12 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
transaction started at 2008-05-28 22:24:12 -0000 (duration=0.003s)
May 28 22:24:23 ogo-webui-1.1 [7575]: CmdCtx[user2]D: canceled transaction 
started at 2008-05-28 22:24:23 -0000
May 28 22:24:23 ogo-webui-1.1 [7575]: (1D971D9703483DDB2A) command 
job::new({
    category = "";
    completionDate = "";
    endDate = "2008-06-04 23:59:59 GMT";
    executantId = 10191;
    isTeamJob = 0;
    keywords = "";
    name = "make pizza";
    percentComplete = 0;
    priority = 3;
    projectId = "";
    startDate = "2008-05-28 00:00:00 GMT";
}) failed:
  name:   ObjcRuntimeException  reason: NSTemporaryString (instance) does 
not recognize count  info:   <none>
May 28 22:24:23 ogo-webui-1.1 [7575]: [ERROR] (1D971D9703483DDB2A) failed: 
job::new({
    category = "";
    completionDate = "";
    endDate = "2008-06-04 23:59:59 GMT";
    executantId = 10191;
    isTeamJob = 0;
    keywords = "";
    name = "make pizza";
    percentComplete = 0;
    priority = 3;
    projectId = "";
    startDate = "2008-05-28 00:00:00 GMT";
})
May 28 22:24:23 ogo-webui-1.1 [7575]: (1D971D9703483DDB2A) tx is going to 
be rolled back ..
May 28 22:24:23 ogo-webui-1.1 [7575]: CmdCtx[user2]D: can't rollback: no 
transaction in progress !
May 28 22:24:23 ogo-webui-1.1 [7575]: [WARN] (1D971D9703483DDB2A) tx 
commit failed !
May 28 22:24:23 ogo-webui-1.1 [7575]: [ERROR] LSWJobEditor -[OGoEditorPage 
saveAndGoBackWithCount:]: could not perform operation!

I don't know if it has any relevance, but I hadn't pasted anything to the 
clipboard nor tried to copy anything from it, despite the first line of 
this second log excerpt saying something about that.

Bernard








Re: [OGo-Users] Job errors in webui

Adam Tauno Williams 
to:
users
28/05/2008 23:13


Sent by:
users-admin@opengroupware.org
Please respond to users






> > Whilst trying to see what sequence of actions produces the error, I 
did 
> > get this popup:
> > job::new:ObjcRuntimeException NSTempoaryString (instance0
> > does not recognize count
> Interesting;  r2051 isn't terribly new.  There have been some changes to
> the task stuff, but all [I think] after r2051.
> Did you get the above popup while creating a task from the task
> application or from inside a project?

Maybe the new OGoJobAccessHandler was introduced by r2051 (although I
doubt it).  If you really get nothing in the log try setting
OGoJobAccessHandler to YES, restarting the WebUI, and checking if
anything shows up around the error.

-- 
OpenGroupware.org Users
users@opengroupware.org
http://mail.opengroupware.org/mailman/listinfo/users