P2Pool:Twisted Abort连接错误

时间:2017-11-01 22:16:11

标签: python twisted p2p mining zope.interface

我每次尝试运行python run_p2pool.py时都会遇到这个我从未遇到过的错误,我甚至尝试过-n并输入参数并且没有修复它(正如互联网建议的那样) 。我也有配置,甚至尝试重新安装python扭曲无济于事。我试图运行的代码没有错误,我还没弄明白如何解决这个问题。

com.mydomain

我之前从未遇到过这个问题,之前能够运行相同的程序,但只是包装,这里是defferal.py文件

# Twisted doesn't have abortConnection! Upgrade to a newer version of Twisted to avoid memory leaks!
> Pausing for 3 seconds...
> 2017-11-02 01:07:47.958817 > Traceback (most recent call last):
> 2017-11-02 01:07:47.958986 >   File "run_p2pool.py", line 5, in <module>
> 2017-11-02 01:07:47.959116 >     main.run()
> 2017-11-02 01:07:47.959191 >   File "/var/www/html/DashPool/DPI-MASTER/Dash-Pool-Integration/p2pool/main.py", line 687, in run
> 2017-11-02 01:07:47.959422 >     deferral.RobustLoopingCall(logfile.reopen).start(5)
> 2017-11-02 01:07:47.959490 >   File "/var/www/html/DashPool/DPI-MASTER/Dash-Pool-Integration/p2pool/util/deferral.py", line 277, in start
> 2017-11-02 01:07:47.959605 >     self._df = self._worker(period).addErrback(lambda fail: fail.trap(defer.CancelledError))
> 2017-11-02 01:07:47.959686 >   File "/var/www/html/DashPool/DPI-MASTER/Dash-Pool-Integration/p2pool/util/deferral.py", line 225, in _
> 2017-11-02 01:07:47.960104 >     df = defer.Deferred(cancelled)
> 2017-11-02 01:07:47.960195 > TypeError: __init__() takes exactly 1 argument (2 given)

0 个答案:

没有答案