MantisBT - CDash
View Issue Details
0010721CDashpublic2010-05-17 06:312010-10-25 02:36
Rolf Eike Beer 
Julien Jomier 
0010721: Showing build errors (the yellow triangle) does not work
URL is like .../cdash/viewErrorLog.php?buildid=2010&projectid=1&date=

Error is

Fatal error: Call to a member function fetch() on a non-object in .../cdash/cdash/pdo.php on line 121

This is PostgreSQL 8.4.2.
No tags attached.
Issue History
2010-05-17 06:31Rolf Eike BeerNew Issue
2010-05-17 12:09Julien JomierStatusnew => assigned
2010-05-17 12:09Julien JomierAssigned To => Julien Jomier
2010-05-17 12:17Julien JomierNote Added: 0020759
2010-05-17 12:19Julien JomierNote Edited: 0020759
2010-05-17 12:30Julien JomierNote Added: 0020760
2010-05-17 12:30Julien JomierStatusassigned => resolved
2010-05-17 12:30Julien JomierFixed in Version => 1.8
2010-05-17 12:30Julien JomierResolutionopen => fixed
2010-05-18 02:03Rolf Eike BeerNote Added: 0020777
2010-05-18 02:03Rolf Eike BeerStatusresolved => feedback
2010-05-18 02:03Rolf Eike BeerResolutionfixed => reopened
2010-05-18 09:09Julien JomierNote Added: 0020780
2010-05-18 09:14Rolf Eike BeerNote Added: 0020781
2010-05-18 09:16Julien JomierNote Added: 0020782
2010-05-18 09:21Rolf Eike BeerNote Added: 0020783
2010-06-04 04:58Rolf Eike BeerNote Added: 0020923
2010-10-25 02:36Julien JomierStatusfeedback => closed

Julien Jomier   
2010-05-17 12:17   
(edited on: 2010-05-17 12:19)
Could you make sure that you have a errorlog table. It seems that your upgrade didn't work as expect and that might be the problem. Otherwise let me know if you have any other logs in the php/apache logs. Actually the date is not set, let me put a fix in SVN.

Julien Jomier   
2010-05-17 12:30   
Should be better now. Otherwise let me know.
Rolf Eike Beer   
2010-05-18 02:03   
Now I get these:

(compute_error_difference): SQL error: ERROR: column "crc32" does not exist LINE 2: (SELECT crc32 FROM (SELECT crc32 FROM buildfa... ^
Julien Jomier   
2010-05-18 09:09   
Could you check that you have a column crc32 in the buildfailure column?
Rolf Eike Beer   
2010-05-18 09:14   
Of course not ;( But shouldn't that one have been created by the upgrade script?
Julien Jomier   
2010-05-18 09:16   
Yes it should.... could you try to upgrade again and see if that works? otherwise I'll take a look...
Rolf Eike Beer   
2010-05-18 09:21   
Tried the upgrade script like 3 times today (r2352)

Find me in #cmake on Freenode, this should make things faster.
Rolf Eike Beer   
2010-06-04 04:58   
I now created crc32 and newstatus columns by hand. For me it looks like they were never added to the cdash-upgrade-* files so they will not exist if an existing installation is upgraded.