« Return to Thread: [linux] platformClass error

Re: [linux] platformClass error

by nescivi :: Rate this Message:

Reply to Author | View in Thread

Hiho,

since quite a while the .sclang.cfg is optional.
You do not need one for sclang to find classes in the regular locations.

sincerely,
Marije

On Monday 10 March 2008 01:15:51 krgn wrote:

> oh true, that should definitely be changed!
>
> > My sclang.cfg was the same as the one provided in the linux directory.
> >
> > cheers,
> > James
> >
> > On Mon, Mar 10, 2008 at 3:57 PM, krgn <k.gebbert@...> wrote:
> > > what does your ~/.sclang.cfg look like? Could you post it here? if you
> >
> > don't
> >
> > > have one, create one with the following contents:
> > >
> > > +/usr/share/SuperCollider/SCClassLibrary
> > > +/usr/share/SuperCollider/Extensions
> > >
> > > I just did a checkout and things work fine for me, and I think it could
> >
> > have
> >
> > > something to do with the classpath and thus order of compilation of the
> > > classlib.
> > >
> > >
> > >
> > >
> > >
> > > On Sun, Mar 9, 2008 at 7:30 PM, James Baker
> > > <cycle.code.media@...>
> > >
> > > wrote:
> > > > HI all,
> > > >
> > > > just did a fresh svn checkout and all goes well but interpreter wont
> > > > start instead i get the following errors. help! :)
> > > > these two ->
> > > >
> > > > ERROR: Class extension for nonexistent class 'SelectX'
> > > >     In
> >
> > file:'/usr/share/SuperCollider/SCClassLibrary/Common/Audio/UGenCategories
> >.sc'
> >
> > > > ERROR: Class extension for nonexistent class 'SelectXFocus'
> > > >     In
> >
> > file:'/usr/share/SuperCollider/SCClassLibrary/Common/Audio/UGenCategories
> >.sc'
> >
> > > > seem to disappear if I include the crucial lib, but the platformClass
> > > > error still remains.
> > > >
> > > > Thanks,
> > > >
> > > > James
> > > >
> > > > ----log below----
> > > >
> > > > init_OSC
> > > > compiling class library..
> > > >        NumPrimitives = 524
> > > >        compiling dir: '/usr/share/SuperCollider/Extensions'
> > > >  in file '/usr/share/SuperCollider/Extensions/scel/storeLispOn.sc'
> > > > line 117 char 6
> > > >        compiling dir:
> > > > '/usr/share/SuperCollider/SCClassLibrary/Common' compiling dir:
> > >
> > > '/usr/share/SuperCollider/SCClassLibrary/DefaultLibrary'
> > >
> > > >        compiling dir:
> > > > '/usr/share/SuperCollider/SCClassLibrary/backwards_compatibility'
> > > >        pass 1 done
> > > >        Extension overwriting Meta_Document:prGetLast
> > > >                in file
> > >
> > > '/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
> > >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/SCClassLibrary/Common/GUI/Document.sc'.
> > > >        Extension overwriting Class:openHelpFile
> > > >                in file
> > >
> > > '/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
> > >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/SCClassLibrary/Common/Core/Kernel.sc'.
> > > >        Extension overwriting Method:openHelpFile
> > > >                in file
> > >
> > > '/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
> > >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/SCClassLibrary/Common/Core/Kernel.sc'.
> > > >        Extension overwriting SynthDesc:makeWindow
> > > >                in file
> >
> > '/usr/share/SuperCollider/SCClassLibrary/Common/GUI/PlusGUI/Control/Synth
> >DescPlusGUI.sc'.
> >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/Extensions/scel/extBuffer.sc'.
> > > >        Extension overwriting Server:makeWindow
> > > >                in file
> >
> > '/usr/share/SuperCollider/SCClassLibrary/Common/GUI/PlusGUI/Control/Serve
> >rPlusGUI.sc'.
> >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/Extensions/scel/extBuffer.sc'.
> > > >        Extension overwriting String:openHTMLFile
> > > >                in file
> >
> > '/usr/share/SuperCollider/SCClassLibrary/Common/GUI/PlusGUI/Collections/S
> >tringPlusGUI.sc'.
> >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
> > > >        Extension overwriting String:findHelpFile
> > > >                in file
> >
> > '/usr/share/SuperCollider/SCClassLibrary/Common/GUI/PlusGUI/Collections/S
> >tringPlusGUI.sc'.
> >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
> > > >        Extension overwriting String:openHelpFile
> > > >                in file
> >
> > '/usr/share/SuperCollider/SCClassLibrary/Common/GUI/PlusGUI/Collections/S
> >tringPlusGUI.sc'.
> >
> > > >                Original method in file
> > > > '/usr/share/SuperCollider/Extensions/scel/extDocument.sc'.
> > > > ERROR: Class extension for nonexistent class 'SelectX'
> > > >     In
> >
> > file:'/usr/share/SuperCollider/SCClassLibrary/Common/Audio/UGenCategories
> >.sc'
> >
> > > > ERROR: Class extension for nonexistent class 'SelectXFocus'
> > > >     In
> >
> > file:'/usr/share/SuperCollider/SCClassLibrary/Common/Audio/UGenCategories
> >.sc'
> >
> > > > numentries = 521610 / 5661300 = 0.092
> > > >        Method Table Size 3349796 bytes
> > > >        Number of Method Selectors 3390
> > > >        Number of Classes 1670
> > > >        big table size 22645200
> > > >        Number of Symbols 7904
> > > >        Byte Code Size 194431
> > > >        compiled 241 files in 0.38 seconds
> > > > compile done
> > > > ERROR: Message 'platformClass' not understood.
> > > > RECEIVER:
> > > > Instance of Main {    (B6BBAD50, gc=10, fmt=00, flg=00, set=04)
> > > >  instance variables [9]
> > > >    classVars : instance of Array (B6BDCD90, size=194, set=8)
> > > >    interpreter : instance of Interpreter (B6BBAF40, size=30, set=5)
> > > >    curThread : instance of Thread (B6BBADF0, size=24, set=5)
> > > >    mainThread : instance of Thread (B6BBADF0, size=24, set=5)
> > > >    schedulerQueue : instance of Array (B6BDAD60, size=0, set=10)
> > > >    platform : nil
> > > >    argv : nil
> > > >    recvOSCfunc : nil
> > > >    nowExecutingPath : nil
> > > > }
> > > > ARGS:
> > > > CALL STACK:
> > > >        DoesNotUnderstandError:reportError   B6BBB3A0
> > > >                arg this = <instance of DoesNotUnderstandError>
> > > >        Nil:handleError   B6BBB340
> > > >                arg this = nil
> > > >                arg error = <instance of DoesNotUnderstandError>
> > > >        Thread:handleError   B6BBB280
> > > >                arg this = <instance of Thread>
> > > >                arg error = <instance of DoesNotUnderstandError>
> > > >        Object:throw   B6BBB220
> > > >                arg this = <instance of DoesNotUnderstandError>
> > > >        Object:doesNotUnderstand   B6BBB120
> > > >                arg this = <instance of Main>
> > > >                arg selector = 'platformClass'
> > > >                arg args = [*0]
> > > >        Main:startup   B6BBB0C0
> > > >                arg this = <instance of Main>
> > > > _______________________________________________
> > > > sc-users mailing list
> > > > sc-users@...
> > > > http://lists.create.ucsb.edu/mailman/listinfo/sc-users
> > >
> > > _______________________________________________
> > >  sc-users mailing list
> > >  sc-users@...
> > >  http://lists.create.ucsb.edu/mailman/listinfo/sc-users
> >
> > _______________________________________________
> > sc-users mailing list
> > sc-users@...
> > http://lists.create.ucsb.edu/mailman/listinfo/sc-users


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: [linux] platformClass error