Erro incomum ao executar “rce-container localhost” no Ubuntu

0

Estou executando um comando "rce-container localhost" no Ubuntu recebendo o erro

"AttributeError: 'NoneType' object has no attribute 'throw_exception'" Something to do about import iptc. Output
Traceback (most recent call last): File "/usr/local/bin/rce-container", line 4, in import('pkg_resources').run_script('rce-core==0.3', 'rce-container')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 750, in run_script self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1527, in run_script exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/rce_core-0.3-py2.7.egg/EGG-INFO/scripts/rce-container", line 52, in from rce.container import main File "/usr/local/lib/python2.7/dist-packages/rce_core-0.3-py2.7.egg/rce/container.py", line 51, in
import iptc File "build/bdist.linux-i686/egg/iptc/initenter code here.py", line 10, in File "build/bdist.linux-i686/egg/iptc/ip4tc.py", line 13, in File "build/bdist.linux-i686/egg/iptc/xtables.py", line 817, in AttributeError: 'NoneType' object has no attribute 'throw_exception'

Qual é o motivo, como resolvê-lo?

    
por Ruhl 19.12.2017 / 14:30

0 respostas