Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] csound5gui heartbeat bug

Date2007-04-02 18:10
FromDavis Pyon
SubjectRe: [Cs-dev] csound5gui heartbeat bug
I built Csound5 and csound5gui on my Intel Mac (Credland's R8 doesn't have
csound5gui).  I noticed that the csound5gui binary that gets installed in 
/usr/local/bin doesn't behave well with respect to FLTK.  But this binary:

    frontends/fltk_gui/Csound5GUI.app/Contents/MacOS/csound5gui

seems to work.  Running this binary for the first time, I get the heartbeat related
error, but after setting its pulldown menu to "NONE", subsequent sessions don't
produce the error.  I believe the .dat files that are created in ~/.csound/ retain
configuration data for csound5gui.  So, if a developer wanted to reproduce the bug,
they should erase those files.

I ran some of my own csd's as well as:

    Face on Mars - Michael Bergeman
    Fragments of Forest - Joo Won Park
    Trapped in Convert - Dr. B
    Bluecube - Kim Cascone
    RealtimeExamples - Iain McCurdy

They sound OK.  I got the same results with a ppc Mac.

Hope this helps,

Davis

----- Original Message ----
From: Victor Lazzarini 
To: Developer discussions 
Sent: Monday, April 2, 2007 1:32:39 AM
Subject: Re: [Cs-dev] csound5gui heartbeat bug

Csound5GUI is currently broken on OSX. It will always display
that message no matter what you do.

Csound5 (OSX GUI) and Winsound work as before.

Victor

At 00:06 02/04/2007, you wrote:
>Hi,
>
>There's a bug in csound5gui on the Mac.  The heartbeat (-H) pulldown menu 
>is not
>initialized in the "General" tab of the "Csound performance settings" 
>window.  Performing
>an orc/sco results in an error:
>
>unknown long option: '--1582186029'
>
>After it's set, things run fine, but first time users will be confused.
>
>Davis
>
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-04-03 05:04
FromAndres Cabrera
SubjectRe: [Cs-dev] csound5gui heartbeat bug
Hi Davis,

That's interesting news. I had already tried this scenario here on
linux, but there was and still there is no problem so it may be platform
specific. Can you reproduce the bug every time you delete the preferences?
The code which chooses the location of the .csound directory (which
holds the configuration files for csound5gui) is located in
ConfigFile.cpp lines 234, but it looks OK (there's a USERPROFILE or HOME
environment variable on Mac, right), unless the user doesn't have
permission to write to the Applications folder, which I think might be
the case.
I can see no evident problems in the code generating the config files.
Is toggling the heartbeat preference the only way to solve it? or do any
of the options have the same effect?


Davis Pyon wrote:
> I built Csound5 and csound5gui on my Intel Mac (Credland's R8 doesn't have
> csound5gui).  I noticed that the csound5gui binary that gets installed in 
> /usr/local/bin doesn't behave well with respect to FLTK.  But this binary:
>
>     frontends/fltk_gui/Csound5GUI.app/Contents/MacOS/csound5gui
>
> seems to work. 
Istvan set the build for Mac this way, but it seems it only copies the
binary, though I can't really understand what's going on (SConstruct
line 1652)

> They sound OK.  I got the same results with a ppc Mac.
>
>   
Good news (I didn't break it that much after all =) )!
Did the built in editor work?

Cheers,
Andrés

> Hope this helps,
>
> Davis
>
> ----- Original Message ----
> From: Victor Lazzarini 
> To: Developer discussions 
> Sent: Monday, April 2, 2007 1:32:39 AM
> Subject: Re: [Cs-dev] csound5gui heartbeat bug
>
> Csound5GUI is currently broken on OSX. It will always display
> that message no matter what you do.
>
> Csound5 (OSX GUI) and Winsound work as before.
>
> Victor
>
> At 00:06 02/04/2007, you wrote:
>   
>> Hi,
>>
>> There's a bug in csound5gui on the Mac.  The heartbeat (-H) pulldown menu 
>> is not
>> initialized in the "General" tab of the "Csound performance settings" 
>> window.  Performing
>> an orc/sco results in an error:
>>
>> unknown long option: '--1582186029'
>>
>> After it's set, things run fine, but first time users will be confused.
>>
>> Davis
>>
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>     
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-04-03 06:30
FromDavis Pyon
SubjectRe: [Cs-dev] csound5gui heartbeat bug
> Can you reproduce the bug every time you delete the preferences?

Yes, every time.

> I can see no evident problems in the code generating the config files.
> Is toggling the heartbeat preference the only way to solve it? or do any
> of the options have the same effect?

Setting the heartbeat menu is the only solution.  Initially, the pulldown
menu is not set to any of its menu entries.  As far I know, all other menus
are properly initialized to some value.

Good luck, 

Davis

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-04-03 14:00
FromAndres Cabrera
SubjectRe: [Cs-dev] csound5gui heartbeat bug
OK, then this bug should be fixed now in cvs.

Thanks for spotting it.
Andres

Davis Pyon wrote:
>> Can you reproduce the bug every time you delete the preferences?
>>     
>
> Yes, every time.
>
>   
>> I can see no evident problems in the code generating the config files.
>> Is toggling the heartbeat preference the only way to solve it? or do any
>> of the options have the same effect?
>>     
>
> Setting the heartbeat menu is the only solution.  Initially, the pulldown
> menu is not set to any of its menu entries.  As far I know, all other menus
> are properly initialized to some value.
>
> Good luck, 
>
> Davis
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net