Giter VIP home page Giter VIP logo

Comments (14)

CalvinNeo avatar CalvinNeo commented on September 23, 2024

唔,你能提供详细的一些信息吗?我明天检查一下。谢谢

from atp.

tcaac avatar tcaac commented on September 23, 2024

我的操作流程是下载代码,然后解压 ,运行make demos
image
然后运行recvfile
image
最后运行sendfile
image
有生成core文件
image
但我不太会调
image
显示的是没有那个文件和目录,但是in.dat和out.dat我已经重新单独创建了。

from atp.

CalvinNeo avatar CalvinNeo commented on September 23, 2024

你好,我注意到你是单独运行的sendfile和recvfile两个binary,在这种情况下你应该需要附加一些参数,例如./sendfile -iin.dat./recvfile -oout.dat。你可以检查test/run_test.py下的一些demo,你还可以在test文件夹对应的cpp文件中看到所有的参数。
此外推荐你先make run_test看一下是否还会core。

from atp.

tcaac avatar tcaac commented on September 23, 2024

您好,我尝试了一下加入参数 还是会报错一样的问题。
对于 make run_test 会出现以下问题
image
我想到一点 关于send 和 recv 的运行是正常的,不知道对您有没有帮助。
实在抱歉,对于这方面不太懂,可能很简单的问题都没有思路来解决,不好意思。

from atp.

CalvinNeo avatar CalvinNeo commented on September 23, 2024

你这个是Python3……我的脚本是Python2

from atp.

tcaac avatar tcaac commented on September 23, 2024

我也发现这个问题了....我在更改 是否还有问题我会回复您的

from atp.

CalvinNeo avatar CalvinNeo commented on September 23, 2024

对了,我看你在bin里面跑sendfile,我建议你在根下面跑,因为in是生成在根下面的

from atp.

tcaac avatar tcaac commented on September 23, 2024

已经全部尝试了一遍,系统改为python2.7了 在根目录下跑的 还是一样的问题。
image

from atp.

tcaac avatar tcaac commented on September 23, 2024

对了 跑到make run test时候有这样的错误
image

from atp.

tcaac avatar tcaac commented on September 23, 2024

我查了一下 , 好像这个错误和之后的错误关系不大 ......

from atp.

CalvinNeo avatar CalvinNeo commented on September 23, 2024

你好,Broken pipe的话我记得出现场景较多的情况是没有找到对应的可执行文件。你check一下有没有生成对应的binary
此外,我刚才在Ubuntu 16.04测试了一下是没有问题的。我的命令行是(全部在根目录下)

make
python test/makedata.py # 这一步是为了生成in.dat
./bin/recvfile -oout.dat
./bin/sendfile -iin.dat # 你需要在另一个中断窗口执行

from atp.

tcaac avatar tcaac commented on September 23, 2024

我这边还是不行 那我再调试吧

from atp.

CalvinNeo avatar CalvinNeo commented on September 23, 2024

好吧,要是你方便的话可以把你的整个环境打包给[email protected],我有空研究下

from atp.

tcaac avatar tcaac commented on September 23, 2024

嗯嗯 有时间的话我研究一下怎么打包

from atp.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.