"update from files" adds no new satellites to satellites.json

Bug #1260539 reported by Paul Gilmartin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Bogdan Marinov

Bug Description

This is a wish rather than a bug.

Celestrak has an appeal out for users to use less bandwidth. Suppose I
have several accounts. (I have, all belonging to one human being.) I can
download all the TLE files with a shell script using Curl. Then I can
update satellites.json from the concatenation of those files.

It's cumbersome -- I need to navigate to the TLE file each time I want
to update satellites.json. I'd like the path to that TLE file to be kept in
config.ini, and loaded each time I start Stellarium. No extra work for
the user, and less bandwidth load for Celestrak. Might this be done?

Another motive I have is that because of firewalls/proxies (is Stellarium
proxy-savvy?) I can't access all my sources at the same time. But I can
script the process so that if any source can't be reached it simply
retains the former file rather than deleting all satellites from the
unreachable source.

Thanks,
Paul Gilmartin

(more)
It appears that when I select "update from files", it updates existing
entries in satellites.json (I can tell -- timestamps in TLEs change),
but it does not add any new entries from my selected TLE file, even
though I have checked "On update, add all new satellites from the
selected sources."

I can reproduce this problem by copying in the original satellites.json;
editing it down to just a couple entries, and doing "update from files".
Those entries I left are updated; no new entries are added.

I'll consider this a bug.

Thanks,
Paul Gilmartin

Tags: satellites

Related branches

Revision history for this message
Paul Gilmartin (paulgboulder) wrote :
Revision history for this message
Paul Gilmartin (paulgboulder) wrote :

(note that it says):

Satellites: update finished. 2 / 2 updated, 0 added, 0 missing or removed. 911 source entries parsed.

... 911 source entries, but none added.
Thanks,
gil

Revision history for this message
Alexander Wolf (alexwolf) wrote :

First, why you do not use proxy settings in the config file?
Second, you can edit TLE sources via text editor or GUI of the Satellites plugin and you can use file:// proto.

Changed in stellarium:
assignee: nobody → Bogdan Marinov (daggerstab)
Revision history for this message
Paul Gilmartin (paulgboulder) wrote :

Thanks.

Proxles: I find no instructions on using proxies. But it's pretty hard to
    find current stuff in the Users Guide or in the wiki.

    And, the proxies I need to use depend on
    o What server I'm connecting to
    o What access point I'm connecting through.

file:/// URL: That works! Thanks!
    I thought I had tried that a few months ago with no success. Perhaps I
    made a typo. And finding no examples in the doc, I assumed it wasn't
    supported. This time, I first navigated to the file with a browser; copied
    the URL, and pasted it into the configuration dialog.

I'll try to add this information to a FAQ. Perhaps it should appear in the
"About" page of the Satellites plugin.

Disabling Internet update and using the file open dialog remains a trap;
it could be improved.

Thanks again,
gil

Revision history for this message
Alexander Wolf (alexwolf) wrote :

About proxy - you can find parameters in the "Configuration file" chapter of Stellarium User Guide - http://www.stellarium.org/wiki/index.php/Configuration_file#Section_.5Bproxy.5D

tags: added: satellites
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

The "update from files" issue was offensively easy to fix - I had been clever enough to create the necessary infrastructure, but I've forgotten to add the last step - passing an additional flag in a function call in a piece of the old code.

I think I'm going to add separate buttons for "internet updates" and "file updates" in the next minor version of the plug-in.

Changed in stellarium:
milestone: none → 0.13.0
status: New → In Progress
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

A fix has been committed as revision 6621 of the trunk branch of Stellarium's Bazaar repository at Launchpad:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/6621

Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
importance: Undecided → Medium
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.