ModalityTeam / Modality-toolkit

A SuperCollider toolkit to simplify the creation of personal (electronic) instruments utilising hardware and software controllers of any kind.
http://modalityteam.github.io/
87 stars 26 forks source link

MKtlDesc.schelp problem #400

Closed prko closed 5 months ago

prko commented 5 months ago

Hi,

I rendered all help documents as follows:

SCDoc.renderAll

However, it quits with an error that the receiver is nil. I think the problem is your MKtlDesc help document because the following error does not occur when removing MKtlDesc.schelp and there is a mention of MKtlDesc in the error message.

ERROR: Message 'at' not understood.
RECEIVER:
   nil
ARGS:
   Integer 0
CALL STACK:
    DoesNotUnderstandError:reportError
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand
        arg this = nil
        arg selector = 'at'
        arg args = [*1]
    < FunctionDef in Method Meta_SCDocHTMLRenderer:renderMethod >
        arg i = 0
        var a = nil
        var b = nil
    Integer:do
        arg this = 1
        arg function = <instance of Function>
        var i = 0
    < FunctionDef in Method Meta_SCDocHTMLRenderer:renderMethod >
        arg mname = "cacheName"
    ArrayedCollection:do
        arg this = [*4]
        arg function = <instance of Function>
        var i = 1
    Meta_SCDocHTMLRenderer:renderMethod
        arg this = <instance of Meta_SCDocHTMLRenderer>
        arg stream = <instance of File>
        arg node = <instance of SCDocNode>
        arg methodType = 'classMethod'
        arg cls = class Meta_MKtlDesc
        arg icls = nil
        var methodTypeIndicator = "*"
        var methodCodePrefix = "MKtlDesc."
        var args = ""
        var names = [*4]
        var mstat = 1
        var sym = 'cacheName'
        var m = Meta_MKtlDesc:cacheName
        var m2 = nil
        var mname2 = "cacheName"
        var lastargs = <instance of SymbolArray>
        var args2 = nil
        var x = <instance of Function>
        var maxargs = 1
        var methArgsMismatch = false
    Meta_SCDocHTMLRenderer:renderSubTree
        arg this = <instance of Meta_SCDocHTMLRenderer>
        arg stream = <instance of File>
        arg node = <instance of SCDocNode>
        var f = nil
        var z = nil
        var img = nil
    ArrayedCollection:do
        arg this = [*7]
        arg function = <instance of Function>
        var i = 4
    Meta_SCDocHTMLRenderer:renderChildren
        arg this = <instance of Meta_SCDocHTMLRenderer>
        arg stream = <instance of File>
        arg node = <instance of SCDocNode>
    Meta_SCDocHTMLRenderer:renderSubTree
        arg this = <instance of Meta_SCDocHTMLRenderer>
        arg stream = <instance of File>
        arg node = <instance of SCDocNode>
        var f = nil
        var z = nil
        var img = nil
    ArrayedCollection:do
        arg this = [*29]
        arg function = <instance of Function>
        var i = 26
    Meta_SCDocHTMLRenderer:renderChildren
        arg this = <instance of Meta_SCDocHTMLRenderer>
        arg stream = <instance of File>
        arg node = <instance of SCDocNode>
...
^^ ERROR: Message 'at' not understood.
RECEIVER: nil
adcxyz commented 5 months ago

found it, fixed with [294f7ce]