1

今天刚刚下载了适用于 Windows 的 3.3.0 版。我安装了 python 并尝试使用 forge create 开始我的第一个应用程序,但我在错误日志中得到以下信息:

2012-04-28 18:03:28,285 [   INFO] Forge tools running at version 3.3.0
2012-04-28 18:03:28,288 [  DEBUG] Forge build tools version: 3.3.0
2012-04-28 18:03:28,288 [  DEBUG] main: {"server": "https://trigger.io/api/"}
2012-04-28 18:03:28,299 [  DEBUG] GET https://trigger.io/api/version_check/3/3/0/
2012-04-28 18:03:29,661 [  DEBUG] checking API response for success or error
2012-04-28 18:03:29,661 [   INFO] Update result: you already have the latest tools
2012-04-28 18:03:44,101 [  DEBUG] GET https://trigger.io/api/auth/loggedin
2012-04-28 18:03:44,279 [  DEBUG] checking API response for success or error
2012-04-28 18:03:44,279 [  DEBUG] already authenticated via cookie - continuing
2012-04-28 18:03:44,279 [   INFO] Registering new app "helloworld" with trigger.io...
2012-04-28 18:03:44,279 [  DEBUG] POST https://trigger.io/api/app/
2012-04-28 18:03:56,368 [  DEBUG] checking API response for success or error
2012-04-28 18:03:56,368 [   INFO] Fetching initial project template
2012-04-28 18:03:56,368 [  DEBUG] already authenticated - continuing
2012-04-28 18:03:56,368 [  DEBUG] GET https://trigger.io/api/app/xxx/initial_files/
2012-04-28 18:03:56,579 [  DEBUG] unzip is available, using it
2012-04-28 18:03:56,782 [  DEBUG] unzip output
2012-04-28 18:03:56,782 [  DEBUG] Can't execute /c/Program Files/Common Files/Symbian/tools/unzip.pl.

2012-04-28 18:03:56,782 [  DEBUG] Extracted initial project template
2012-04-28 18:03:56,782 [  DEBUG] Removed downloaded file ".\initial.zip"
2012-04-28 18:03:56,782 [   INFO] Building app for the first time...
2012-04-28 18:03:56,782 [  ERROR] Source folder "src" does not exist - have you run forge create yet?

是否假设在 Symbian 文件夹中寻找解压缩?

不知道如何解决这个问题,任何帮助将不胜感激......

谢谢,EE

4

1 回答 1

1

从输出中的这些行来看,使用的“解压缩”版本似乎与我们的工具所期望的不同:

2012-04-28 18:03:56,579 [  DEBUG] unzip is available, using it
2012-04-28 18:03:56,782 [  DEBUG] unzip output
2012-04-28 18:03:56,782 [  DEBUG] Can't execute /c/Program Files/Common Files/Symbian/tools/unzip.pl.

这导致基本模板应用程序未解压缩(创建 src 目录),因此出现错误。

您能否尝试从 PATH 中删除“/c/Program Files/Common Files/Symbian/tools/unzip.pl”并重试“forge create”

于 2012-04-28T22:55:00.213 回答