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

强颜欢笑 提交于 2019-12-06 06:36:33

问题


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)


回答1:


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



来源:https://stackoverflow.com/questions/33240532/now-the-arc-welder-is-not-starting-test-application-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!