YF-GoogleCodeBackups / greatagent

Automatically exported from code.google.com/p/greatagent
0 stars 0 forks source link

greatagent is unable to update automatically #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
导致出现该问题的步骤?
GreatAgent can only update for the first time of running wwqgtxx-goagent.bat OR 
greatagent-ga.bat,after the first update, close all the apps and run 
wwqgtxx-goagent.bat OR greatagent-ga.bat again, an erro come up

Erro information
greatagent-ga
------------------------------------------------------
GreatAgent Version      : 2.0.0
RunTime            :python/2.7.5 gevent/1.0rc3 pyopenssl/0.13 rsa/3.1.1 PyASN1/0
.1.7 base92/1.0.3
Update Server      : https://ga.greatagent2-fxga.googlecode.com/git|https://ga.g
reatagent2-ga.googlecode.com/git
------------------------------------------------------
------------------------------------------------------
GreatAgent SimpleProxy Version  : 1.0.0
Listen Address   : 127.0.0.1:8088
GOOGLE Mode                : https
GOOGLE Profile          : google_cn
------------------------------------------------------
Generating sha1.ini table...
FAIL to generate sha1.ini table!
[Errno 22] invalid mode ('w') or filename: 'D:/greatagent2-ga-Release-withOpera-
2.1/greatagent2-ga-Release/sha1.ini'
请按任意键继续. . .

cmd.exe - runner.bat

Starting GoAgent...
Starting PortableBroswer...
Starting FirefoxPortable...
Don't Have FirefoxPortable
Traceback (most recent call last):
  File "python27.py", line 95, in <module>
  File "startbroswer.py", line 42, in <module>
    main()
  File "startbroswer.py", line 20, in main
    FileUtil.delete_dir("FirefoxPortable")
  File "D:\greatagent2-ga-Release-withOpera-2.1\greatagent2-ga-Release\common.py
", line 54, in delete_dir
    shutil.rmtree(dir)
  File "D:\greatagent2-ga-Release-withOpera-2.1\greatagent2-ga-Release\python27.
zip\shutil.py", line 239, in rmtree
  File "D:\greatagent2-ga-Release-withOpera-2.1\greatagent2-ga-Release\python27.
zip\shutil.py", line 237, in rmtree
WindowsError: [Error 3] : 'FirefoxPortable/*.*'
请按任意键继续. . .

Windows 8.1 64bit system.

请在下面提供任何额外的信息。

Original issue reported on code.google.com by superwuz...@gmail.com on 26 Dec 2013 at 2:21

Attachments:

GoogleCodeExporter commented 8 years ago
应该是python2.7与win8.1的兼容性问题,暂时没有爆发解决
你可以尝试右键,适用管理员权限运行greatagent.bat
由于没有win8环境,无法调试

Original comment by wwqgtxx on 26 Dec 2013 at 10:04

GoogleCodeExporter commented 8 years ago
哈哈。问题貌似已经解决了,只要在Python官网下载个新版的Py
thon 
2.7.6或3.3.3安装一下再运行greatagent就能正常运行更新了。但是
必须要首次运行greatagent之前安装新版Python才行。首次运行grea
tagent再安装新版的Python的话还是可能会出错。
Phthon官网。http://www.python.org/getit/

Original comment by superwuz...@gmail.com on 27 Dec 2013 at 2:50

GoogleCodeExporter commented 8 years ago
greatagent2-ga-Release-withOpera-2.1还是不行,解决不了。希望新版��
�解决掉。

Original comment by superwuz...@gmail.com on 27 Dec 2013 at 3:00

GoogleCodeExporter commented 8 years ago
主要是python运行环境不能自动更新
下次我看看有没有办法更新一下python版本

Original comment by wwqgtxx on 27 Dec 2013 at 3:45

GoogleCodeExporter commented 8 years ago
多谢wwqgtxx的回答,希望能尽快更新。

Original comment by superwuz...@gmail.com on 30 Dec 2013 at 2:14