List:Eventum General Discussion« Previous MessageNext Message »
From:Elan Ruusamäe Date:January 17 2005 6:10pm
Subject:Re: Eventum 1.4 SCM Integration
View as plain text  
okay. looks like the problem is in scm class
it calls History::add with 4 params:

History::add($issue_id, APP_SYSTEM_USER_ID, History::getTypeID('scm_checkin_associated'),
                            'SCM Checkins associated by SCM user \'' .
$HTTP_GET_VARS["username"] . '\'.');

and the type 'scm_checkin_associated' wasn't defined.
i wonder which doc i left unread :(

or where i define the (missing?) history event(?) type(s)?

On Monday 17 January 2005 15:07, Elan Ruusamäe wrote:
> hi
>
> i have here also problems with the ingegration
>
> strange, is that i found php script, not perl from 1.4 distribution.
>
> and the scm_ping.php url to it posts, expects all parameters as in base64
> encoded. i did that change to misc/scm/process_cvs_commits.php, so that ALL
> params are passed as base64 encoded.
>
> but now i get another error:
>
> An error was found at 01/17/2005 15:02:32 (1105966952) on line '102' of
> script '/usr/share/eventum/include/class.history.php'.
>
> The error message passed to us was:
>
> 'DB Error: syntax error'
>
> A more detailed error message follows:
>
> 'INSERT INTO
>                     eventum.eventum_issue_history
>                  (
>                     his_iss_id,
>                     his_usr_id,
>                     his_created_date,
>                     his_summary,
>                     his_htt_id) VALUES (
>                     1,
>                     1,
>                     '2005-01-17 13:02:32',
>                     'SCM Checkins associated by SCM user \'glen\'.',
>                     ) [nativecode=1064 ** You have an error in your SQL
> syntax.  Check the manual that corresponds to your MySQL server version for
> the right syntax to use near ')' at line 13]'
>
> That happened on page '/eventum/scm_ping.php' from IP Address 'XXX' coming
> from the page (referrer) ''.
>
> On Monday 17 January 2005 00:35, John Mortlock wrote:
> > Make sure you checked out the module CVSROOT from your CVS repository and
> > modify the loginfo file.
> >
> > I addeed the following to get mine working (using the perl version)
> >   ALL /usr/local/bin/perl /usr/home/cvs/CVSROOT/process_commits.pl $USER
> > %{sVv}
> >
> > Once you changed the loginfo file you must commit it for the changes to
> > take affect.
> >
> > You also need to modify the process_commits.pl file to point to the
> > correct hostname my $domain = 'mydomain.com';
> >
> > and if you don't use the default installation change the following line
> > my $ping_url = '/eventum/scm_ping.php';
> >
> > Hope this helps
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Tamara Harpster [mailto:tharpster@stripped]
> > Sent: Mon 1/17/2005 4:11 AM
> > To: eventum-users@stripped
> > Subject: RE: Eventum 1.4 SCM Integration
> >
> >
> > For the server, CVS 1.12.8 on a Solaris box
> >
> >
> >
> > For the Client, TortoiseCVS 1.8.11 on a Windows box. Currently, our
> > primary check-ins would occur on Windows boxes and probably with
> > TortoiseCVS.
> >
> >
> >
> > I'd try and do some more debugging myself to find the problem, but a
> > couple of other projects have popped up that I need to work on. If you'd
> > like to send me a debug script, let me know, I'd be glad to try it out.
> >
> >
> >
> > Tamara Harpster
> >
> >
> >
> >
> >
> >  --- On Sat 01/15, Joao Prado Maia < jpm@stripped > wrote:
> >
> > From: Joao Prado Maia [mailto: jpm@stripped]
> >
> > To: eventum-users@stripped
> >
> > Date: Sat, 15 Jan 2005 10:57:55 -0600
> >
> > Subject: RE: Eventum 1.4 SCM Integration
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Tamara,
> >
> > > Just tried that, in a couple of different ways, still didn't
> > >
> > > work. I tried with the Issue at the front and end of the
> > >
> > > message and once in the middle. I forget why I went to
> > >
> > > brackets, sigh, but going back to parenthesis still doesn't
> > >
> > > work. With the brackets or parens, I get the same type of
> > >
> > > results as noted below. When I sent either bracket or parens
> > >
> > > within a regular expression parser, it found the containing
> > >
> > > issue: 125, but didn't match exactly
> >
> > What is the version of CVS that you are running now? Maybe this is
> > something
> >
> > that only happens with a newer version or something.
> >
> >
> >
> > --Joao
> >
> >
> >
> >
> >
> > --
> >
> > Eventum Users Mailing List
> >
> > For list archives: http://lists.mysql.com/eventum-users
> >
> > To unsubscribe:
> > http://lists.mysql.com/eventum-users?unsub=1
> >
> > _______________________________________________
> > Join Excite! - http://www.excite.com
> > The most personalized portal on the Web!
>
> --
> glen

-- 
glen
Thread
Eventum 1.4 SCM IntegrationTamara Harpster11 Jan
RE: Eventum 1.4 SCM IntegrationTamara Harpster11 Jan
  • RE: Eventum 1.4 SCM IntegrationJoao Prado Maia11 Jan
RE: Eventum 1.4 SCM IntegrationTamara Harpster11 Jan
  • RE: Eventum 1.4 SCM IntegrationJoao Prado Maia15 Jan
RE: Eventum 1.4 SCM IntegrationTamara Harpster16 Jan
RE: Eventum 1.4 SCM IntegrationJohn Mortlock16 Jan
  • Re: Eventum 1.4 SCM IntegrationElan Ruusamäe17 Jan
    • Re: Eventum 1.4 SCM IntegrationElan Ruusamäe17 Jan
Re: Eventum 1.4 SCM IntegrationTamara Harpster17 Jan
  • Re: Eventum 1.4 SCM IntegrationElan Ruusamäe17 Jan
    • RE: Eventum 1.4 SCM IntegrationJoao Prado Maia26 Feb
RE: Eventum 1.4 SCM IntegrationJohn Mortlock21 Jan
  • RE: Eventum 1.4 SCM IntegrationJoao Prado Maia26 Feb