Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding point to track raises error #139

Open
PyMarc2 opened this issue Aug 19, 2024 · 1 comment
Open

Adding point to track raises error #139

PyMarc2 opened this issue Aug 19, 2024 · 1 comment

Comments

@PyMarc2
Copy link
Contributor

PyMarc2 commented Aug 19, 2024

When trying to add points using either the right click or the dedicated add button, a TypeError is raised.

Traceback (most recent call last):
  File "/Users/marcandrevigneault/Documents/GitHub/gweatherrouting/gweatherrouting/gtk/chartstack_track.py", line 127, in onTrackItemClick
    if event.button == 3 and len(self.core.trackManager.getActive()) > 0:
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()

OS: MACOS 14.5

@dakk
Copy link
Owner

dakk commented Aug 21, 2024

Can you better describe the way to reproduce the problem? Starting from a clean .gweatherrouting directory what are the sequence of actions you performed to achieve this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants