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

[sc-users] file writing with lilypond 2.18 and 2.19 fails on windows 10 (SC 3.7.2)



Hello, 

I get an error while doing this on windows 10:

(
p=Pbind(
        \note, Prand([1, 2, 3, 4], 8), 
        \dur, 0.25
)
)

f= Fomus(p.asStream, 8)
f.fileName_("/Users/Clemente/Desktop/Pbind")//here is my windows desktop
path
f.ly

the message is:

ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER:
Instance of File {    (000002174C586478, gc=74, fmt=00, flg=00, set=02)
  instance variables [1]
    fileptr : nil
}
PATH: C:/Users/Clemente/Documents/Scanned Music/SCWIN10/inicios tumbando
piano chords.scd
CALL STACK:
	MethodError:reportError   0000021749F2C708
		arg this = <instance of PrimitiveFailedError>
	Nil:handleError   000002174C9479A8
		arg this = nil
		arg error = <instance of PrimitiveFailedError>
	Thread:handleError   000002174ABA5008
		arg this = <instance of Thread>
		arg error = <instance of PrimitiveFailedError>
	Object:throw   000002174C5D90B8
		arg this = <instance of PrimitiveFailedError>
	Object:primitiveFailed   000002174BA257E8
		arg this = <instance of File>
	Fomus:write   000002174C656AB8
		arg this = <instance of Fomus>
		var file = <instance of File>
	Fomus:ly   000002174C6522F8
		arg this = <instance of Fomus>
	Interpreter:interpretPrintCmdLine   000002174CA5C388
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "f.ly"
		var doc = nil
		var ideClass = <instance of Meta_ScIDE>
	Process:interpretPrintCmdLine   000002174C610E78
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER: a File


ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER:
Instance of File {    (000002174C54A518, gc=74, fmt=00, flg=00, set=02)
  instance variables [1]
    fileptr : nil
}
PATH: C:/Users/Clemente/Documents/Scanned Music/SCWIN10/inicios tumbando
piano chords.scd
CALL STACK:
	MethodError:reportError   000002174C9486B8
		arg this = <instance of PrimitiveFailedError>
	Nil:handleError   000002174C947F28
		arg this = nil
		arg error = <instance of PrimitiveFailedError>
	Thread:handleError   000002174C947C68
		arg this = <instance of Thread>
		arg error = <instance of PrimitiveFailedError>
	Object:throw   000002174C947BB8
		arg this = <instance of PrimitiveFailedError>
	Object:primitiveFailed   000002174C947B08
		arg this = <instance of File>
	Fomus:write   000002174C916F68
		arg this = <instance of Fomus>
		var file = <instance of File>
	Fomus:ly   000002174C948558
		arg this = <instance of Fomus>
	Interpreter:interpretPrintCmdLine   000002174CA5B418
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "f.ly"
		var doc = nil
		var ideClass = <instance of Meta_ScIDE>
	Process:interpretPrintCmdLine   000002174C915CB8
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER: a File


ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER:
Instance of File {    (000002174C6D2518, gc=74, fmt=00, flg=00, set=02)
  instance variables [1]
    fileptr : nil
}
PATH: C:/Users/Clemente/Documents/Scanned Music/SCWIN10/inicios tumbando
piano chords.scd
CALL STACK:
	MethodError:reportError   0000021749F55548
		arg this = <instance of PrimitiveFailedError>
	Nil:handleError   0000021749D931F8
		arg this = nil
		arg error = <instance of PrimitiveFailedError>
	Thread:handleError   0000021749D91D58
		arg this = <instance of Thread>
		arg error = <instance of PrimitiveFailedError>
	Object:throw   0000021749E9C818
		arg this = <instance of PrimitiveFailedError>
	Object:primitiveFailed   000002174BAA92A8
		arg this = <instance of File>
	Fomus:write   000002174C95E348
		arg this = <instance of Fomus>
		var file = <instance of File>
	Fomus:ly   000002174C963CA8
		arg this = <instance of Fomus>
	Interpreter:interpretPrintCmdLine   000002174CA5A4A8
		arg this = <instance of Interpreter>
		var res = nil
		var func = <instance of Function>
		var code = "f.ly"
		var doc = nil
		var ideClass = <instance of Meta_ScIDE>
	Process:interpretPrintCmdLine   000002174C95A778
		arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_FileWrite' failed.
Failed.
RECEIVER: a File


I remember not have had issues with the same example on windows 10, but I
believe I had SC3.6 installed back then. I've uninstalled and reinstalled
lilypond v 2.16 through 2.19 with no success.

I believe it has to do with some administrator privileges now on win 10, but
who knows?, thanks! RC



--
Sent from: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html

_______________________________________________
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/