Giter Site home page Giter Site logo

Comments (3)

ZA-gRAPHic avatar ZA-gRAPHic commented on August 12, 2024 1

Thanks for the feedback, made the suggested change and able to launch the RF Swarm GUI.

from rfswarm.

damies13 avatar damies13 commented on August 12, 2024

Firstly, Thanks for trying rfswarm out.

This is an interesting error, hopefully we can figure it out.

I was initially going to ask if you had tkinter installed, but from reading through the stack trace it's obvious you do, so I guess we need to find out which version?

from a python3.7 prompt can you run the following commands to check your tkinter version:

>>> import tkinter
>>> tkinter.TkVersion

For reference this is what I get:

DavesMBP:rfswarm dave$ python3
Python 3.7.4 (default, Jul  9 2019, 18:13:23) 
[Clang 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>> tkinter.TkVersion
8.5
>>> 

In the meantime I'll start checking if there is any known issues around this between between 8.5 and 8.6.

from rfswarm.

damies13 avatar damies13 commented on August 12, 2024

I think I found the problem
This line:
self.pln_graph.pack(fill="both", expand=True)
Is not actually needed, as the line below does the same thing and they are conflicting:
self.pln_graph.grid(column=0, row=planrow, sticky="nsew")

It didn't error for me, so I missed that, it looks like the tkinter on your machine is being more fussy, so I would still like to know which version you have.

In the meantime, can you just comment out or remove line 577 in "rfswarm.py" and see if that gets you working?

I have checked the code and it seems this is the only place I used .pack, so this should be the only line you need to change, I will also push a bugfix for this.

from rfswarm.

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.