New install / Gpredict 2.2.1 / Transponder Data


#1

Greetings,

I just installed Gpredict for windows. Thank you for a Windows release!

I have done: Toolbar, Edit, Update transponder data.
A dialog opens and the progress bar fills and finished is the posted. It doesn’t really spend anytime doing this but I do have a fast PC and a fast internet connection.

Currently, it is unclear what “Update transponder data” does. I thought it might grab the various frequencies from a satellite of interest.

Is there a file I can create, edit, etc. for adding the frequency data?

Thank you!

Best regards,
Fred N7FMH


#2

It’s a crowd-sourced database, so data is only available if the satellite is in the SatNOGS database and somebody has submitted data for it: https://db.satnogs.org/

You can create local files, but there is no easy GUI editor included.


#3

Thank you for your response!

I only have a few of basic amateur satellites (e.g., SO-50) that have been around for a while. Opening the link you posted of the DB shows 4 transmitters for SO-50. I have none in Gpredict even after Updating transponder data.

I would be happy to download the database outside of Gpredict if I first knew where to get it, a second, I knew where to store it.

I am experiencing the same experiencing the same on two different PCs, on two very different networks. The only connection from one to the other is TeamViewer.

Thanks!


#4

I found the trsb directory and the only files in it were modes.json and transmitters.json. A friend sent me his directory contents and when I pasted it in, I have frequencies and modes for each satellite present. It isn’t really a fix but I can run with it.

Thanks!

Best regards,
Fred N7FMH


#5

Hmmm, perhaps the download does not work for you for some reason.


#6

It doesn’t work on two different PCs, in two different states (Massachusetts and New Hampshire), two completely different networks. Only similarity is windows (1 is Win7 and the other Win10).

I turned off my firewall, virus protection, etc., and it didn’t make any difference. It only downloads modes.json and transmitters.json. Maybe the link to the database changed?

In the meantime, I was attempting to do something like: “wget https://db.satnogs.org/myapikey/satellites/27607
No luck there! I didn’t really expect it. It would have been luck if it worked. :slight_smile:

Best regards,
Fred N7FMH


#7

Do I need an application for “executing” the .json files?

Thanks!
Best regards,
Fred N7FMH


#8

cruelshoes try checking what it says under log browser for an error.

I have been using 2.2.1 for a while on my windows 10. And it seems fine.


#9

Cut and pasted log file after a fresh start.

Start up start:
2018/06/26 18:16:42|3|sat_log_init: Session started
2018/06/26 18:16:42|4|sat_cfg_load: Everything OK.

I updated the TLEs. Apparently, there are two files with the same satellites. Best guess anyway.
2018/06/26 18:20:31|2|…/src/tle-update.c:read_fresh_tle: Two different statuses for 25338 (NOAA-15) at the same time.
2018/06/26 18:20:31|2|…/src/tle-update.c:read_fresh_tle: Two different statuses for 28654 (NOAA-18) at the same time.
2018/06/26 18:20:31|2|…/src/tle-update.c:read_fresh_tle: Two different statuses for 33591 (NOAA-19) at the same time.
2018/06/26 18:20:31|2|…/src/tle-update.c:read_fresh_tle: Two different statuses for 37849 (SUOMI NPP) at the same time.
2018/06/26 18:20:31|2|…/src/tle-update.c:read_fresh_tle: Two different statuses for 43013 (NOAA 20) at the same time.

Started Radio Control, was on AO-73, then switched to SO-50:
2018/06/26 18:20:47|1|…/src/trsp-conf.c: Error reading C:\SPB_Data\Gpredict\trsp\39444.trsp: No such file or directory
2018/06/26 18:20:52|1|…/src/trsp-conf.c: Error reading C:\SPB_Data\Gpredict\trsp\27607.trsp: No such file or directory

And if I looked at other satellites, no doubt the same error would exist for each one. Files are not present.

This Windows 10 machine is brand new and it is a screamer. I do 3D modelling and PCBs on it across two big monitors.

The Windows 7 is older and at home.

Thanks!

Best regards,
Fred N7FMH


#10

Odd mine does the same thing. (For the start) bit mine has all the other stuff.

Have you ran updated Sateliitles or what ever? (Other update)


#11

It seems the problem isn’t new. It occurred early last year too but it appears to be Linux builds at that time.
https://github.com/csete/gpredict/issues/39


https://community.libre.space/t/help-needed-gpredict-integration-with-satnogs-db/687/43

Now I am curious if this Windows build has older code or something from the past was re-introduced. But that seems almost unlikely since others have the Windows version and they get data. My friend that supplied some transponder files has a Windows version that works while his Linux version doesn’t. Though, I believe his Linux version is older.

Best regards,
Fred N7FMH


#12

I was looking at what might be a true transmitters.json in the preivous post and it struck me that mine is not similar. The content of my transmitters.json follows.

Thanks!
Fred N7FMH

<!DOCTYPE html>
<html lang="en" ng-app>
  <head>
    <meta charset="utf-8">
    <title>SatNOGS DB - Server Error</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
      <link rel="stylesheet" href="/static/lib/bootstrap/dist/css/bootstrap.min.css">
      <link rel="stylesheet" href="/static/css/app.css">
      
    

    <link rel="shortcut icon" href="/static/favicon.ico">

  </head>

  <body>
    

    <div class="container">
      <nav class="navbar navbar-default" role="navigation" id="main-navbar">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/">
              <img id="navbar-logo" src="/static/img/satnogs_db.png" alt="SatNOGS net">
            </a>
          </div>

          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li class="None"><a href="/">Home</a></li>
              <li class="None"><a href="/about/">About</a></li>
              <li class="None"><a href="/stats/">Statistics</a></li>
              <li class="None"><a href="/faq/">FAQ</a></li>
              <li><a href="https://community.libre.space/c/satnogs/" target="_blank">Community</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
              
                <li><a href="/accounts/signup/">Sign Up</a></li>
                <li><a href="/accounts/login/">Log In</a></li>
              
            </ul>
          </div>
        </div>
      </nav>
    </div>

    <div class="container">

      

      

      
<div class="error">
  <h1>500</h1>

  <h3>Server Error</h3>

  <p>
    We track these errors automatically, but if the problem persists feel free to contact us.
    In the meantime, try refreshing. Head back to <a href="/">homepage</a>.
  </p>

  <p><img src="/static/img/error.png"></p>

</div>


    </div>

    <footer>
      <div class="container">
        <hr>
        <div class="row">
          <div class="col-md-6">
            <span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span> 2014<span id="copy"></span>
            <a href="http://librespacefoundation.org/" target="_blank">Libre Space Foundation</a>.<br>
            <span class="glyphicon glyphicon-cloud" aria-hidden="true"></span>
            Transmitter data are freely distributed under the
            <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">CC BY-SA</a> license.
          </div>
          <div class="col-md-6 text-right footer-options">
            <a href="https://satnogs.org/" target="_blank">SatNOGS</a> |
            <a href="#top">Back to top</a>
          </div>
        </div>
      </div>
    </footer>

    
      <script src="/static/lib/jquery/dist/jquery.min.js"></script>
      <script src="/static/lib/bootstrap/dist/js/bootstrap.min.js"></script>
      <script src="/static/js/app.js"></script>
      
      

<script src="/static/lib/dnt-helper/js/dnt-helper.js"></script>
<script src="/static/js/ga.js"></script>

    
</body>
</html>

#13

This is the response you get when something goes wrong with the db.satnogs.org. I’m getting the same error in my gpredict… I’ll take a look and I’ll try to debug it.


#14

@cruelshoes The issue is now fixed.

The problem was coming from recently added transmitters of IRVINE-01 satellite (not yet launched). For some reason there were duplicate entries that lack the satellite field and they causing the error. Still checking why we had those duplicates, anyway I’ve removed the duplicates and now works fine.

Please confirm that now you get the right content when you update frequencies in Gpredict.

Thanks for reporting this issue!


#15

@fredy, I must of checked while you were reporting it fixed. I immediately came back here and you had just posted! Cool timing! As far as I can tell, everything is back to normal. Thank you for your help!

@csete, Gpredict didn’t create an error for getting a page of html rather than json stuff. It might be useful if the Update transponder dialog indicated a failure. Thank you for at least considering this! :grin:

This is really an awesome combination of efforts and I am thankful for everyone involved!

Best regards,
Fred N7FMH


#16

Sort of odd how my gpredict had no problem this whole time even when I updated transmitters before I first posted.


#17

It’s an experimental feature that will be improved in the future. In fact, all functions that use network will probably be updated to something newer.


#18

I was starting from a blank page. I had no transponder data. When I received the files from a friend and then it appeared to look like it worked. Actually what worked was Gpredict. It read the files and all looked good. It just couldn’t refresh them. Removing the files or most of them reaffirmed something was broken.

If it had worked for you in the past, then you already had transponder files. You would have likely never noticed, unless, there was a satellite update you were specifically interested in. For example, let’s say the ISS frequency moved up 10MHz, and you were specifically looking for that change then you would have noticed the data wasn’t updated.

If Gpredict just deleted everything first assuming new data would be available, then it would have been obvious sooner, and to more people I assume. Of course, this is not a recommendation.

Best regards,
Fred N7FMH


#19

HI,

There’s no duplicate check in the code as far as I know…
Will we fix it on the satnogs-db side or in the gpredict side ?

Baris DINC
73’s de TA7W


#20

Curious what you mean by “duplicate”. Are you referring to a satellite listed in two different TLEs?

If so, it seems there is no problem when importing into Gpredict. The only thing I would recommend would be to use the latest if duplicates are found.

Best regards,
Fred N7FMH