Skip to content

Conversation

@zmrocze
Copy link
Contributor

@zmrocze zmrocze commented Apr 26, 2024

Hey,

I think you in the end forgot to put superdirt-install into the shell. Added it to shell and fixed that package.

thanks for the flake

EDIT: the package superdirt-install doesn't work, will let know if i can fix
EDIT2: Fixed it by renaming install.sc -> install.scd. The first means class declarations file, the second a script file.

@zmrocze
Copy link
Contributor Author

zmrocze commented May 6, 2024

❯ sclang-with-superdirt /nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/install.sc 
compiling class library...
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
	Found 867 primitives.
	Compiling directory '/nix/store/29kpkir88jk83ihpk42afn81vnzj6p4j-supercollider-with-plugins-3.13.0/share/SuperCollider/SCClassLibrary'
	Compiling directory '/nix/store/29kpkir88jk83ihpk42afn81vnzj6p4j-supercollider-with-plugins-3.13.0/share/SuperCollider/Extensions'
	Compiling directory '/home/zmrocze/.local/share/SuperCollider/Extensions'
	Compiling directory '/nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/quark'
	numentries = 1300113 / 20328288 = 0.064
	5937 method selectors, 3424 classes
	method table size 21149408 bytes, big table size 162626304
	Number of Symbols 15410
	Byte Code Size 463821
	compiled 568 files in 0.28 seconds

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

compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Couldn't set realtime scheduling priority 1: Operation not permitted
Class tree inited in 0.01 seconds


*** Welcome to SuperCollider 3.13.0. *** For help type ctrl-c ctrl-h (Emacs) or :SChelp (vim) or ctrl-U (sced/gedit).
Couldn't set realtime scheduling priority 1: Operation not permitted
ERROR: Could not write to file "/nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/sclang_conf.yaml"
RECEIVER:
class LanguageConfig (0x35eb840) {
  instance variables [19]
    name : Symbol 'LanguageConfig'
    nextclass : instance of Meta_LastValue (0x2c8d040, size=19, set=5)
    superclass : Symbol 'Object'
    subclasses : nil
    methods : nil
    instVarNames : nil
    classVarNames : nil
    iprototype : nil
    cprototype : nil
    constNames : nil
    constValues : nil
    instanceFormat : Integer 0
    instanceFlags : Integer 0
    classIndex : Integer 39
    classFlags : Integer 0
    maxSubclassIndex : Integer 39
    filenameSymbol : Symbol '/nix/store/29kpkir88jk83ihpk42afn81vnzj6p4j-supercollider-with-plugins-3.13.0/share/SuperCollider/SCClassLibrary/Common/Core/LanguageConfig.sc'
    charPos : Integer 0
    classVarIndex : Integer 436
}
PATH: /nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/install.sc

PROTECTED CALL STACK:
	Meta_MethodError:new	0x2444980
		arg this = MethodError
		arg what = Could not write to file "/nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/sclang_conf.yaml"
		arg receiver = LanguageConfig
	Meta_LanguageConfig:store	0x35eb9c0
		arg this = LanguageConfig
		arg file = /nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/sclang_conf.yaml
	Meta_Quarks:clear	0x2269040
		arg this = Quarks
	a FunctionDef	0x3fced18
		sourceCode = "Quarks.clear;
Quarks.install(\"/nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt\");
thisProcess.recompile();
 "
	a FunctionDef	0x235c680
		sourceCode = "<an open Function>"
	Function:prTry	0x26d2180
		arg this = a Function
		var result = nil
		var thread = a Thread
		var next = nil
		var wasInProtectedFunc = false
	
CALL STACK:
	MethodError:reportError
		arg this = <instance of MethodError>
	Nil:handleError
		arg this = nil
		arg error = <instance of MethodError>
	Thread:handleError
		arg this = <instance of Thread>
		arg error = <instance of MethodError>
	Object:throw
		arg this = <instance of MethodError>
	Function:protect
		arg this = <instance of Function>
		arg handler = <instance of Function>
		var result = <instance of MethodError>
	Interpreter:executeFile
		arg this = <instance of Interpreter>
		arg pathName = "/nix/store/h1dnyddp6x1kjg5f3..."
		arg args = [*0]
		var result = nil
		var saveExecutingPath = nil
	Process:interpretCmdLine
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Could not write to file "/nix/store/h1dnyddp6x1kjg5f37k5bb28plszbr7z-SuperDirt/sclang_conf.yaml"
RECEIVER: LanguageConfig

@mitchmindtree
Copy link
Owner

thank you!

@mitchmindtree mitchmindtree merged commit a16cb88 into mitchmindtree:main Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants