Coder Social home page Coder Social logo

russellkelly / bgpflowspecpolicymanager Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.71 MB

A Python Tkinter app that uses sFlow-RT and Exabgp to manage and program BGP Flowspec rules on edge routers

Dockerfile 1.53% Python 95.02% Makefile 0.75% Shell 0.47% Jinja 2.24%

bgpflowspecpolicymanager's People

Contributors

russell-arrcus avatar russellkelly avatar telunah avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

bgpflowspecpolicymanager's Issues

tkinter.TclError: cannot use geometry manager pack inside... slaves managed by grid

Hey Russell!

Something suddenly caused this code to break recently, maybe a python2 or tkinter change.

I commented out line 1318 and 1433, and it seems to be happy.

ActionRuleLabel.pack()

ProgrammedPolicyLabel.pack()

The traceback seen when running BGPFlowspecPolicyManager.py:

Traceback (most recent call last):
  File "FlowspecPolicyManager.py", line 3438, in <module>
    gui = FlowspecGUI(root, SflowQueue,FlowRouteQueueForQuit,FlowRouteQueue,UpdatePolicyQueue,SignalResetQueue)
  File "FlowspecPolicyManager.py", line 1194, in __init__
    self.createWidgets(BG0, BG1)
  File "FlowspecPolicyManager.py", line 1433, in createWidgets
    ProgrammedPolicyLabel.pack()
  File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1951, in pack_configure
    + self._options(cnf, kw))
_tkinter.TclError: cannot use geometry manager pack inside .140246952039200.140246952039416.140246952040064.140246952040568 which already has slaves managed by grid

Python 2.7.16
package:
Name : python2-tkinter
Version : 2.7.16
Release : 12.module_el8.1.0+219+cf9e6ac9

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.