Vansuita Jr.
Vansuita Jr.

Reputation: 2099

Now, the Arc Welder is not starting test application on Windows

Yesterday (10/19/2015 06:00 PM), the ARC Welder app begin to not start apps.

For some reason, now, when I click "TEST", nothing happens on Windows 10, I tested on MAC/Windows 7 also, and works fine.

Chrome Versão 46.0.2490.71 (64-bit)

ARC Welder 46.5021.478.14

Update This is the error shown on console.

Uncaught (in promise) TypeError: Cannot read property 'angle' of undefined at $jscomp.scope.Plugin.computeLayout_ (chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:125:302) at $jscomp.scope.Plugin.doLayout_ (chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:122:383) at $jscomp.scope.Plugin.initializeWindow_ (chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:98:175) at null. (chrome-extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:95:238)

Upvotes: 3

Views: 6126

Answers (1)

CrandellWS
CrandellWS

Reputation: 2804

Workaround SOLUTION at bottom.

Ok so what I have so far is not a solution just information

The problem seems to be coming from the runtime part of the Arc Extension:

SEE-> https://chrome.google.com/webstore/detail/app-runtime-for-chrome-be/mfaihdlpglflfgpfjcifdjdjcckigekc

The problem is in the file plugin.js

// Let the CameraManager in Android know what the current orientation is
  var message = {
    namespace: 'pluginCameraManager',
    command: 'screenRotation',
    data: {
      'angle': screen.orientation.angle
    }
  };
  this.postMessage(message);

Cannot read property 'angle' of undefined at...

'angle': screen.orientation.angle

//for context
var a=Promise.all([this.createAppPlugin_(),window.arcparams.systemDirectoriesReady]);
//problem is initializeWindow_() fails
a.then(function(){this.initializeWindow_();

** WORK AROUND SOLUTION**

This may cause more bugs, I don't know, do it at own risk.

Open the file:

%LOCALAPPDATA%\Google\Chrome\User Data\Default\Extensions\mfaihdlpglflfgpfjcifdjdjcckigekc\46.5021.478.18_0\gen_index.min.js

ie

extension://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:125:302)

So on line 125 at character 302 you should find the word 'angle' as in:

data:{angle:screen.orientation.angle}

change that to:

data:{angle:0}

0 is used,you can read about why -> Find screen angle when orientation is fixed in android

Upvotes: 3

Related Questions