LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: lonecat

CoralFTP 0.2.2 released

[复制链接]
发表于 2005-5-30 14:39:30 | 显示全部楼层
lonecat 兄好,经过我安装python CJKCodecs后,语言编码问题已经没有错误。 GtkWarning 的问题暂时不理,虽然还有出现。我看过那个spec文件和你的post-install部分,你是定义straw.schemas来安装进行注册的吗?(我对这个不懂,仅仅是猜的。。。)但我找遍你的源码包,只有coralftp.schemas存在。

另,我单独把你的post-install中脚本执行一遍,出现如下提示:
  1. I/O warning : failed to load external entity "/etc/gconf/schemas/straw.schemas"
  2. 无法打开“/etc/gconf/schemas/straw.schemas”:No such file or directory/
复制代码


如果在我已经把coralftp.schemas复制到/etc/gconf/schemas/目录后,再把脚本中的straw.schemas换为coralftp.schemas,以root执行。运行脚本时没有出现错误,但是启动coralftp后连接时,错误问题依旧。
请问是何问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-30 22:49:18 | 显示全部楼层
非常感谢!那个post-install是从straw拷过来的,大意了,忘记改了。

后面的那个问题似乎是一个bug,我会尽快给个补丁的。

Post by csyfek
lonecat 兄好,经过我安装python CJKCodecs后,语言编码问题已经没有错误。 GtkWarning 的问题暂时不理,虽然还有出现。我看过那个spec文件和你的post-install部分,你是定义straw.schemas来安装进行注册的吗?(我对这个不懂,仅仅是猜的。。。)但我找遍你的源码包,只有coralftp.schemas存在。

另,我单独把你的post-install中脚本执行一遍,出现如下提示:
  1. I/O warning : failed to load external entity "/etc/gconf/schemas/straw.schemas"
  2. 无法打开“/etc/gconf/schemas/straw.schemas”:No such file or directory/
复制代码


如果在我已经把coralftp.schemas复制到/etc/gconf/schemas/目录后,再把脚本中的straw.schemas换为coralftp.schemas,以root执行。运行脚本时没有出现错误,但是启动coralftp后连接时,错误问题依旧。
请问是何问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-31 08:52:00 | 显示全部楼层
这是针对上面问题的补丁,同时修复了一些其它的bug。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-5-31 10:18:42 | 显示全部楼层
正在测试,暂时没有发现问题~
------
测试了半小时,发现当传输的时候很容易down掉,这个问题即使我使用自己机上搭建的ftp时也存在,还不知道是什么原因。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-31 15:52:01 | 显示全部楼层
Post by csyfek
正在测试,暂时没有发现问题~
------
测试了半小时,发现当传输的时候很容易down掉,这个问题即时我使用自己机上搭建的ftp时也存在,还不知道是什么原因。。。


Thanks!

我偶尔会碰到这种问题,但最近一段时间一直用它从学校服务器上下载很大的文件,一般都比较顺利。

我已经计划重新写处理FTP协议的部分,不过最近一段时间都很忙,估计要到七月中旬之后才能有时间了。
回复 支持 反对

使用道具 举报

发表于 2005-5-31 17:11:17 | 显示全部楼层
不急不急!慢工出细货嘛~兄弟有开发的兴趣已经很难得了!希望这个项目能够一直下去!明天更美好嘛~
回复 支持 反对

使用道具 举报

发表于 2005-5-31 19:56:23 | 显示全部楼层
[ganlu@A scim]$ coralftp
Traceback (most recent call last):
  File "/usr/bin/coralftp", line 15, in ?
    f.start()
  File "/usr/lib/python2.4/site-packages/coralftp/main.py", line 92, in start
    CONFIG_PREFIX)
  File "/usr/lib/python2.4/site-packages/coralftp/config.py", line 49, in create_standard_config_from_schema_file
    dom = minidom.parse(schema_path)
  File "/usr/lib/python2.4/xml/dom/minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.4/xml/dom/expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/usr/share/gconf/schemas/coralftp.schemas'


So bad.
[ganlu@A scim]$ pacman -Qi pygtk
Name           : pygtk
Version        : 2.6.2-1
Groups         : None
Packager       : Arch Linux (http://www.archlinux.org)
URL            : http://www.daa.com.au/~james/pygtk/
License        :
Architecture   : i686
Size           : 4241631
Build Date     : Tue May 10 11:33:57 2005 UTC
Install Date   : Tue May 31 05:00:27 2005 UTC
Install Script : No
Reason:        : explicitly installed
Provides       : None
Depends On     : libglade python>=2.4
Required By    : None
Conflicts With : None
Description    : PyGTK is a set of python bindings for the GTK widget set.
[ganlu@A scim]$ pacman -Qi python
Name           : python
Version        : 2.4.1-1
Groups         : None
Packager       : Arch Linux (http://www.archlinux.org)
URL            : http://www.python.org
License        :
Architecture   : i686
Size           : 33296850
Build Date     : Tue Apr  5 18:03:11 2005 UTC
Install Date   : Thu Apr  7 02:48:26 2005 UTC
Install Script : No
Reason:        : installed as a dependency for another package
Provides       : None
Depends On     : bzip2 db gdbm openssl
Required By    : libglade namcap pygtk
Conflicts With : None
Description    : A high-level scripting language
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-31 20:41:43 | 显示全部楼层
Post by ganloo
So bad.


Thanks!

I used to put the schemas file in /usr/share/gconf/schemas, but for redhat base system, the file is put in /etc/gconf/schemas.

So, it will be ok you change the setting in /path/of/site-packages/coralftp/coralftp_globals.py

Have a try! Thanks again!
回复 支持 反对

使用道具 举报

发表于 2005-6-1 17:19:15 | 显示全部楼层
如果能作成win下 CuteFTP Pro v3.3 那样就好了
回复 支持 反对

使用道具 举报

发表于 2005-6-1 21:37:32 | 显示全部楼层
Tried (both)  without luck (the same error message). I am using Archlinux 0.7, which puts gconf under /etc and  /opt/gnome/etc/, however I suspect in Arch's way there should not be gconf under /etc, since there are only
[root@A CoralFTP-0.2.2]# ls /etc/gconf/schemas/
coralftp.schemas  stardict.schemas

Could you take a closer look for it? Thanks very much.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表