Git Product home page Git Product logo

Comments (3)

cwillisf avatar cwillisf commented on August 10, 2024

The write is returning protocol error 3 indicating "The attribute cannot be written". I haven't found an official source of information describing why this would happen but I have found a few posts on Stack Overflow and the like; they seem to suggest that calling CoInitializeSecurity would fix the issue. Unfortunately this is a native method so calling it from C# is non-trivial, though it shouldn't take too long to set it up.

Adding a call to CoInitializeSecurity is what we were trying to avoid by bumping the Windows 10 version requirement up from 15063 in #101, so it might be possible to relax the version requirement after adding the call.

Disabling withResponse seems to eliminate the error. I'm not sure if this is a reasonable solution but if it is it should be done as a change to the extension code. Currently the extension explicitly passes withResponse: true in the write request so arbitrarily turning it off seems like a bad idea.

from scratch-link.

evhan55 avatar evhan55 commented on August 10, 2024

@cwillisf I will investigate to see if the extension definitely needs that flag to be true

from scratch-link.

evhan55 avatar evhan55 commented on August 10, 2024

@cwillisf Setting withResponse to null on the client side seems to do it:
scratchfoundation/scratch-vm#1924

from scratch-link.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.