[CM] cannot save files from Grace?

Stefaan Himpe stefaan.himpe at gmail.com
Tue May 26 04:45:41 PDT 2015


Hi,

To be honest I just replaced the error checking in the source code as
suggested by Tito Latini.
I didn't try to update to a newer Juce.

Best regards,
Stefaan.


On Tue, May 26, 2015 at 1:42 PM, Rick Taube <taube at illinois.edu> wrote:

> 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)
>
> On May 26, 2015, at 6:30 AM, Stefaan Himpe <stefaan.himpe at gmail.com>
> wrote:
>
> Resending because I replied privately by accident...
>
> Thanks, your suggestions solve my problem!
>
> Best regards,
> Stefaan.
>
>
>
> On Tue, May 26, 2015 at 12:13 AM, Tito Latini <tito.01beta at gmail.com>
> wrote:
>
>> On Mon, May 25, 2015 at 11:04:27AM +0200, Stefaan Himpe wrote:
>> > Hello list,
>> >
>> > I'm hitting an annoying problem while experimenting with grace
>> > freshly compiled from cm-3.9.0 using premake4.4beta5
>> >
>> > Whenever I try to save a file from grace, it bails out with an error.
>> > (link to screenshot further in the mail).
>> >
>> > Since grace is the only program on my computer that behaves like
>> > this I assume it's a problem with grace somehow (despite the error
>> pointing
>> > to something samba? Not sure why samba would be even used as I do not
>> > have anything related to microsoft windows on this computer.)
>> >
>> > I'm running grace under kde on arch linux, kernel:
>> >
>> >  Linux name 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015
>> x86_64
>> > GNU/Linux
>> >
>> > A screenshot of the error can be found here:
>> >
>> > http://i.imgur.com/ApchGhm.png
>> <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=>
>> >
>> > My workaround is to copy/paste everything to a different editor for now
>> > but as you can imagine this is not a lot of fun :)
>> > Any ideas how to go about making this work?
>>
>> The standard error of kdialog is not redirected because the flag in
>>
>>     if (child.start (args, ChildProcess::wantStdOut))
>>
>> is ignored (juce_gui_basics/native/juce_linux_FileChooser.cpp).
>>
>> It means that the filename is all the kdialog output (stdout + stderr).
>> Probably you are using old JUCE's code with a bug in
>>
>>     juce/modules/juce_core/native/juce/posix/SharedCode.h
>>
>> You can update JUCE or change the lines (the second `if' is your problem):
>>
>>     if ((streamFlags | wantStdOut) != 0)
>>     [...]
>>     if ((streamFlags | wantStdErr) != 0)
>>
>> with
>>
>>     if ((streamFlags & wantStdOut) != 0)
>>     [...]
>>     if ((streamFlags & wantStdErr) != 0)
>>
>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/mailman/private/cmdist/attachments/20150526/4d2cf993/attachment-0001.html 


More information about the Cmdist mailing list