Thread: [Codestriker-user] svn: Can't write to stream: Broken pipe
Brought to you by:
sits
|
From: Tim C. <tim...@sh...> - 2006-08-18 19:05:17
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> David & Jason,<br> <br> On my recent fresh install of 1.9.2 on RHEL ES 4 I am getting the following error when trying to submit the topic and giving start and end tags with a module (single file) to subversion:<br> <br> <font color="red">Problem generating topic text:<br> <br> svn: Can't write to stream: Broken pipe<br> <br> <font color="#000000">Can someone lead me in the right direction? I do not see anything in the Apache logs.<br> <br> Thanks,<br> </font></font> <pre class="moz-signature" cols="72">-- Tim Casada </pre> </body> </html> |
|
From: Tim C. <tim...@sh...> - 2006-08-18 19:50:04
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Some updates on this topic. I noticed that none of the repositories are showing up on the Create Topic screen at all. I had missed this because I traditionally run with only a single repository. I tried editing the codestriker.conf by replacing my customized one with the standard one and just changing the database user name and password entry. I was still not able to see the repositories. I then removed the entire aliasing section and was able to see the repositories.<br> <br> I think there is a bug whereas if you have only 1 repository listed in the @valid-repositories that the Repository drop down will not show at all in the create topic screen. When I simply uncomment the default first repository in the file '/home/sits/cvs' and add mine above it works fine, even with the aliasing.<br> <br> I am however still gettting the same error message <font color="red"> svn: Can't write to stream: Broken pipe<font color="#000000"> on submission of the review.</font><br> </font> <pre class="moz-signature" cols="72">Tim Casada </pre> <br> <br> Tim Casada wrote: <blockquote cite="mid...@sh..." type="cite">David & Jason,<br> <br> On my recent fresh install of 1.9.2 on RHEL ES 4 I am getting the following error when trying to submit the topic and giving start and end tags with a module (single file) to subversion:<br> <br> <font color="red">Problem generating topic text:<br> <br> svn: Can't write to stream: Broken pipe<br> <br> <font color="#000000">Can someone lead me in the right direction? I do not see anything in the Apache logs.<br> <br> Thanks,<br> </font></font> <pre class="moz-signature" cols="72">-- Tim Casada </pre> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo <a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Codestriker-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:Cod...@li...">Cod...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/codestriker-user">https://lists.sourceforge.net/lists/listinfo/codestriker-user</a> </pre> </blockquote> </body> </html> |
|
From: Jason R. <jre...@ya...> - 2006-08-21 02:28:21
|
Hi,
Just in case it matters. What version of apache are you using, and if you are using mod_perl what
version is that as well.
If you look at the lib/Codestriker/Repository/Subversion.pm module you will see the getDiff
function. Su to your web server user (I think apache on redhat) and issue the same "svn diff"
command that getDiff is issuing and see if it works. If you are using mod_perl, try turning it
off.
Also, Codestriker will not show the repository if you only have one setup. Why show a combo box
that only will have once choice.
Lastly, I just looked over the code in it looks like there are some situations that errors would
not be logged to the apache error log. Towards the end of the getDiff function, you will see a
loop that looks like this.
my $buf;
while (read($read_stderr_fh,$bug,16384)) {
print $stderr_fh $buf;
}
Right after this loop add this line of code in, to get more information in your apache log.
print STDERR $buf;
Thanks
Jason.
--- Tim Casada <tim...@sh...> wrote:
---------------------------------
David & Jason,
On my recent fresh install of 1.9.2 on RHEL ES 4 I am getting thefollowing error when trying to
submit the topic and giving start andend tags with a module (single file) to subversion:
Problem generating topic text:
svn: Can't write to stream: Broken pipe
Can someone lead me in the right direction? I donot see anything in the Apache logs.
Thanks,
-- Tim Casada
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
_______________________________________________
> Codestriker-user mailing list
> Cod...@li...
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Tim C. <tim...@sh...> - 2006-08-21 13:41:53
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">Jason,<br>
<br>
Thanks for the tips. I tried the additional error message code change,
but I did not get anything in the apache log for this error still. I
was able to successfully run the svn diff using the command from
getDiff. When I turned off mod_perl and switched to CGI everything
starting working fine.<br>
<br>
We recently switched to Red Hat from a test box on FC4, so I'm guessing
the mod_perl version differences account for my error. Thank you very
much for pointing me in the right direction!<br>
</font></font>
<pre class="moz-signature" cols="72">Tim Casada</pre>
<br>
<br>
Jason Remillard wrote:
<blockquote
cite="mid...@we..."
type="cite">
<pre wrap="">Hi,
Just in case it matters. What version of apache are you using, and if you are using mod_perl what
version is that as well.
If you look at the lib/Codestriker/Repository/Subversion.pm module you will see the getDiff
function. Su to your web server user (I think apache on redhat) and issue the same "svn diff"
command that getDiff is issuing and see if it works. If you are using mod_perl, try turning it
off.
Also, Codestriker will not show the repository if you only have one setup. Why show a combo box
that only will have once choice.
Lastly, I just looked over the code in it looks like there are some situations that errors would
not be logged to the apache error log. Towards the end of the getDiff function, you will see a
loop that looks like this.
my $buf;
while (read($read_stderr_fh,$bug,16384)) {
print $stderr_fh $buf;
}
Right after this loop add this line of code in, to get more information in your apache log.
print STDERR $buf;
Thanks
Jason.
--- Tim Casada <a class="moz-txt-link-rfc2396E" href="mailto:tim...@sh..."><tim...@sh...></a> wrote:
---------------------------------
David & Jason,
On my recent fresh install of 1.9.2 on RHEL ES 4 I am getting thefollowing error when trying to
submit the topic and giving start andend tags with a module (single file) to subversion:
Problem generating topic text:
svn: Can't write to stream: Broken pipe
Can someone lead me in the right direction? I donot see anything in the Apache logs.
Thanks,
-- Tim Casada
</pre>
<blockquote type="cite">
<pre wrap="">-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a>>
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
</pre>
<blockquote type="cite">
<pre wrap="">Codestriker-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cod...@li...">Cod...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/codestriker-user">https://lists.sourceforge.net/lists/listinfo/codestriker-user</a>
</pre>
</blockquote>
<pre wrap=""><!---->
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
<a class="moz-txt-link-freetext" href="http://mail.yahoo.com">http://mail.yahoo.com</a>
</pre>
</blockquote>
</body>
</html>
|
|
From: Vladimir S. <vsi...@gm...> - 2006-08-21 14:48:20
|
Hi Tim, folks,
I can confirm the same thing, Codestriker with mod_perl config doesn't
work, and produces these confusing errors. Even more, the errors are
not 100%, sometimes I can submit the topic if I click Refresh many,
many times. :)
Everything started working just fine as soon as I switched to CGI config.
I used Fedora Core 4 and Fedora Core 5.
Thanks,
--Vladimir
On 8/21/06, Tim Casada <tim...@sh...> wrote:
>
> Jason,
>
> Thanks for the tips. I tried the additional error message code change, but
> I did not get anything in the apache log for this error still. I was able
> to successfully run the svn diff using the command from getDiff. When I
> turned off mod_perl and switched to CGI everything starting working fine.
>
> We recently switched to Red Hat from a test box on FC4, so I'm guessing the
> mod_perl version differences account for my error. Thank you very much for
> pointing me in the right direction!
> Tim Casada
>
>
> Jason Remillard wrote:
> Hi,
>
> Just in case it matters. What version of apache are you using, and if you
> are using mod_perl what
> version is that as well.
>
> If you look at the lib/Codestriker/Repository/Subversion.pm
> module you will see the getDiff
> function. Su to your web server user (I think apache on redhat) and issue
> the same "svn diff"
> command that getDiff is issuing and see if it works. If you are using
> mod_perl, try turning it
> off.
>
> Also, Codestriker will not show the repository if you only have one setup.
> Why show a combo box
> that only will have once choice.
>
> Lastly, I just looked over the code in it looks like there are some
> situations that errors would
> not be logged to the apache error log. Towards the end of the getDiff
> function, you will see a
> loop that looks like this.
>
> my $buf;
> while (read($read_stderr_fh,$bug,16384)) {
> print $stderr_fh $buf;
> }
>
> Right after this loop add this line of code in, to get more information in
> your apache log.
>
> print STDERR $buf;
>
> Thanks
> Jason.
>
> --- Tim Casada <tim...@sh...> wrote:
>
>
> ---------------------------------
> David & Jason,
>
> On my recent fresh install of 1.9.2 on RHEL ES 4 I am getting thefollowing
> error when trying to
> submit the topic and giving start andend tags with a module (single file) to
> subversion:
>
> Problem generating topic text:
>
> svn: Can't write to stream: Broken pipe
>
> Can someone lead me in the right direction? I donot see anything in the
> Apache logs.
>
> Thanks,
>
> -- Tim Casada
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>
> _______________________________________________
>
>
> Codestriker-user mailing list
> Cod...@li...
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Codestriker-user mailing list
> Cod...@li...
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>
>
>
|
|
From: David S. <si...@us...> - 2006-08-22 07:11:05
|
> I can confirm the same thing, Codestriker with mod_perl config doesn't > work, and produces these confusing errors. Even more, the errors are > not 100%, sometimes I can submit the topic if I click Refresh many, > many times. :) > > Everything started working just fine as soon as I switched to CGI config. > > I used Fedora Core 4 and Fedora Core 5. This is really due to the black magic of mod_perl... Just curious - are you running with Apache 1 or 2? This might be partly due to the constraints apache 2 has when forking new processes. Since apache 2 is now I believe multi-threaded as well as multi-processed, launching external executables may not be supported 100%. I'll need to do more reading on this. I do know though that under apache1, since it is not multi-threaded, all works fine I believe with mod_perl. Cheers, David |
|
From: Vladimir S. <vsi...@gm...> - 2006-08-22 07:26:21
|
Hi David, On 8/22/06, David Sitsky <si...@us...> wrote: > > I can confirm the same thing, Codestriker with mod_perl config doesn't > > work, and produces these confusing errors. > This is really due to the black magic of mod_perl... Seems so. > Just curious - are you running with Apache 1 or 2? Both Fedora Core 4 and Fedora Core 5 come with Apache 2. Thanks, --Vladimir |
|
From: David S. <si...@us...> - 2006-08-23 04:39:30
|
Vladimir Sizikov wrote: > Hi David, > > On 8/22/06, David Sitsky <si...@us...> wrote: >>> I can confirm the same thing, Codestriker with mod_perl config doesn't >>> work, and produces these confusing errors. >> This is really due to the black magic of mod_perl... > > Seems so. > >> Just curious - are you running with Apache 1 or 2? > > Both Fedora Core 4 and Fedora Core 5 come with Apache 2. I haven't used apache2 in anger, but it is possible to configure it to use the same process model as apache1, that is a separate process per request. I believe if you configure your apache server to use the prefork MPM, then this may make codestriker work correctly under mod_perl2. http://httpd.apache.org/docs/2.0/mod/prefork.html Please let me know how you go. I don't have access to an apache2 machine at present. Cheers, David |