QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: yunfan

Eva 0.3.1 测试

[复制链接]
 楼主| 发表于 2005-8-8 12:11:00 | 显示全部楼层
[quote:dbd5a2bf7b="Yuking"]无法通过HTTP代理,信息如下(0.3.0没问题):
Got server :219.133.49.5
password key set!
EvaSocket::write -- error code: 0[/quote]

这个问题和上面你说的假登录的问题, 已经解决
多谢。
回复

使用道具 举报

发表于 2005-8-8 13:57:41 | 显示全部楼层
试试去~~先要把一些东西卸载了
回复

使用道具 举报

发表于 2005-8-8 13:59:17 | 显示全部楼层
yunfan兄,您的速度实在令人恐怖,0808还没编译完毕,0808-2又出来了。
回复

使用道具 举报

 楼主| 发表于 2005-8-8 14:02:17 | 显示全部楼层
[quote:dec5820ae7="僵尸"]yunfan兄,您的速度实在令人恐怖,0808还没编译完毕,0808-2又出来了。[/quote]

这都被你发现了 :)


大家下载这个来测试, 这是个最新bug修正版,
修正了TCP, HTTP代理登录, 登录信息存储,以及群内大图片下载的若干bug

http://www.magiclinux.org/people/yunfan/eva-0.3.1/eva-0.3.1-20050808-2.tar.bz2
回复

使用道具 举报

 楼主| 发表于 2005-8-8 14:03:59 | 显示全部楼层
忘了说了,可能运行前,需要  
rm -f ~/.eva/eva.sys
删除这一个文件就可以了。
回复

使用道具 举报

发表于 2005-8-8 14:09:10 | 显示全部楼层
yunfan兄,那个final很碍眼,干吗骗我们呢?你写个rc绝对会有人用的,写成final就令人伤心了。
回复

使用道具 举报

发表于 2005-8-8 15:33:10 | 显示全部楼层
./configure没过,不能测试了
[code:1]checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
[/code:1]
上面这个为啥?
回复

使用道具 举报

 楼主| 发表于 2005-8-8 15:39:13 | 显示全部楼层
[quote:87ce77598e="僵尸"]yunfan兄,那个final很碍眼,干吗骗我们呢?你写个rc绝对会有人用的,写成final就令人伤心了。[/quote]

当初觉得没什么问题了, 可是一测试却发现问题多多。

为了不给大家一个buggy的版本, 之好再次更正。

不好意思啊,呵呵。 我把那个final 删了好了。
回复

使用道具 举报

 楼主| 发表于 2005-8-8 15:44:24 | 显示全部楼层
[quote:f66d627bf2="ajinn"]./configure没过,不能测试了
[code:1]checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
[/code:1]
上面这个为啥?[/quote]

你装的什么系统啊?
试试
./configure --prefix=`kde-config --prefix`

如果这个不行,那你检查一下你的KDE的头文件是否安装了。
回复

使用道具 举报

发表于 2005-8-8 18:56:18 | 显示全部楼层
在FreeBSD中在一个X终端执行eva用UDP方式登录出现:
# eva
Got server :202.104.129.251
password key set!
network exception: 5
network exception -- number:5
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
并弹出对话框:
网络连接发生错误, 请检查你的网络连接或者稍后尝试重新登录Eva。
用TCP及代理均可正常登录。
回复

使用道具 举报

 楼主| 发表于 2005-8-8 19:07:45 | 显示全部楼层
[quote:5f35a2982c="哈蜜瓜"]在FreeBSD中在一个X终端执行eva用UDP方式登录出现:
# eva
Got server :202.104.129.251
password key set!
network exception: 5
network exception -- number:5
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
OutPacket->encryptBody: sessionkey not set yet, set encrypted length to 0
并弹出对话框:
网络连接发生错误, 请检查你的网络连接或者稍后尝试重新登录Eva。
用TCP及代理均可正常登录。[/quote]

就是我放出的 20050808-2 版本?
network exception: 5 的意思是:
Bug = InternalError

我在Magic Linux beta 2 上测试TCP没有问题。
我再找找看, 因为UDP方式, 我这里从来没有出过异常, 我尽量找这个问题。
多谢测试。
回复

使用道具 举报

 楼主| 发表于 2005-8-8 19:34:49 | 显示全部楼层
我上面解释的 5 是错误的。

在EvaSocket里, 重新定义了, 这个错误是 BytesReadWrong,
就是说实际读到的字节数和提示的新到字节数不同。

可否帮忙做一个测试, 请在 src/api 目录下的 evasocket.cpp 文件,
屏蔽掉 197, 199 和 200 3行
在第 196 行, 这是个空行,换成
printf("receivedLength: %d\tByteCount: %d\n", receivedLength,ByteCount);

结果就是(196到200行)
[code:1]
        printf("receivedLength: %d\tByteCount: %d\n", receivedLength,ByteCount);
        //if(receivedLength == ByteCount)
                emit receivedData(receivedLength);
        //else
                //emit exceptionEvent(BytesReadWrong);
[/code:1]

然后存盘, make && make install
运行看看,是否可行。

万分感谢。
回复

使用道具 举报

发表于 2005-8-8 20:04:31 | 显示全部楼层
(FreeBSD)刚刚测试过,可以了。
另外,在evapack.cpp中如不加入头文件:
#include <map.h>
编译会出现:
source='evapacket.cpp' object='evapacket.lo' libtool=yes  depfile='.deps/evapacket.Plo' tmpdepfile='.deps/evapacket.TPlo'  depmode=gcc3 /bin/sh ../../admin/depcomp  /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H  -I. -I. -I../..   -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O -pipe -march=pentiumpro -fno-exceptions -fno-check-new -fno-common  -c -o evapacket.lo `test -f 'evapacket.cpp' || echo './'`evapacket.cpp
evapacket.cpp: In static member function `static void Packet::setFileAgentKey(const unsigned char*)':
evapacket.cpp:167: error: `uint8_t' undeclared (first use this function)
evapacket.cpp:167: error: (Each undeclared identifier is reported only once for each function it appears in.)
evapacket.cpp:166: warning: unused variable 't'
evapacket.cpp: In member function `void InPacket::decryptBody(unsigned char*, int)':
evapacket.cpp:401: error: `uint8_t' undeclared (first use this function)
evapacket.cpp:400: warning: unused variable 't'
*** Error code 1
回复

使用道具 举报

发表于 2005-8-8 20:13:54 | 显示全部楼层
现在eva在FreeBSD下基本没什么问题了,非常感谢云帆兄的努力。
回复

使用道具 举报

 楼主| 发表于 2005-8-8 20:23:28 | 显示全部楼层
[quote:be3785bcd3="哈蜜瓜"](FreeBSD)刚刚测试过,可以了。
另外,在evapack.cpp中如不加入头文件:
#include <map.h>
编译会出现:
source='evapacket.cpp' object='evapacket.lo' libtool=yes  depfile='.deps/evapacket.Plo' tmpdepfile='.deps/evapacket.TPlo'  depmode=gcc3 /bin/sh ../../admin/depcomp  /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H  -I. -I. -I../..   -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O -pipe -march=pentiumpro -fno-exceptions -fno-check-new -fno-common  -c -o evapacket.lo `test -f 'evapacket.cpp' || echo './'`evapacket.cpp
evapacket.cpp: In static member function `static void Packet::setFileAgentKey(const unsigned char*)':
evapacket.cpp:167: error: `uint8_t' undeclared (first use this function)
evapacket.cpp:167: error: (Each undeclared identifier is reported only once for each function it appears in.)
evapacket.cpp:166: warning: unused variable 't'
evapacket.cpp: In member function `void InPacket::decryptBody(unsigned char*, int)':
evapacket.cpp:401: error: `uint8_t' undeclared (first use this function)
evapacket.cpp:400: warning: unused variable 't'
*** Error code 1[/quote]

多谢, 知道了, 解决了大问题。
不用加#include <map>
加个#include <inttypes.h> 应该就可以了。但是windows下没有这个头文件。
我全部换成unsigned char了。

感谢,感谢!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-28 05:34 , Processed in 0.095952 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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