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

[sc-users] Re: headless arm sclang fails



Hi, in another attempt to get sclang up and running on an original Raspberry Pi w/ Raspbian Jessie Lite I downgraded gcc to 4.8.4 (for a test and workaround) and now get this:

pi@sc-pi:~ $ sclang
init_OSC
empty
compiling class library...
	NumPrimitives = 590
	compiling dir: '/usr/local/share/SuperCollider/SCClassLibrary'
	compiling dir: '/usr/local/share/SuperCollider/Extensions'
	pass 1 done
ERROR: Class extension for nonexistent class 'Document'
     In file:'/deprecated/3.7/deprecated-3.7.sc'
	numentries = 813518 / 11140016 = 0.073
	5009 method selectors, 2224 classes
	method table size 6108924 bytes, big table size 44560064
	Number of Symbols 11629
	Byte Code Size 352800
	compiled 311 files in 5.78 seconds

Info: 3 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll

compile done
Couldn't set realtime scheduling priority 1: Operation not permitted
ERROR: A primitive was not bound. 0 589
Instance of Method {    (0x15c7120, gc=01, fmt=00, flg=11, set=04)
  instance variables [15]
    raw1 : Float 0.000000   00000000 0038000C
    raw2 : Float 0.000000   00000200 02010002
    code : instance of Int8Array (0x15c72e0, size=4, set=3)
    selectors : nil
    constants : nil
    prototypeFrame : instance of Array (0x15c7260, size=2, set=3)
    context : nil
    argNames : instance of SymbolArray (0x15c71e0, size=2, set=3)
    varNames : nil
    sourceCode : nil
    ownerClass : class Meta_QtGUI (0x15bea60)
    name : Symbol 'prSetStyle'
    primitiveName : Symbol '_Qt_SetStyle'
    filenameSymbol : Symbol '/usr/local/share/SuperCollider/SCClassLibrary/Common/GUI/Base/QtGUI.sc'
    charPos : Integer 3072
}
ERROR: Primitive 'none' failed.
Failed.
RECEIVER:
   nil

PROTECTED CALL STACK:
	Meta_MethodError:new	0xf3bea0
		arg this = PrimitiveFailedError
		arg what = Failed.
		arg receiver = nil
	Meta_PrimitiveFailedError:new	0xf3f7a0
		arg this = PrimitiveFailedError
		arg receiver = nil
	Object:primitiveFailed	0xb6677ca0
		arg this = nil
	Function:prTry	0x1097ba0
		arg this = a Function
		var result = nil
		var thread = a Thread
		var next = nil
		var wasInProtectedFunc = false
	
CALL STACK:
	MethodError:reportError   0xe29790
		arg this = <instance of PrimitiveFailedError>
	Nil:handleError   0xe297f0
		arg this = nil
		arg error = <instance of PrimitiveFailedError>
	Thread:handleError   0xe29850
		arg this = <instance of Thread>
		arg error = <instance of PrimitiveFailedError>
	Object:throw   0xe29910
		arg this = <instance of PrimitiveFailedError>
	Function:protect   0xe2b450
		arg this = <instance of Function>
		arg handler = <instance of Function>
		var result = <instance of PrimitiveFailedError>
	Meta_QtGUI:style_   0xe2b570
		arg this = <instance of Meta_QtGUI>
		arg styleName = "Fusion"
	Meta_QtGUI:initClass   0xe2d330
		arg this = <instance of Meta_QtGUI>
	Meta_Class:initClassTree   0xe2d750
		arg this = <instance of Meta_Class>
		arg aClass = <instance of Meta_QtGUI>
		var implementsInitClass = nil
	ArrayedCollection:do   0xe15a30
		arg this = [*204]
		arg function = <instance of Function>
		var i = 56
	Meta_Class:initClassTree   0xe15230
		arg this = <instance of Meta_Class>
		arg aClass = <instance of Meta_Object>
		var implementsInitClass = nil
	Process:startup   0xe148f0
		arg this = <instance of Main>
		var time = 5.813281624
	Main:startup   0xe13b10
		arg this = <instance of Main>
		var didWarnOverwrite = false
^^ The preceding error dump is for ERROR: Primitive 'none' failed.
Failed.
RECEIVER: nil


Couldn't set realtime scheduling priority 1: Operation not permitted
sc3> 
sc3> a=1
-> 1
sc3> a
-> 1
sc3> a=[1,2,3,4]
-> [ 1, 2, 3, 4 ]
sc3> b=a*2
-> [ 2, 4, 6, 8 ]
sc3> b.scramble
-> [ 2, 8, 6, 4 ]
sc3> b.scramble
-> [ 4, 6, 8, 2 ]

// after hitting ctrl-D to get out

sc3> 
Exiting sclang (ctrl-D)
main: quit request 0
main: waiting for input thread to join...
sc3> main: quitting...
ERROR: Could not open file "/archive.sctxar" for writing
RECEIVER:
   nil
CALL STACK:
	MethodError:reportError   0xd9d1d0
		arg this = <instance of MethodError>
	Nil:handleError   0xd9d230
		arg this = nil
		arg error = <instance of MethodError>
	Thread:handleError   0xd9d290
		arg this = <instance of Thread>
		arg error = <instance of MethodError>
	Object:throw   0xd9d2f0
		arg this = <instance of MethodError>
	Object:writeTextArchive   0xe20110
		arg this = nil
		arg pathname = "/archive.sctxar"
		var text = "nil
"
		var file = <instance of File>
	Meta_Archive:write   0xd9db90
		arg this = <instance of Meta_Archive>
		arg filename = nil
		var expandedFileName = "/archive.sctxar"
	Process:shutdown   0xd9dd70
		arg this = <instance of Main>
	Main:shutdown   0xd9e010
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Could not open file "/archive.sctxar" for writing
RECEIVER: nil

empty
cleaning up OSC
terminate called without an active exception
Aborted
pi@sc-pi:~ $ 

On 15.Oct 2014, at 10:32 , mrdevis <mrdevis@xxxxxxxxxx> wrote:

> I have been trying to get my head around running sclang on a cubian headless
> arm board. This is a git pull done three days ago. Apart from this error:
> 
> ERROR: Class extension for nonexistent class 'Document'
>     In file:'/deprecated/3.7/deprecated-3.7.sc'
> 
> which seems to have to do with the absence of qt and could sort of be
> ignored, but I keep getting this atIdentityHash error, which I cannot trace
> down. It doesn't prevent sclang from starting though. 
> Any ideas? Impact?
> 
> Thanks!
> 
> Jeroen
> 
> ERROR: Message 'atIdentityHash' not understood.



--
http://mz.klingt.org


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/