[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [sc-users] Main.sc and stand-alone application



Sorry to bother you over and over again...
I downloaded 3.3 alpha, unzipped, and installed into /Applications.
I put myApp.rtf in /Applications/SuperCollider.
I changed?/Applications/SuperCollider/SCClassLibrary/DefaultLibrary/Main.sc
with addition of:
interpreter.executeFile(String.scDir ++ "/myApp.rtf");
Then, I was able to start up SC, just as usual. My application didn't come up.
The post window says:

ERROR: Primitive '_NewMenuItem' failed.

Wrong type.

RECEIVER:

Instance of CocoaMenuItem {? ? (154D7B00, gc=EC, fmt=00, flg=00, set=03)

? instance variables [7]

? ? dataptr : RawPointer 55D950

? ? name : "Help Tree"

? ? parent : Symbol 'Help'

? ? children : nil

? ? state : false

? ? isBranch : true

? ? action : nil

}

CALL STACK:

MethodError:reportError ? 15573B90

arg this = <instance of PrimitiveFailedError>

Nil:handleError ? 15571670

arg this = nil

arg error = <instance of PrimitiveFailedError>

Thread:handleError ? 15576320

arg this = <instance of Thread>

arg error = <instance of PrimitiveFailedError>

Object:throw ? 15574910

arg this = <instance of PrimitiveFailedError>

Object:primitiveFailed ? 15572030

arg this = <instance of CocoaMenuItem>

CocoaMenuItem:init ? 15E36190

arg this = <instance of CocoaMenuItem>

arg argparent = 'Help'

arg argindex = 8

arg argname = "Help Tree"

arg hasSubmenu = true

arg argaction = nil

< FunctionDef in Method Meta_Help:addToMenu> ? 15E360F0

arg parent = 'Help'

arg dict = <instance of Dictionary>

arg name = "Help Tree"

arg index = 8

var menu = nil

var keys = nil

Meta_Help:addToMenu ? 155D11E0

arg this = class Help

var ugens = nil

var menu = nil

var addSubMenu = <instance of Function>

OSXPlatform:startup ? 154C3C20

arg this = <instance of OSXPlatform>

Main:startup ? 154C3BC0

arg this = <instance of Main>



Maybe I made a very stupid mistake. Any hints?

Tadashi




From: josh@xxxxxxxxxxxxxxxxx
To: sc-users@xxxxxxxxxxxxxxxx
Subject: Re: [sc-users] Main.sc and stand-alone application
Date: Thu, 25 Dec 2008 22:42:35 -0800

No problem... like I said, try the new 3.3 alpha build here:


Best,

Josh

On Dec 25, 2008, at 10:38 PM, Usami Tadashi wrote:

and maybe tab or something turn out to be ?. please delete those. but believe me, it is because of my web mail (japanese hotmail).
t.

From:?josh@xxxxxxxxxxxxxxxxx
To:?sc-users@xxxxxxxxxxxxxxxx
Subject: Re: [sc-users] Main.sc and stand-alone application
Date: Thu, 25 Dec 2008 22:32:29 -0800

These also are... they are everywhere!

Josh

On Dec 25, 2008, at 10:17 PM, Usami Tadashi wrote:

var?keycodes = [
18, 19, 20, 21, 23, 22, 26, 28, 25, 29, 27, 24,
12, 13, 14, 15, 17, 16, 32, 34, 31, 35, 33, 30,
0,? 1,? 2,? 3,? 5,? 4,? 38, 40, 37, 41, 39, 42,
6,? 7,? 8,? 9,? 11, 45, 46, 43, 47, 44
];


******************************************
/* Joshua D. Parmenter

“Every composer ? at all times and in all cases ? gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/



【MSN相?箱】あなたをその?にさせる!みんなで作ろう究?のデ?ト?要チェック『2009年??モテモテ技500!』

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer ? at all times and in all cases ? gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/



「ブリ?フケ?スからお引越し」?料25GBのファイル保存サ?ビス Hotmail ユ?ザ?なら、すぐに利用可能です!