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

"String".newTextWindow complaints #1238

Closed
LFSaw opened this issue Nov 5, 2014 · 8 comments
Closed

"String".newTextWindow complaints #1238

LFSaw opened this issue Nov 5, 2014 · 8 comments
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library" env: SCIDE

Comments

@LFSaw
Copy link
Member

LFSaw commented Nov 5, 2014

"Here is a new Document".newTextWindow;

returns a new text window, however, it also posts an error:

-> Here is a new Document
ERROR: Primitive '_ScIDE_SetDocSelectionMirror' failed.
Wrong type.
RECEIVER:
Instance of Document {    (0x113a3d4c8, gc=CC, fmt=00, flg=00, set=04)
  instance variables [16]
    quuid : Symbol '{336ead9b-04d6-4c6b-82e4-b3172bc76b36}'
    title : "Untitled"
    isEdited : nil
    path : nil
    keyDownAction : nil
    keyUpAction : nil
    mouseUpAction : nil
    mouseDownAction : nil
    toFrontAction : nil
    endFrontAction : nil
    onClose : nil
    textChangedAction : nil
    envir : false
    savedEnvir : nil
    editable : true
    promptToSave : true
}
CALL STACK:
    MethodError:reportError   0x11dcbe6d8
        arg this = <instance of PrimitiveFailedError>
    Nil:handleError   0x11dcbe428
        arg this = nil
        arg error = <instance of PrimitiveFailedError>
    Thread:handleError   0x11dcbf448
        arg this = <instance of Thread>
        arg error = <instance of PrimitiveFailedError>
    Object:throw   0x11dcc01b8
        arg this = <instance of PrimitiveFailedError>
    Object:primitiveFailed   0x11dcc0718
        arg this = <instance of Document>
    Document:prSetSelectionMirror   0x1184cb6e8
        arg this = <instance of Document>
        arg quuid = '{336ead9b-04d6-4c6b-82e4-b3172bc76b36}'
        arg start = nil
        arg size = nil
    Document:initFromIDE   0x1189541c8
        arg this = <instance of Document>
        arg id = '{336ead9b-04d6-4c6b-82e4-b3172bc76b36}'
        arg argtitle = "Untitled"
        arg argstring = "Here is a new Document"
        arg argisEdited = true
        arg argPath = ""
        arg selStart = nil
        arg selSize = nil
    Meta_Document:syncFromIDE   0x11891a848
        arg this = <instance of Meta_Document>
        arg quuid = '{336ead9b-04d6-4c6b-82e4-b3172bc76b36}'
        arg title = "Untitled"
        arg chars = "Here is a new Document"
        arg isEdited = true
        arg path = ""
        arg selStart = 0
        arg selSize = 0
        var doc = <instance of Document>
    Process:interpretCmdLine   0x11dcc1538
        arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_ScIDE_SetDocSelectionMirror' failed.
Wrong type.
RECEIVER: a Document

tested on
3.7alpha0 on OSX Mavericks

@LFSaw LFSaw added bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library" env: SCIDE labels Nov 5, 2014
@muellmusik
Copy link
Contributor

Okay, I'll take a look. You don't need to post on sc-dev as well, btw.

muellmusik added a commit that referenced this issue Nov 5, 2014
Signed-off-by: Scott Wilson <i@scottwilson.ca>
@muellmusik
Copy link
Contributor

Fixed.

@LFSaw
Copy link
Member Author

LFSaw commented Nov 8, 2014

thank you, will try asap.
re posting on sc-dev: not sure about this... it is, after all, about attracting audience for it, no?
thanks :)

@muellmusik
Copy link
Contributor

I think it's fine to query on sc-dev if you're not sure it's a bug or whatever, but once it moves to a github issue, keep the discussion here. Definitely don't duplicate what you post here, as that's just noise for all active devs, which means more to read, which means we're actually less likely to see it. As someone who works in a large bureaucratic organisation, believe me when I say information creep is really worth resisting.

@LFSaw
Copy link
Member Author

LFSaw commented Nov 8, 2014

Tested and it works.

@bagong
Copy link
Contributor

bagong commented Nov 8, 2014

Maybe it would be an idea to close down the dev-mailing list? Splitting the development-oriented issues over two forums creates some uncertainty who actually reads what... So the user-list would be the general supercollider forum that serves traditional "mailing-list" communication, and development oriented stuff could be focused on github...

@muellmusik
Copy link
Contributor

Maybe it would be an idea to close down the dev-mailing list?

No, I disagree. The dev list is very useful for general discussion about dev stuff. Github issues are very useful because they provide an easy way to track bugs and specific discussion about solving them in a way that doesn't get lost (as bugs so often did in the old days). In short, they serve different purposes. My 2 cents, anyway.

Tested and it works.

Great!

@bagong
Copy link
Contributor

bagong commented Nov 8, 2014

I wonder how many people actually use sc-dev only. Leading that kind of general dev-discussion on sc-users would also contribute to a spirit of more inclusivity/equality. But then it might appear intimidating to others, so well... not a big issue anyways, just another set of 2 cents :)

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. comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library" env: SCIDE
Projects
None yet
Development

No branches or pull requests

3 participants