Thread: [Codestriker-user] Problem with codestriker-1.9.1
Brought to you by:
sits
|
From: Michael J. F. <mfr...@ne...> - 2005-10-20 19:42:41
|
I'm trying to create a new topic and it keeps saying: Problem generating topic text: And then no other error messages. Looking in the .pm file that that error=20 message is generated from it seems like that should only be called when=20 trying to upload a diff, but I'm trying to get it to connect to subversion= =20 directly..=20 Bueller? =2D-=20 Michael J. Freeman NMS Development Netco Government Services, Inc. =2D- It is amazing what you can accomplish if you do not care who gets the credi= t. -- Harry S. Truman |
|
From: David S. <si...@us...> - 2005-10-21 02:15:12
|
Have a look in your apache error log files, the message we need to see is most likely in there. Also make sure your path to subversion has been set correctly in your codestriker.conf file. What version of Codestriker are you using and is this on a Linux or Windoze box? On Fri, 21 Oct 2005 05:42, Michael J. Freeman wrote: > I'm trying to create a new topic and it keeps saying: > > Problem generating topic text: > > And then no other error messages. Looking in the .pm file that that > error message is generated from it seems like that should only be called > when trying to upload a diff, but I'm trying to get it to connect to > subversion directly.. > > Bueller? -- Cheers, David |
|
From: Michael J. F. <mfr...@ne...> - 2005-10-21 02:24:06
|
Thanks for your reply. I've been watching the logs all along and haven't se= en=20 any error. I even have mysql query logging on, I'm not sure what I should b= e=20 looking for, but I do see a couple SELECT's going on.. Thanks for your reply. After another closer look at my logs, I'm seeing this in my access_log: On Thursday 20 October 2005 21:14, David Sitsky wrote: > Have a look in your apache error log files, the message we need to see is > most likely in there. > > Also make sure your path to subversion has been set correctly in your > codestriker.conf file. > > What version of Codestriker are you using and is this on a Linux or Windo= ze > box? > > On Fri, 21 Oct 2005 05:42, Michael J. Freeman wrote: > > I'm trying to create a new topic and it keeps saying: > > > > Problem generating topic text: > > > > And then no other error messages. Looking in the .pm file that that > > error message is generated from it seems like that should only be called > > when trying to upload a diff, but I'm trying to get it to connect to > > subversion directly.. > > > > Bueller? =2D-=20 Michael J. Freeman NMS Development Netco Government Services, Inc. =2D- A cynic is a person searching for an honest man, with a stolen lantern. -- Edgar A. Shoaff |
|
From: Michael J. F. <mfr...@ne...> - 2005-10-21 02:25:21
|
After having another closer look at my logs I see this in my access_log: [Thu Oct 20 21:57:42 2005] [error] [client 172.17.85.72] [Thu Oct 20 21:57:= 42=20 2005] codestriker.pl: Use of uninitialized value in string ne=20 at /var/www/codestriker/codestriker-1.9.1/bin/../lib/Codestriker/Http/Templ= ate.pm=20 line 77., referer:=20 http://cyclone.nms.wamnet.inc/codestriker/codestriker.pl?action=3Dcreate This is 1.9.1 on Linux (RHEL) On Thursday 20 October 2005 21:14, David Sitsky wrote: > Have a look in your apache error log files, the message we need to see is > most likely in there. > > Also make sure your path to subversion has been set correctly in your > codestriker.conf file. > > What version of Codestriker are you using and is this on a Linux or Windo= ze > box? > > On Fri, 21 Oct 2005 05:42, Michael J. Freeman wrote: > > I'm trying to create a new topic and it keeps saying: > > > > Problem generating topic text: > > > > And then no other error messages. Looking in the .pm file that that > > error message is generated from it seems like that should only be called > > when trying to upload a diff, but I'm trying to get it to connect to > > subversion directly.. > > > > Bueller? =2D-=20 Michael J. Freeman NMS Development Netco Government Services, Inc. =2D- A billion here, a couple of billion there -- first thing you know it adds up to be real money. -- Senator Everett McKinley Dirksen |
|
From: Michael J. F. <mfr...@ne...> - 2005-10-21 02:34:05
|
Sorry for the spam, I guess I need some more training with my e-mail progra=
m=20
8)
Anyways, After looking at the code it looks like that error was nothing=20
serious, I just commented out some stuff I shouldn't have.
I'm not seeing any errors in my error_log or access_logs..
Looking at the code block that the error came from, this condition isn't=20
happening, or shouldn't be happening..=20
My subversion setup is like so:
svn:https://blahblah/svn/nmci/
I'm trying to pull out /svn/nmci/CM/cmang version 403 to 504.=20
I have my repository selected, for module I put CM/cmang/trunk/cmang.pl
So I'm not even trying to do this with the topic text upload thing, supplyi=
ng=20
my own diff..
Does this help any?
if ($topic_text eq "") {
if (defined $temp_error_fh)=20
{ seek($temp_error_fh, 0,=
=20
0);
$feedback .=3D "Problem generating topic text:\n\n";
my $buf =3D "";
while (read $temp_error_fh, $buf, 16384) {
$feedback .=3D $buf;
}
}
else {
$feedback =3D "Uploaded file doesn't exist or is empty.\n";
}
On Thursday 20 October 2005 21:25, Michael J. Freeman wrote:
> After having another closer look at my logs I see this in my access_log:
>
> [Thu Oct 20 21:57:42 2005] [error] [client 172.17.85.72] [Thu Oct 20
> 21:57:42 2005] codestriker.pl: Use of uninitialized value in string ne
> at
> /var/www/codestriker/codestriker-1.9.1/bin/../lib/Codestriker/Http/Templa=
te
>.pm line 77., referer:
> http://cyclone.nms.wamnet.inc/codestriker/codestriker.pl?action=3Dcreate
>
> This is 1.9.1 on Linux (RHEL)
>
> On Thursday 20 October 2005 21:14, David Sitsky wrote:
> > Have a look in your apache error log files, the message we need to see =
is
> > most likely in there.
> >
> > Also make sure your path to subversion has been set correctly in your
> > codestriker.conf file.
> >
> > What version of Codestriker are you using and is this on a Linux or
> > Windoze box?
> >
> > On Fri, 21 Oct 2005 05:42, Michael J. Freeman wrote:
> > > I'm trying to create a new topic and it keeps saying:
> > >
> > > Problem generating topic text:
> > >
> > > And then no other error messages. Looking in the .pm file that that
> > > error message is generated from it seems like that should only be
> > > called when trying to upload a diff, but I'm trying to get it to
> > > connect to subversion directly..
> > >
> > > Bueller?
=2D-=20
Michael J. Freeman
NMS Development
Netco Government Services, Inc.
=2D-
Nothing travels faster than the speed of light with the possible exception
of bad news, which obeys it's own special laws.
-- Douglas Adams
|
|
From: David S. <si...@us...> - 2005-10-21 05:01:58
|
Hi Michael,
The other common issue is related to permissions. What account is running
apache? Try running the equivalent subversion commands under that account
to see if it has permission to do so, and more importantly, isn't prompted
for any passwords.
Cheers,
David
On Fri, 21 Oct 2005 12:33, Michael J. Freeman wrote:
> Sorry for the spam, I guess I need some more training with my e-mail
> program 8)
>
> Anyways, After looking at the code it looks like that error was nothing
> serious, I just commented out some stuff I shouldn't have.
>
> I'm not seeing any errors in my error_log or access_logs..
>
> Looking at the code block that the error came from, this condition isn't
> happening, or shouldn't be happening..
>
> My subversion setup is like so:
>
> svn:https://blahblah/svn/nmci/
>
> I'm trying to pull out /svn/nmci/CM/cmang version 403 to 504.
>
> I have my repository selected, for module I put CM/cmang/trunk/cmang.pl
>
> So I'm not even trying to do this with the topic text upload thing,
> supplying my own diff..
>
> Does this help any?
>
>
> if ($topic_text eq "") {
> if (defined $temp_error_fh)
> { seek($temp_error_fh,
> 0, 0);
> $feedback .= "Problem generating topic text:\n\n";
> my $buf = "";
> while (read $temp_error_fh, $buf, 16384) {
> $feedback .= $buf;
> }
> }
> else {
> $feedback = "Uploaded file doesn't exist or is empty.\n";
> }
>
> On Thursday 20 October 2005 21:25, Michael J. Freeman wrote:
> > After having another closer look at my logs I see this in my
> > access_log:
> >
> > [Thu Oct 20 21:57:42 2005] [error] [client 172.17.85.72] [Thu Oct 20
> > 21:57:42 2005] codestriker.pl: Use of uninitialized value in string ne
> > at
> > /var/www/codestriker/codestriker-1.9.1/bin/../lib/Codestriker/Http/Tem
> >plate .pm line 77., referer:
> > http://cyclone.nms.wamnet.inc/codestriker/codestriker.pl?action=create
> >
> > This is 1.9.1 on Linux (RHEL)
> >
> > On Thursday 20 October 2005 21:14, David Sitsky wrote:
> > > Have a look in your apache error log files, the message we need to
> > > see is most likely in there.
> > >
> > > Also make sure your path to subversion has been set correctly in
> > > your codestriker.conf file.
> > >
> > > What version of Codestriker are you using and is this on a Linux or
> > > Windoze box?
> > >
> > > On Fri, 21 Oct 2005 05:42, Michael J. Freeman wrote:
> > > > I'm trying to create a new topic and it keeps saying:
> > > >
> > > > Problem generating topic text:
> > > >
> > > > And then no other error messages. Looking in the .pm file that
> > > > that error message is generated from it seems like that should
> > > > only be called when trying to upload a diff, but I'm trying to get
> > > > it to connect to subversion directly..
> > > >
> > > > Bueller?
--
Cheers,
David
|
|
From: Michael J. F. <mfr...@ne...> - 2005-10-21 05:14:36
|
I'm not sure what I've done, but it is working now. I didn't really change=
=20
anything, I just kept playing with the revision numbers I was trying to pul=
l=20
out. BTW if you create a tag of something off of the main trunk, for I have
project/trunk
project/trunk/script.pl
and then I created a branch
project/branch/RELENG_3_0
project/branch/RELENG_3_0/script.pl
What would I put in for the module name and the tag to pull it out?
On Friday 21 October 2005 00:01, David Sitsky wrote:
> Hi Michael,
>
> The other common issue is related to permissions. What account is running
> apache? Try running the equivalent subversion commands under that account
> to see if it has permission to do so, and more importantly, isn't prompted
> for any passwords.
>
> Cheers,
> David
>
> On Fri, 21 Oct 2005 12:33, Michael J. Freeman wrote:
> > Sorry for the spam, I guess I need some more training with my e-mail
> > program 8)
> >
> > Anyways, After looking at the code it looks like that error was nothing
> > serious, I just commented out some stuff I shouldn't have.
> >
> > I'm not seeing any errors in my error_log or access_logs..
> >
> > Looking at the code block that the error came from, this condition isn't
> > happening, or shouldn't be happening..
> >
> > My subversion setup is like so:
> >
> > svn:https://blahblah/svn/nmci/
> >
> > I'm trying to pull out /svn/nmci/CM/cmang version 403 to 504.
> >
> > I have my repository selected, for module I put CM/cmang/trunk/cmang.pl
> >
> > So I'm not even trying to do this with the topic text upload thing,
> > supplying my own diff..
> >
> > Does this help any?
> >
> >
> > if ($topic_text eq "") {
> > if (defined $temp_error_fh)
> > { seek($temp_error_fh,
> > 0, 0);
> > $feedback .=3D "Problem generating topic text:\n\n";
> > my $buf =3D "";
> > while (read $temp_error_fh, $buf, 16384) {
> > $feedback .=3D $buf;
> > }
> > }
> > else {
> > $feedback =3D "Uploaded file doesn't exist or is empty.\n";
> > }
> >
> > On Thursday 20 October 2005 21:25, Michael J. Freeman wrote:
> > > After having another closer look at my logs I see this in my
> > > access_log:
> > >
> > > [Thu Oct 20 21:57:42 2005] [error] [client 172.17.85.72] [Thu Oct 20
> > > 21:57:42 2005] codestriker.pl: Use of uninitialized value in string ne
> > > at
> > > /var/www/codestriker/codestriker-1.9.1/bin/../lib/Codestriker/Http/Tem
> > >plate .pm line 77., referer:
> > > http://cyclone.nms.wamnet.inc/codestriker/codestriker.pl?action=3Dcre=
ate
> > >
> > > This is 1.9.1 on Linux (RHEL)
> > >
> > > On Thursday 20 October 2005 21:14, David Sitsky wrote:
> > > > Have a look in your apache error log files, the message we need to
> > > > see is most likely in there.
> > > >
> > > > Also make sure your path to subversion has been set correctly in
> > > > your codestriker.conf file.
> > > >
> > > > What version of Codestriker are you using and is this on a Linux or
> > > > Windoze box?
> > > >
> > > > On Fri, 21 Oct 2005 05:42, Michael J. Freeman wrote:
> > > > > I'm trying to create a new topic and it keeps saying:
> > > > >
> > > > > Problem generating topic text:
> > > > >
> > > > > And then no other error messages. Looking in the .pm file that
> > > > > that error message is generated from it seems like that should
> > > > > only be called when trying to upload a diff, but I'm trying to get
> > > > > it to connect to subversion directly..
> > > > >
> > > > > Bueller?
=2D-=20
Michael J. Freeman
NMS Development
Netco Government Services, Inc.
=2D-
"If we knew what it was we were doing, it would not be called research,
would it?"
|
|
From: David S. <si...@us...> - 2005-10-21 05:30:31
|
I don't use Subversion myself yet, so I don't know. I'll let one of the subversion users answer it. On Fri, 21 Oct 2005 15:14, Michael J. Freeman wrote: > I'm not sure what I've done, but it is working now. I didn't really > change anything, I just kept playing with the revision numbers I was > trying to pull out. BTW if you create a tag of something off of the main > trunk, for I have > > project/trunk > project/trunk/script.pl > > and then I created a branch > project/branch/RELENG_3_0 > project/branch/RELENG_3_0/script.pl > > What would I put in for the module name and the tag to pull it out? -- Cheers, David |
|
From: Jason R. <jre...@ya...> - 2005-10-25 02:31:31
|
Hi, --- "Michael J. Freeman" <mfr...@ne...> wrote: > I'm not sure what I've done, but it is working now. I didn't really change > anything, I just kept playing with the revision numbers I was trying to pull > out. BTW if you create a tag of something off of the main trunk, for I have > > project/trunk > project/trunk/script.pl > > and then I created a branch > project/branch/RELENG_3_0 > project/branch/RELENG_3_0/script.pl > > What would I put in for the module name and the tag to pull it out? From the manual. " % svn diff --non-interactive -r START_TAG:END_TAG --old repository_url MODULE In Subversion the tags can be a repository revision number or HEAD, The HEAD shortcut indicates the latest revision number in the repository. If you would like to review a specific single check in, for example, check in 544, then you would use 543 for START_TAG and 544 for END_TAG. If you would like to review a branch before merging then enter the start tag as the version number of the branch creation. The end tag should be HEAD, and the module path should be the path into the branch directory relative to the repository location. All topics created by Codestriker have a builtin workaround for the Subversion diff problem. " OK, so if you would like to review the branch it would start tag - the rev the branch was made. end tag - HEAD. module - project/branch/RELENG_3_0/ It is a bit confusing if you don't know how the svn diff command is being formed. Thanks Jason __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |