今天刚刚下载了适用于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
答案 0 :(得分:1)
从输出中的这些行看,我们的工具期望使用不同版本的'unzip':
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'