【问题标题】:Trigger.io does not openTrigger.io 打不开
【发布时间】:2013-01-15 11:56:46
【问题描述】:

我正在评估 trigger.io。我有一台 Ubuntu 机器,并在其上的虚拟机上安装了 Windows XP。我在 Windows XP VM 实例中安装了 trigger.io 工具包并开始开发天气演示应用程序。完成了第一章并且运行良好,甚至将它安装在我的 iPhone 上。然而,几天后,当我启动 trigger.io 工具包时,页面突然在浏览器中打开,但配置或伪造选项不可见。我如何弄清楚为什么这没有开始(我什至重新安装了工具包,但结果相同)。是否有我可以阅读的日志以查找更多信息?我已附上屏幕以显示它的外观。我将不胜感激帮助解决此问题。

卸载旧版本并安装新版本后,现在“正在加载”图像显示并继续显示。

这是我在 toolkit.log 文件中找到的内容 -

2013-01-13 19:09:55,515 [trigger.web: INFO] Attempting to open browser... 2013-01-13 19:09:56,312 [trigger.session: INFO] 0 sessions: []

这里是 JS 控制台 -

Document was loaded from Application Cache with manifest @987654321@ Application Cache Checking event Application Cache NoUpdate event Created session with id: 40cb230c-f9e3-45e2-8841-4430cbcf5a2b remote.js:161

当我尝试在 IE 8 中访问 JS 控制台时出现一堆错误(通常我从不使用 IE) -

Object doesn't support this property or method toolkit-local.com:38394, line 6 character 4 Expected identifier config.js, line 171 character 28 LOG: Created session with id: d55f077f-2c40-4fcc-b7c7-0f7e2e9c7355 Unexpected call to method or property access. jquery-1.7.js, line 5828 character 5 Object doesn't support this property or method toolkit.js, line 68 character 4 Object doesn't support this property or method toolkit-local.com:38394, line 6 character 4 Expected identifier, string or number views.js, line 569 character 3 'Toolkit.Views.ViewWithTemplate' is null or not an object form.js, line 6 character 2 Expected identifier config.js, line 171 character 28 'undefined' is null or not an object console.js, line 198 character 2 'Toolkit.Views.ViewWithTemplate' is null or not an object plugins.js, line 198 character 2 'Toolkit.Views.ViewWithTemplate' is null or not an object projects.js, line 38 character 2 LOG: Created session with id: 979c4bde-1426-44ef-8992-e47eab0e7c60 'JSON' is undefined remote.js, line 226 character 2 Object doesn't support this property or method toolkit-local.com:38394, line 6 character 4 Expected identifier config.js, line 171 character 28 LOG: Created session with id: b279d926-0282-4091-a31a-879fbb766efd Unexpected call to method or property access. jquery-1.7.js, line 5828 character 5 Object doesn't support this property or method toolkit.js, line 68 character 4

【问题讨论】:

  • 好的,工具包已经在你的第二张截图中更新了,但显然还是有问题:你能检查 JavaScript 控制台是否有错误吗? (Ctrl-Shift-J)
  • 我检查了 Java Script 控制台,但没有任何明显的错误。我稍后可以上传它,因为我现在没有访问权限,但很快就会上传。
  • James,我用 JS 控制台消息编辑了帖子。请让我知道这是否有助于解决任何问题。
  • 你应该试试 Toolkit 的源代码版本,我每天都在我的 Debian 6 上使用它。你只需要 Python 2.7、Java SDK 和 Android 开发工具
  • 结果非常令人沮丧,因为日志中没有任何内容可以指出启动工具包页面时出现的问题。我想我将不得不一起关闭 VM 映像并重新创建,然后重新安装 trigger.io 以排除所有可能性。

标签: trigger.io


【解决方案1】:

这看起来像是工具包的一个稍微过时的版本(我们上周发布了一个新版本)。它应该会自行更新,但这里似乎出了点问题。

您能否尝试先卸载现有的 Toolkit,然后从 https://trigger.io/forge/toolkit/ 下载新的 Toolkit 副本并重新安装。

如果这不起作用,C:\Users\<Your User>\AppData\Local\Trigger Toolkit\toolkit.log 中应该有一个日志文件,其中包含更多信息。

【讨论】:

  • 尝试卸载旧版本并重新安装新版本。但仍然面临问题。如果您能提供任何其他建议,请查看更新的屏幕截图。
猜你喜欢
  • 2012-09-16
  • 2014-05-02
  • 1970-01-01
  • 2013-04-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-08-31
相关资源
最近更新 更多