<div dir="ltr">Hi,<div><br></div><div>To be honest I just replaced the error checking in the source code as suggested by Tito Latini.</div><div>I didn't try to update to a newer Juce.</div><div><br></div><div>Best regards,</div><div>Stefaan.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 1:42 PM, Rick Taube <span dir="ltr"><<a href="mailto:taube@illinois.edu" target="_blank">taube@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ok so is the issue that I need to update the juce version to fix a juce bug? (im going to make another release later this summer and will update the codebase then)<div><br><div><div><div class="h5"><div>On May 26, 2015, at 6:30 AM, Stefaan Himpe <<a href="mailto:stefaan.himpe@gmail.com" target="_blank">stefaan.himpe@gmail.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Resending because I replied privately by accident...<div><br></div><div>Thanks, your suggestions solve my problem!</div><div><br></div><div>Best regards,</div><div>Stefaan.</div><div><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 12:13 AM, Tito Latini <span dir="ltr"><<a href="mailto:tito.01beta@gmail.com" target="_blank">tito.01beta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Mon, May 25, 2015 at 11:04:27AM +0200, Stefaan Himpe wrote:<br>
> Hello list,<br>
><br>
> I'm hitting an annoying problem while experimenting with grace<br>
> freshly compiled from cm-3.9.0 using premake4.4beta5<br>
><br>
> Whenever I try to save a file from grace, it bails out with an error.<br>
> (link to screenshot further in the mail).<br>
><br>
> Since grace is the only program on my computer that behaves like<br>
> this I assume it's a problem with grace somehow (despite the error pointing<br>
> to something samba? Not sure why samba would be even used as I do not<br>
> have anything related to microsoft windows on this computer.)<br>
><br>
> I'm running grace under kde on arch linux, kernel:<br>
><br>
> Linux name 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64<br>
> GNU/Linux<br>
><br>
> A screenshot of the error can be found here:<br>
><br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__i.imgur.com_ApchGhm.png&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=1pVvHHkXZJULkKrkVEfZ6Q&m=cmuA8BQjErp46B9ttbnbE2IKpmFpZ7T6HtxsNk_PZnI&s=tPGm-wk3-8KqBAno63ny7K9VxwpU499Ptaa-6QvoFYg&e=" target="_blank">http://i.imgur.com/ApchGhm.png</a><br>
><br>
> My workaround is to copy/paste everything to a different editor for now<br>
> but as you can imagine this is not a lot of fun :)<br>
> Any ideas how to go about making this work?<br>
<br>
</div></div>The standard error of kdialog is not redirected because the flag in<br>
<br>
if (child.start (args, ChildProcess::wantStdOut))<br>
<br>
is ignored (juce_gui_basics/native/juce_linux_FileChooser.cpp).<br>
<br>
It means that the filename is all the kdialog output (stdout + stderr).<br>
Probably you are using old JUCE's code with a bug in<br>
<br>
juce/modules/juce_core/native/juce/posix/SharedCode.h<br>
<br>
You can update JUCE or change the lines (the second `if' is your problem):<br>
<br>
if ((streamFlags | wantStdOut) != 0)<br>
[...]<br>
if ((streamFlags | wantStdErr) != 0)<br>
<br>
with<br>
<br>
if ((streamFlags & wantStdOut) != 0)<br>
[...]<br>
if ((streamFlags & wantStdErr) != 0)<br>
</blockquote></div><br></div></div></div>
_______________________________________________<br>Cmdist mailing list<br><a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist" target="_blank">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br></blockquote></div><br></div></div></blockquote></div><br></div>