Skip to content

TypeError in Global Error Trapper #1011

Closed

Description

@ClaudioLefante

User Description

Type what you were trying to do here...

Version

10.0.1 - August 17, 2024

Error Title

TypeError

Error Message

Cannot read properties of undefined (reading 'track')

Activity

  1. self-assigned this
    on Mar 18, 2025
  2. thkruz commented on Mar 18, 2025

    @thkruz
    Owner

    This was likely from the github page code that is no longer up-to-date. I will be updating the readme tonight, but try using the latest code from the main branch.

  3. ClaudioLefante commented on Mar 18, 2025

    @ClaudioLefante
    Author
  4. thkruz commented on Mar 31, 2025

    @thkruz
    Owner

    Claudio, sorry I didn't see this message when you posted it.

    There isn't a direct way to link gpredict and KeepTrack together but both are using TLEs/GPs from Celestrak so that should be all you need to keep them synced. If they are both using the same orbital data they will show the same positions at a given time.

    Given that gpredict has not been actively maintained in some time, perhaps you can point out which features you would like me to port directly into KeepTrack. The majority of what I can see in the screenshots is already included in KeepTrack.

    As for a guide to run it locally, I will toss that on my to-do list for tomorrow morning before work. Expect it before the end of the day tomorrow.

  5. thkruz commented on Mar 31, 2025

    @thkruz
    Owner

    I have uploaded a more detailed tutorial on setting up KeepTrack locally: https://keeptrack.space/resources/getting-keeptrack-running-locally/

    After looking at gpredict's code I think the issue you are running into is that they only have a small subsect of the catalog and you want more of the TLEs that KeepTrack has?

    It looks like you can modify gpredict/src/sat-cfg.c to add https://r2.keeptrack.space/celestrak-catalog-latest.txt

    {"TLE", "SERVER", "https://r2.keeptrack.space/"},
    {"TLE", "FILES", "celestrak-catalog-latest.txt"},
    {"TLE", "PROXY", NULL},
    {"TLE", "URLS",
    "https://r2.keeptrack.space/celestrak-catalog-latest.txt"},

    Obviously I don't develop gpredict and have never used it, so there may be more reasons why that won't work, but it appears to be what you are looking for.

    Let me know if that works, and my offer stands that if you can explain what features you feel are missing I am happy to get them added. Good luck!

  6. Repository owner locked and limited conversation to collaborators on Mar 31, 2025
  7. converted this issue into a discussion #1039 on Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions