昨天(2015年10月19日06:00 PM), ARC焊机应用程序开始无法启动应用程序。
由于某种原因,现在,当我点击"测试"时,在Windows 10上没有任何反应,我在MAC/Windows 7上也测试了一下,并且工作正常。
铬vers
弧焊机46.5021.478.14
更新strong>这是控制台显示的错误。
Uncaught (in promise) TypeError: Cannot read property 'angle' of未定义的在$jscomp.scope.Plugin.computeLayout_ (chrome-extension://jobdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js:125:302)jscomp.scope.Plugin美元。doLayout_ (chrome扩展://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js: 122:383)jscomp.scope.Plugin美元。initializeWindow_ (chrome扩展://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js: 98:175)在零。(chrome扩展://joabdphlghkbahegchlcmhbaaijcgghj/_modules/mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js: 95:238)
底部的解决方案
好的,到目前为止我得到的还不是解决方案只是信息
问题似乎来自Arc扩展的运行时部分:
看到-> https://chrome.google.com/webstore/detail/app-runtime-for-chrome-be/mfaihdlpglflfgpfjcifdjdjcckigekc
问题出在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);
无法读取属性'angle' 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_();
**解决方案**
这可能会导致更多的bug,我不知道,风险自负。
打开文件
%LOCALAPPDATA%GoogleChromeUser DataDefaultExtensionsmfaihdlpglflfgpfjcifdjdjcckigekc46.5021.478.18_0gen_index.min.js
扩展://joabdphlghkbahegchlcmhbaaijcgghj/_modules mfaihdlpglflfgpfjcifdjdjcckigekc/gen_index.min.js: 125:302)
那么在第125行第302个字符处,你应该发现单词'angle'如下:
data:{angle:screen.orientation.angle}
改为:
data:{angle:0}
0,你可以阅读为什么->查找屏幕角度时,方向在android