Giter Club home page Giter Club logo

Comments (3)

qq995002966 avatar qq995002966 commented on July 19, 2024

I have the same kind but not the same problem,when excute ./run_add_demo_entries.bash,I get the following error:

 handlers could be found for logger "thrift.transport.TSocket"
Traceback (most recent call last):
  File "../../cli/pd_cli.py", line 677, in <module>
    main(sys.argv[1:])
  File "../../cli/pd_cli.py", line 665, in main
    pd_cli = PdCli(p4_name, thrift_client_module, thrift_server, port)
  File "../../cli/pd_cli.py", line 35, in __init__
    self._thrift_client = pd_thrift_client.ThriftClient(self._module,
thrift_server, port, self._p4_name)
  File "/home/mininet/documents/p4factory/cli/pd_thrift_client.py", line 55, in
__init__
    self.setup(hostname, port)
  File "/home/mininet/documents/p4factory/cli/pd_thrift_client.py", line 77, in
setup
    self._transport.open()
  File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TTransport.py",
line 152, in open
    return self.__trans.open()
  File "/usr/local/lib/python2.7/dist-packages/thrift/transport/TSocket.py",
line 113, in open
    raise TTransportException(TTransportException.NOT_OPEN, msg)
thrift.transport.TTransport.TTransportException: Could not connect to any of
[('127.0.0.1', 22222), ('127.0.0.1', 22222)]

Can someone please help,thk.

from p4factory.

qq995002966 avatar qq995002966 commented on July 19, 2024

I have solved the problem.If you encountered the similiar problem you could try:

sudo mn -c 
sudo killall behavioral-model 
redis-cli FLUSHALL

to clean the trash Mininet created when it crash unnormally.

from p4factory.

chenxiang2019 avatar chenxiang2019 commented on July 19, 2024

Hi, @srujanamanvi

Please execute make in this directory before starting the mininet topo.

Regards,
Chen.

from p4factory.

Related Issues (20)

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.