turiya / gappproxy

Automatically exported from code.google.com/p/gappproxy
GNU General Public License v3.0
0 stars 0 forks source link

请求更新Downloads中的GUI #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
目前SVN最新版本似已能支持Youtube等视频,然直接用py免不了��
�窗口,且难以注册
为服务。还烦请dev将那些.py编译成exe发布,谢谢。

Original issue reported on code.google.com by xu.jimmy.wrk on 30 Sep 2009 at 1:49

GoogleCodeExporter commented 9 years ago
自行编译出后,执行时生成如下错误:

Traceback (most recent call last):
  File "gui.pyw", line 28, in <module>
  File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading win32api.pyd

Original comment by xu.jimmy.wrk on 1 Oct 2009 at 5:50

GoogleCodeExporter commented 9 years ago
将setup.py中"bundle_files"改为3则程序能正常运行,但目录中出现
了11个DLL和15个PYD,不知
何故。

Original comment by xu.jimmy.wrk on 1 Oct 2009 at 5:57

GoogleCodeExporter commented 9 years ago
bundle_files 依然是 1 , 不要改!

Original comment by cnb...@gmail.com on 7 Oct 2009 at 7:18

GoogleCodeExporter commented 9 years ago
GAE服务端的更新就不说了, 打字说下我昨天本地GUI的exe编译

先下载源码 http://gappproxy.googlecode.com/files/gappproxy-1.0.0beta.tar.gz

然后更新 
http://code.google.com/p/gappproxy/source/browse/trunk/localproxy/proxy.py

你机器没有py2exe的,先安装py2exe, 编译api出错的先去装pywin32. 

接着在localproxy建一个bat文件,里面命令是 "python -OO setup.py 
py2exe --dist-dir
GAppProxy --include sip"

假如一切妥当, 
没有问题的话,执行后localproxy下将有一个GAppProxy文件夹, 
里面就是py2exe
成功的文件.

Original comment by cnb...@gmail.com on 8 Oct 2009 at 3:33

GoogleCodeExporter commented 9 years ago
哦,少说了一点.
msvcp90.dll,msvcp90.dll,Microsoft.VC90.CRT.manifest 
这3个也一并copy到你的编译目录
(localproxy)

Original comment by cnb...@gmail.com on 8 Oct 2009 at 3:51

GoogleCodeExporter commented 9 years ago
都照上边的说的做了,编译的时候提示如下错误,不知道怎��
�解决,请帮忙。
raise ImportError, "No module named " + qname
ImportError: No module named sip

Original comment by samon1...@gmail.com on 10 Oct 2009 at 5:31

GoogleCodeExporter commented 9 years ago
pywin32 没装把?

Original comment by cnb...@gmail.com on 10 Oct 2009 at 8:47

GoogleCodeExporter commented 9 years ago
这些程序我都装了,直接运行bat文件的时候,怎么提示的是��
�'python' 不是内部或外部命令,也不是可运
行的程序或批处理文件。。。

Original comment by qqasz...@gmail.com on 10 Oct 2009 at 10:30

GoogleCodeExporter commented 9 years ago
环境变量, CMD下"set path"看下, 没有了去 
我的电脑->属性->高级->环境变量->系统变量
修改其中的Path, 例如我的在F:, 就添加:"F:\Python26;" 和 
"F:\Python26\Lib\site-
packages\PyQt4"

Original comment by cnb...@gmail.com on 10 Oct 2009 at 1:33

GoogleCodeExporter commented 9 years ago
Pywin32和PyQt4均已安装,Python版本2.6,运行python -OO setup.py 
py2exe --dist-dir
GAppProxy --include sip不报错。

将bundle_files设为3时能正常运行,无任何问题;但将其改为1后
,则会生成错误日志:
> Traceback (most recent call last):
>   File "gui.pyw", line 28, in <module>
>   File "zipextimporter.pyo", line 98, in load_module
> ImportError: MemoryLoadLibrary failed loading win32api.pyd
不知何故

Original comment by xu.jimmy.wrk on 10 Oct 2009 at 1:39

GoogleCodeExporter commented 9 years ago
bundle_files = 1是之打包生成一个文件
你没理解bundle_files 的含义,你G一下把

Original comment by cnb...@gmail.com on 10 Oct 2009 at 3:51

GoogleCodeExporter commented 9 years ago
折腾了一晚上···
依次装了python-2.6.3->GoogleAppEngine_1.2.0->py2exe-0.6.9.win32-py2.6->pywin
32-214.win32-
py2.6->PyQt-Py2.6-gpl-4.6-1
结果编译出来的gui执行的时候还是提示错误
Traceback (most recent call last):
  File "gui.pyw", line 29, in <module>
  File "zipextimporter.pyo", line 98, in load_module
ImportError: No module named sip
再怎么整···

小小抱怨一下,别见怪啊
话说共享这个gui.exe涉及隐私?
为什么要重复做功呢

Original comment by fan4...@gmail.com on 13 Oct 2009 at 5:35

GoogleCodeExporter commented 9 years ago
好吧,原来是我复制上面的bat的命令的时候粗心了
多了一个回车···
python -OO setup.py py2exe --dist-dir GAppProxy --include sip
去掉回车编译出来的就能运行了

Original comment by fan4...@gmail.com on 13 Oct 2009 at 5:48

GoogleCodeExporter commented 9 years ago
@fan4170 能发给我一份吗?谢谢。hhxxttxs2010#gmail.com

Original comment by wkdlo...@gmail.com on 13 Oct 2009 at 6:25

GoogleCodeExporter commented 9 years ago
ls的同学
group里面更新了哦
gappproxy.zip-115网络U盘
http://u.115.com/?ctl=pickcode&pickcode=f2326519da
这个是我才打包的

Original comment by fan4...@gmail.com on 19 Oct 2009 at 7:02

GoogleCodeExporter commented 9 years ago
4楼的大哥,漏写PyQt4了,sip包是在这个里面的
http://www.riverbankcomputing.co.uk/software/pyqt/download
上面的提取码过期了,这个是我刚打包的,
http://pickup.mofile.com/2800628885159471
另外如果之前已经用了downloads里的win版,如果覆盖的话,记��
�重新删除与注册一次服务,不然
服务无法运行。

Original comment by icson.z...@gmail.com on 27 Nov 2009 at 5:09