Wrong URL in online search to import minor planets in Solar System plugin

Bug #725870 reported by Sukrit Ranjan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Bogdan Marinov

Bug Description

Hello,

The Solar System plugin has an option to import orbital elements for minor planets by searching for them.
(Stellarium->Configuration Window->Plugins->Solar System Editor->Configure->Solar System->Import orbital elements in MPC format->Online Search).

This tool is currently not working. You can't even search for the provided example (Halley); it throws an error.

It looks like this tool queries the page http://scully.cfa.harvard.edu/~cgi/MPEph2. However, I think the valid search page is actually http://scully.cfa.harvard.edu/cgi-bin/mpeph2.cgi.

I think this should be a relatively quick fix...

Let me know.

Sukrit

--
Log File:

2011-02-26T23:08:50
Mac OS X 10.6
Compiled with GCC 4.0.1
Qt runtime version: 4.7.0
Qt compilation version: 4.7.0
Addressing mode: 32-bit
You look like a Mac user. How would you like to write some system info code here? That would help a lot.
/Applications/Stellarium.app/Contents/MacOS/stellarium
 -------------------------------------------------------
[ This is Stellarium 0.10.6 - http://www.stellarium.org ]
[ Copyright (C) 2000-2010 Fabien Chereau et al ]
 -------------------------------------------------------
Writing log file to: "/Users/sukrit/Library/Application Support/Stellarium/log.txt"
File search paths:
  0 . "/Users/sukrit/Library/Application Support/Stellarium"
  1 . "/Applications/Stellarium.app/Contents/Resources"
Config file is: "/Users/sukrit/Library/Application Support/Stellarium/config.ini"
OpenGL supported version: "2.1 NVIDIA-1.6.26"
Qt GL paint engine is: "OpenGL2"
Cache directory is: "/Users/sukrit/Library/Caches/stellarium/stellarium"
Sky language is "C"
Application language is "C"
Loading Solar System data ...
Loaded 7601 / 7601 planet orbits from "/Users/sukrit/Library/Application Support/Stellarium/data/ssystem.ini"
Loading star data ...
"Loading "/Applications/Stellarium.app/Contents/Resources/stars/default/stars_0_0v0_1.cat": 0_0v0_1; 5013"
"Loading "/Applications/Stellarium.app/Contents/Resources/stars/default/stars_1_0v0_1.cat": 1_0v0_1; 21999"
"Loading "/Applications/Stellarium.app/Contents/Resources/stars/default/stars_2_0v0_1.cat": 2_0v0_1; 151416"
"Loading "/Applications/Stellarium.app/Contents/Resources/stars/default/stars_3_1v0_0.cat": 3_1v0_0; 434064"
"Loading "/Users/sukrit/Library/Application Support/Stellarium/stars/default/stars_4_1v0_0.cat": 4_1v0_0; 1725497"
"Loading "/Users/sukrit/Library/Application Support/Stellarium/stars/default/stars_5_2v0_0.cat": 5_2v0_0; 7669011"
"Loading "/Users/sukrit/Library/Application Support/Stellarium/stars/default/stars_6_2v0_0.cat": 6_2v0_0; 26615233"
Finished loading star catalogue data, max_geodesic_level: 6
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
Loaded 10051 NGC records
Loading NGC name data ...
Loaded 222 / 222 NGC name records successfully
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Loading star names from "/Applications/Stellarium.app/Contents/Resources/skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "/Applications/Stellarium.app/Contents/Resources/stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Creating GUI ...
Loaded plugin "Oculars" .
Ocular plugin - press Command-O to toggle eyepiece view mode. Press ALT-o for configuration.
Oculars::validateIniFile ocular.ini exists at: "/Users/sukrit/Library/Application Support/Stellarium/modules/Oculars/ocular.ini" . Checking version...
Oculars::validateIniFile found existing ini file version 2
Loaded plugin "Satellites" .
Satellites::getJsonFileVersion() version from file: "0.6.4"
Satellites::init using satellite.json file: "/Users/sukrit/Library/Application Support/Stellarium/modules/Satellites/satellites.json"
Loaded plugin "SolarSystemEditor" .
Using the ssystem.ini file that already exists in the user directory...
Loaded plugin "TimeZoneConfiguration" .
Download error: While trying to access "http://scully.cfa.harvard.edu/~cgi/MPEph2" the following error occured: "Error downloading http://scully.cfa.harvard.edu/~cgi/MPEph2 - server replied: Not Found"

Related branches

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

I'm aware of the bug. The MPC changed the "scully" server in the beginning of the year, breaking the URL because the new server uses different server software. The URL has been corrected in the development code, so if you download a test build from here, it will work:
https://launchpad.net/stellarium/+download
(look for stellarium-bzr4867-macosx-universal.dmg)

Meanwhile, I need to implement a long-term solution:
https://blueprints.launchpad.net/stellarium/+spec/mpes-redirect
So I'll close this bug report when I do it.

Changed in stellarium:
assignee: nobody → Bogdan Marinov (daggerstab)
importance: Undecided → Medium
milestone: none → 1.0.0
status: New → Confirmed
Revision history for this message
Sukrit Ranjan (esukrit) wrote : Re: [Bug 725870] Re: Wrong URL in online search to import minor planets in Solar System plugin
Download full text (6.0 KiB)

Awesome, thanks. I downloaded the test build. It seems to be working, but
seems a tad slower than the earlier build I had.

Is the jumping around of dim objects when highly zoomed a simulation of
atmospheric effects?

On Sun, Feb 27, 2011 at 3:41 AM, Bogdan Marinov <email address hidden>wrote:

> I'm aware of the bug. The MPC changed the "scully" server in the beginning
> of the year, breaking the URL because the new server uses different server
> software. The URL has been corrected in the development code, so if you
> download a test build from here, it will work:
> https://launchpad.net/stellarium/+download
> (look for stellarium-bzr4867-macosx-universal.dmg)
>
> Meanwhile, I need to implement a long-term solution:
> https://blueprints.launchpad.net/stellarium/+spec/mpes-redirect
> So I'll close this bug report when I do it.
>
> ** Changed in: stellarium
> Importance: Undecided => Medium
>
> ** Changed in: stellarium
> Status: New => Confirmed
>
> ** Changed in: stellarium
> Milestone: None => 1.0.0
>
> ** Changed in: stellarium
> Assignee: (unassigned) => Bogdan Marinov (daggerstab)
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/725870
>
> Title:
> Wrong URL in online search to import minor planets in Solar System
> plugin
>
> Status in Stellarium:
> Confirmed
>
> Bug description:
> Hello,
>
> The Solar System plugin has an option to import orbital elements for minor
> planets by searching for them.
> (Stellarium->Configuration Window->Plugins->Solar System
> Editor->Configure->Solar System->Import orbital elements in MPC
> format->Online Search).
>
> This tool is currently not working. You can't even search for the
> provided example (Halley); it throws an error.
>
> It looks like this tool queries the page
> http://scully.cfa.harvard.edu/~cgi/MPEph2. However, I think the valid
> search page is actually http://scully.cfa.harvard.edu/cgi-
> bin/mpeph2.cgi.
>
> I think this should be a relatively quick fix...
>
> Let me know.
>
> Sukrit
>
> --
> Log File:
>
> 2011-02-26T23:08:50
> Mac OS X 10.6
> Compiled with GCC 4.0.1
> Qt runtime version: 4.7.0
> Qt compilation version: 4.7.0
> Addressing mode: 32-bit
> You look like a Mac user. How would you like to write some system info
> code here? That would help a lot.
> /Applications/Stellarium.app/Contents/MacOS/stellarium
> -------------------------------------------------------
> [ This is Stellarium 0.10.6 - http://www.stellarium.org ]
> [ Copyright (C) 2000-2010 Fabien Chereau et al ]
> -------------------------------------------------------
> Writing log file to: "/Users/sukrit/Library/Application
> Support/Stellarium/log.txt"
> File search paths:
> 0 . "/Users/sukrit/Library/Application Support/Stellarium"
> 1 . "/Applications/Stellarium.app/Contents/Resources"
> Config file is: "/Users/sukrit/Library/Application
> Support/Stellarium/config.ini"
> OpenGL supported version: "2.1 NVIDIA-1.6.26"
> Qt GL paint engine is: "OpenGL2"
> Cache directory is: "/Users/sukrit/Library/Caches/stellarium/stellarium"
> Sky language is "C"
> Application...

Read more...

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

As far as I know, no such atmospheric effect is simulated, so it's most probably a minor bug. I think it's caused by rounding error.

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

Bogdan, maybe save URL in config file?

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

See the Blueprint (link to the right). I'm going to make an HTTP redirect via the stellarium.org website, but I was waiting for the site management issues to be fixed.

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

I have committed a simple HTTP redirect in trunk revision 4900:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/4900

This works, but it may need some more work (e.g. multiple connection attempts if the connection to the website fails).

Revision history for this message
Bogdan Marinov (daggerstab) wrote :
Changed in stellarium:
status: Confirmed → In Progress
Changed in stellarium:
milestone: 1.0.0 → 0.11.0
Changed in stellarium:
milestone: 0.11.0 → 0.11.1
Changed in stellarium:
milestone: 0.11.1 → 0.11.2
Changed in stellarium:
status: In Progress → Fix Committed
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

Remote bug watches

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