Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primitive '_ScIDE_SetDocSelectionMirror' failed. #1228

Closed
telephon opened this issue Nov 4, 2014 · 4 comments
Closed

Primitive '_ScIDE_SetDocSelectionMirror' failed. #1228

telephon opened this issue Nov 4, 2014 · 4 comments
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE

Comments

@telephon
Copy link
Member

telephon commented Nov 4, 2014

This happens when opening an empty document (Untitled) while recompiling the library.

ERROR: Primitive '_ScIDE_SetDocSelectionMirror' failed.
Wrong type.
RECEIVER:
Instance of Document {    (0x110789bb8, gc=BC, fmt=00, flg=00, set=04)
  instance variables [16]
    quuid : Symbol '{8beb029f-1d0e-45ed-b89b-e94cd340ae76}'
    title : "Untitled"
    isEdited : false
    path : ""
    keyDownAction : nil
    keyUpAction : nil
    mouseUpAction : nil
    mouseDownAction : nil
    toFrontAction : nil
    endFrontAction : nil
    onClose : nil
    textChangedAction : nil
    envir : nil
    savedEnvir : nil
    editable : true
    promptToSave : true
}
CALL STACK:
    MethodError:reportError   0x10f6896c8
        arg this = <instance of PrimitiveFailedError>
    Nil:handleError   0x106f897e8
        arg this = nil
        arg error = <instance of PrimitiveFailedError>
    Thread:handleError   0x10fcd6698
        arg this = <instance of Thread>
        arg error = <instance of PrimitiveFailedError>
    Object:throw   0x106f587b8
        arg this = <instance of PrimitiveFailedError>
    Object:primitiveFailed   0x10f4bcaa8
        arg this = <instance of Document>
    Document:prSetSelectionMirror   0x107a82d68
        arg this = <instance of Document>
        arg quuid = '{8beb029f-1d0e-45ed-b89b-e94cd340ae76}'
        arg start = nil
        arg size = nil
    Document:initFromIDE   0x1107f2068
        arg this = <instance of Document>
        arg id = '{8beb029f-1d0e-45ed-b89b-e94cd340ae76}'
        arg argtitle = "Untitled"
        arg argstring = "

().play;
s.boot;

OSCFunc...."
        arg argisEdited = true
        arg argPath = "nil"
        arg selStart = nil
        arg selSize = nil
    Meta_Document:syncFromIDE   0x10e99ab38
        arg this = <instance of Meta_Document>
        arg quuid = '{8beb029f-1d0e-45ed-b89b-e94cd340ae76}'
        arg title = "Untitled"
        arg chars = "

().play;
s.boot;

OSCFunc...."
        arg isEdited = true
        arg path = "nil"
        arg selStart = 19
        arg selSize = 0
        var doc = <instance of Document>
    ArrayedCollection:do   0x106fd1dc8
        arg this = [*2]
        arg function = <instance of Function>
        var i = 0
    Meta_Document:syncDocs   0x10fd1daf8
        arg this = <instance of Meta_Document>
        arg docInfo = [*2]
    Process:interpretCmdLine   0x10766e7d8
        arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_ScIDE_SetDocSelectionMirror' failed.
Wrong type.
RECEIVER: a Document
@telephon telephon added bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE labels Nov 4, 2014
@telephon
Copy link
Member Author

telephon commented Nov 4, 2014

and as a followup, the following:

ERROR: Message 'didBecomeKey' not understood.
RECEIVER:
   nil
ARGS:
CALL STACK:
    DoesNotUnderstandError:reportError   0x121955fe8
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError   0x121955dd8
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError   0x121956568
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw   0x1219557a8
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand   0x1219559b8
        arg this = nil
        arg selector = 'didBecomeKey'
        arg args = [*0]
    Meta_Document:prCurrent_   0x121955858
        arg this = <instance of Meta_Document>
        arg newCurrent = nil
    Meta_Document:setActiveDocByQUuid   0x121954eb8
        arg this = <instance of Meta_Document>
        arg quuid = '{0ab877fe-9185-46cb-934c-634bf58edb11}'
        var newCurrent = nil
    Process:interpretCmdLine   0x121954f68
        arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Message 'didBecomeKey' not understood.
RECEIVER: nil


ERROR: Message 'prSetEdited' not understood.
RECEIVER:
   nil
ARGS:
   Integer 1
CALL STACK:
    DoesNotUnderstandError:reportError   0x121957068
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError   0x121955908
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError   0x12197b7e8
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw   0x12197b898
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand   0x121956778
        arg this = nil
        arg selector = 'prSetEdited'
        arg args = [*1]
    Process:interpretCmdLine   0x121954e08
        arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Message 'prSetEdited' not understood.
RECEIVER: nil


@telephon
Copy link
Member Author

telephon commented Nov 5, 2014

Probably related: #1238

@muellmusik
Copy link
Contributor

See if c2dfc99 fixes this for you.

@telephon
Copy link
Member Author

telephon commented Nov 5, 2014

yes, it does - thanks!

@telephon telephon closed this as completed Nov 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE
Projects
None yet
Development

No branches or pull requests

2 participants