Coder Social home page Coder Social logo

Comments (11)

SebCanet avatar SebCanet commented on July 16, 2024

Thanks for information. I alrdeay add this problem few weeks ago.
But I thought the problem was corrected ? When I test it works...
Tell me if you still have the pb.

from blockly-at-rduino.

Arachnid avatar Arachnid commented on July 16, 2024

It definitely doesn't work for me - it tries to load a file that doesn't exist, and never enumerates the devices.

from blockly-at-rduino.

Arachnid avatar Arachnid commented on July 16, 2024

I suspect this is a matter of what version of the plugin you have. Have you updated yours recently?

from blockly-at-rduino.

SebCanet avatar SebCanet commented on July 16, 2024

Yes, and Blockly@rduino is normally updated.

from blockly-at-rduino.

Arachnid avatar Arachnid commented on July 16, 2024

Perhaps it's a platform issue, then? I'm using Chrome on OSX.

If you look at codebender's own site, they have a "compilerflasher_new" which works with my version of the plugin, while "compilerflasher" that blockly@rduino is using does not. I tried porting blockly@rduino to use compilerflasher_new, but encountered the bug I linked to above.

from blockly-at-rduino.

SebCanet avatar SebCanet commented on July 16, 2024

Normally it's platform independant, but the compilerflasher doesn't work with my Cyberfox x64. Do you have a 64bits version ?

from blockly-at-rduino.

Arachnid avatar Arachnid commented on July 16, 2024

I do. If you look at the include code on codebender's site, it looks like this:


                    if (window.useChromeApp()) {
                        compilerflasher = new compilerflasher_new(function () {return window.files;});
                        compilerflasher.eventManager.addListener('plugin_not_found', function () {
                            window.location.assign("/static/walkthrough/page/2");
                        });
                    }
                    else {
                        compilerflasher = new compilerflasher(function () {return window.files;});
                        var pluginSearchedInterval = setInterval(function () {
                            if (compilerflasher.pluginHandler.plugin_searched) {
                                clearInterval(pluginSearchedInterval);

                                if (!compilerflasher.pluginHandler.plugin_found) {
                                    window.location.assign("/static/walkthrough/page/2");
                                }
                            }
                        }, 100);
                    }

So it looks like the new plugin is specific to Chrome.

from blockly-at-rduino.

SebCanet avatar SebCanet commented on July 16, 2024

As you can edit in index.html line 45, the reference is no more for '/utils/compilerflasher.js' but for 'http://codebender.cc/embed/compilerflasher.js'.

Did you try this one : https://codebender.cc/static/plugin ?

from blockly-at-rduino.

Arachnid avatar Arachnid commented on July 16, 2024

Yes, the issue here is that even if you change the reference in index.html to compilerflasher_new, it still fails, due to the linked codebender bug.

from blockly-at-rduino.

SebCanet avatar SebCanet commented on July 16, 2024

I do not understand because it works on my Windows Firefox x32 version...
Did you try witj all browser ? or on a different OS ?

from blockly-at-rduino.

Arachnid avatar Arachnid commented on July 16, 2024

If you look at the snippet I pasted, compilerflasher_new is used for Chrome only. So as it stands, Blockly-at-rduino will not work in Chrome for any user with the latest Codebender plugin. I don't think there's anything we/you can do about it until Codebender fix their plugin, but I wanted to make you aware of the issue and how it can be fixed once they do.

from blockly-at-rduino.

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.