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

Re: [sc-dev] Primitive '_ScIDE_SetDocTextMirror' failed.



I just tried it (master, 879688e, on ubuntu) and got the same as you.

The document opens fine, it's just this textmirror stuff throwing the error.

Dan


2013/10/22 Marije Baalman <nescivi@xxxxxxxxx>:
> Hiho,
>
> does this look familiar?
> document opened from code with String::openDocument
>
> master from this weekend.
>
> sincerely,
> Marije
>
>
> ERROR: Primitive '_ScIDE_SetDocTextMirror' failed.
> Wrong type.
> RECEIVER:
> Instance of ScIDEDocument {    (0x7d46e68, gc=0C, fmt=00, flg=00,
> set=05) instance variables [17]
>     dataptr : nil
>     keyDownAction : nil
>     keyUpAction : nil
>     mouseUpAction : nil
>     toFrontAction : nil
>     endFrontAction : nil
>     onClose : nil
>     mouseDownAction : nil
>     stringColor : nil
>     envir : nil
>     savedEnvir : nil
>     editable : nil
>     quuid : nil
>     title : nil
>     isEdited : false
>     path : nil
>     textChangedAction : nil
> }
> PATH: /home/nescivi/SuperCollider/Wezen/get_template.scd
> CALL STACK:
>         MethodError:reportError   0x1ba0af8
>                 arg this = <instance of PrimitiveFailedError>
>         Nil:handleError   0x64b7cb8
>                 arg this = nil
>                 arg error = <instance of PrimitiveFailedError>
>         Thread:handleError   0x19dfe08
>                 arg this = <instance of Thread>
>                 arg error = <instance of PrimitiveFailedError>
>         Object:throw   0x6738b88
>                 arg this = <instance of PrimitiveFailedError>
>         Object:primitiveFailed   0x69e42d8
>                 arg this = <instance of ScIDEDocument>
>         ScIDEDocument:prSetTextMirror   0x19f35c8
>                 arg this = <instance of ScIDEDocument>
>                 arg quuid = nil
>                 arg text = "CtlPlayer.new('right2', { |p..."
>                 arg start = 0
>                 arg range = -1
>         ScIDEDocument:prSetText   0x5ced138
>                 arg this = <instance of ScIDEDocument>
>                 arg text = "CtlPlayer.new('right2', { |p..."
>                 arg action = nil
>                 arg start = 0
>                 arg range = -1
>                 var funcID = nil
>         ScIDEDocument:text_   0x646a488
>                 arg this = <instance of ScIDEDocument>
>                 arg string = "CtlPlayer.new('right2', { |p..."
>         ScIDEDocument:prReadTextFromFile   0x1cb65c8
>                 arg this = <instance of ScIDEDocument>
>                 arg path = "/home/nescivi/SuperCollider/..."
>                 var file = <instance of File>
>         ScIDEDocument:initFromPath   0x7f624cd05928
>                 arg this = <instance of ScIDEDocument>
>                 arg path = "/home/nescivi/SuperCollider/..."
>                 arg selectionStart = 0
>                 arg selectionLength = 0
>                 var doc = nil
>         Meta_Document:open   0x58e95e8
>                 arg this = <instance of Meta_Document>
>                 arg path = "/home/nescivi/SuperCollider/..."
>                 arg selectionStart = 0
>                 arg selectionLength = 0
>                 arg envir = nil
>                 var doc = nil
>         String:openDocument   0x55704f8
>                 arg this = "/home/nescivi/SuperCollider/..."
>                 arg selectionStart = 0
>                 arg selectionLength = 0
>                 var ideClass = nil
>         CtlPlayer:save   0x82a7c38
>                 arg this = <instance of CtlPlayer>
>                 arg newkey = 'right2'
>                 arg filename = "right2_131022_011310_ctlplay..."
>                 arg openDoc = true
>                 arg saveCtl = false
>                 var file = <instance of File>
>                 var fullPath = "/home/nescivi/SuperCollider/..."
>                 var ctlString = "CtlPlayer.new('right2')"
>         Interpreter:interpretPrintCmdLine   0x8be3ae8
>                 arg this = <instance of Interpreter>
>                 var res = nil
>                 var func = <instance of Function>
>                 var code = "CtlPlayer( x[\rthumb].action..."
>                 var doc = <instance of ScIDEDocument>
>                 var ideClass = <instance of Meta_ScIDE>
>         Process:interpretPrintCmdLine   0x5a1e7b8
>                 arg this = <instance of Main>
> ^^ The preceding error dump is for ERROR: Primitive
> '_ScIDE_SetDocTextMirror' failed. Wrong type.
> RECEIVER: a ScIDEDocument
>
>
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/



-- 
http://www.mcld.co.uk

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/