chaeplin
Well-known member
All of them newest version.
https://github.com/forrestv/p2pool/issues/126
twistd --version
which version ?
All of them newest version.
dpkg -l python-twisted
python-twisted 10.0.0-3
Code:dpkg -l python-twisted python-twisted 10.0.0-3
try this
- sudo apt-get install python-argparse # if on Python 2.6
as stated here https://github.com/forrestv/p2pool/issues/126
try to update twistd
twistd --version
twistd (the Twisted daemon) 11.1.0
twistd --version
twistd (the Twisted daemon) 12.3.0
That says equal or above >= 10.0.0
My version is 10.1.0
The person in the link was running 8.2.0
I think its because I only have libboost1.42-all-dev and not libboost 1.48-all-dev.
That says equal or above >= 10.0.0
My version is 10.1.0
The person in the link was running 8.2.0
I think its because I only have libboost1.42-all-dev and not libboost 1.48-all-dev.
Code:dpkg -l python-twisted python-twisted 10.0.0-3
You have 10.0.0.
deferred cancellation is in 10.1.0
https://twistedmatrix.com/documents/10.0.0/api/twisted.internet.defer.Deferred.html
https://twistedmatrix.com/documents/10.1.0/api/twisted.internet.defer.Deferred.html#cancel
twistd --version
twistd (the Twisted daemon) 13.2.0
python run_darkpool.sh -help
File "run_darkpool.sh", line 4
if ps ax | grep -v grep | grep "$SERVICE" > /dev/null
^
SyntaxError: invalid syntax
~/Downloads/p2pool-drk$ sudo python run_p2pool.py -help
~/Downloads/p2pool-drk/p2pool/util/pack.py:205: Deprecation
Warning: object.__new__() takes no parameters
return Type.__new__(cls, bits, endianness)
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/endpoints.py:30: DeprecationWarning: twisted.internet.interfaces.I
StreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interfac
e has been superseded by IStreamClientEndpointStringParserWithReactor.
from twisted.internet.interfaces import (
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/_sslverify.py:119: UserWarning: Your version of pyOpenSSL, 0.10, i
s out of date. Please upgrade to at least 0.12 and install service_identity fro
m <https://pypi.python.org/pypi/service_identity>. Without the service_identity
module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudi
mentary TLS client hostnameverification. Many valid certificate/hostname mappin
gs may be rejected.
~/Downloads/p2pool-drk$
Code:~/Downloads/p2pool-drk$ sudo python run_p2pool.py -help ~/Downloads/p2pool-drk$
forrestv:
Quote from: lenny_ link=topic=18313.msg1390522#msg1390522 date=1355160498
Some incompatibility with python 2.6.6? I tried it on python 2.7.3 (VM) and and no error.
It's just a warning that is actually meaningless, since it was triggered by a bug in Python. It doesn't happen for new versions of Python because the erroneous warning was removed.
dpkg -l libreadline*
libreadline6
libreadline6-dev
Writing /tmp/easy_install-cklo10/readline-6.2.4.1/setup.cfg
Running readline-6.2.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ckl
10/readline-6.2.4.1/egg-dist-tmp-20c7b1
gcc: readline/libreadline.a: No such file or directory
gcc: readline/libhistory.a: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
Hmm by the looks of that it should just be a warning and compile fine. Regardless of using python 2.6.6.
error: Setup script exited with error: command 'gcc' failed with exit status 1[/CODE]
dpkg --get-selections | grep readline
libreadline6 install
readline-common install
[ps]$ dpkg --get-selections | grep readline
libreadline-dev install
libreadline5 install
libreadline6 install
libreadline6-dev install
libterm-readline-gnu-perl install
libterm-readline-perl-perl install
readline-common install
[ps]$
Code:[ps]$ dpkg --get-selections | grep readline libreadline-dev install libreadline5 install libreadline6 install libreadline6-dev install libterm-readline-gnu-perl install libterm-readline-perl-perl install readline-common install [ps]$
cd p2pool-drk
python run_p2pool.py --help
Waht is result ??
Code:cd p2pool-drk python run_p2pool.py --help
[]$ python run_p2pool.py --help
/p2pool-drk/p2pool/util/pack.py:205: Deprecation
Warning: object.__new__() takes no parameters
return Type.__new__(cls, bits, endianness)
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/endpoints.py:30: DeprecationWarning: twisted.internet.interfaces.I
StreamClientEndpointStringParser was deprecated in Twisted 14.0.0: This interfac
e has been superseded by IStreamClientEndpointStringParserWithReactor.
from twisted.internet.interfaces import (
/usr/local/lib/python2.6/dist-packages/Twisted-13.2.0-py2.6-linux-x86_64.egg/twi
sted/internet/_sslverify.py:119: UserWarning: Your version of pyOpenSSL, 0.10, i
s out of date. Please upgrade to at least 0.12 and install service_identity fro
m <https://pypi.python.org/pypi/service_identity>. Without the service_identity
module and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudi
mentary TLS client hostnameverification. Many valid certificate/hostname mappin
gs may be rejected.
verifyHostname, VerificationError = _selectVerifyImplementation()