Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.81k stars 825 forks source link

Cannot update catalog 5 of 9 in Stellarium 0.18.2 #260

Closed albeltrang73 closed 6 years ago

albeltrang73 commented 6 years ago

Hi

I just upgrded today to Stellarium 0.18.2. When I ask the software to "Get the catalog 5 of 9" nothing happens and after a few seconds the button is again available.

I tried several times to get the catalog and always had the same situation.

Hope this can be fixed.

Regards,

Alfredo Beltrán

alex-w commented 6 years ago

Please attach log from Stellarium after fail of downloading catalog.

gzotti commented 6 years ago

I must confirm. (Win10)

To reproduce, rename the stars/default folder in the user data directory. Then press the star download button.

Downloading file "https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat"
Found file  "C:\\Users\\Georg\\AppData\\Roaming\\Stellarium\\stars\\default\\stars_4_1v0_2.cat" , checking md5sum..
Error: File  "stars\\default\\stars_4_1v0_2.cat"  is corrupt, MD5 mismatch! Found  "d41d8cd98f00b204e9800998ecf8427e"  expected  "ac67dc390f9d414d61b1db76a5b820e9"

The file stars\default\stars_4_1v0_2.cat then appears to be deleted. The old file in the renamed directory has the correct MD5 checksum (ac67...).

gzotti commented 6 years ago

Actually the bad checksum is that of an empty file! It seems download attempt just stops after some initial timeout. No further info in the logfile.

alex-w commented 6 years ago

Cannot confirm on Linux!

gzotti commented 6 years ago

Can this still be an SSL issue? I have installed the basic libraries, there are no more error messages concerning this in the logfile. Sorry, no more time for this today.

albeltrang73 commented 6 years ago

By all means. Attached you'll find the log file.

It says something about the file being corrupted:

Downloading file "https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat" Found file "C:\Users\Alfredo\AppData\Roaming\Stellarium\stars\default\stars_4_1v0_2.cat http://stars_4_1v0_2.cat" , checking md5sum.. Error: File "stars\default\stars_4_1v0_2.cat http://stars_4_1v0_2.cat" is corrupt, MD5 mismatch! Found "d41d8cd98f00b204e9800998ecf8427e" expected "ac67dc390f9d414d61b1db76a5b820e9"

Regards,

Alfredo

On Sun, Aug 19, 2018 at 12:07 AM Alexander Wolf notifications@github.com wrote:

Please attach log from Stellarium after fail of downloading catalog.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Stellarium/stellarium/issues/260#issuecomment-414103889, or mute the thread https://github.com/notifications/unsubscribe-auth/AoiSKuj63TD6HICbk9j_4TnIjVO39-gPks5uSPKDgaJpZM4WCye0 .

2018-08-19T11:03:55 Operating System: Windows 10 Product Name: Windows 10 (10.0) Compiled using MSVC++ 14.0 (Visual Studio 2015) Qt runtime version: 5.9.5 Qt compilation version: 5.9.5 Addressing mode: 64-bit Total physical memory: 7988 MB Available physical memory: 6303 MB Physical memory in use: 21% Processor speed: 2527 MHz Processor name: Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz Processor speed: 2527 MHz Processor name: Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz Processor speed: 2527 MHz Processor name: Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz Processor speed: 2527 MHz Processor name: Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz C:\Program Files\Stellarium\stellarium.exe

[ This is Stellarium 0.18.2 - http://www.stellarium.org ] [ Copyright (C) 2000-2018 Fabien Chereau et al. ]

Writing log file to: "C:\Users\Alfredo\AppData\Roaming\Stellarium\log.txt" File search paths: 0 . "C:\Users\Alfredo\AppData\Roaming\Stellarium" 1 . "." Config file is: "C:\Users\Alfredo\AppData\Roaming\Stellarium\config.ini" Default surface format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) Desired surface format: QSurfaceFormat(version 2.1, options QFlags(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) StelGLWidget constructor StelGraphicsScene constructor initializeGL OpenGL supported version: "OpenGL ES 2.0 (ANGLE 2.1.0.8613f4946861)" Current Format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) StelMainView::init Detected: OpenGL ES "2.0" Driver version string: "OpenGL ES 2.0 (ANGLE 2.1.0.8613f4946861)" GL vendor is "Google Inc." GL renderer is "ANGLE (Intel(R) HD Graphics Direct3D11 vs_4_0 ps_4_0)" GL Shading Language version is "OpenGL ES GLSL ES 1.00 (ANGLE 2.1.0.8613f4946861)" VS Version Number detected: 4 PS Version Number detected: 4 vs/ps version is fine, we should not see a graphics problem. GLSL ES Version Number detected: 1 GLSL ES version is fine, we should not see a graphics problem. Cache directory is: "C:\Users\Alfredo\AppData\Local\stellarium\stellarium\cache" StelLocation::createFromLine(): TimeZone name for "Casa Arrayanes Bogotá" not found. Translating "" to "UTC" Sky language is "es_CO" Planetary features language is "es_CO" Application language is "es_CO" Loading Solar System data (1: planets and moons) ... Loading from : "./data/ssystem_major.ini" Loaded 77 Solar System bodies Loading Solar System data (2: minor bodies)... Loading from : "C:\Users\Alfredo\AppData\Roaming\Stellarium/data/ssystem_minor.ini" Loaded 102 Solar System bodies File ssystem_minor.ini is loaded successfully... Loading nomenclature for Solar system bodies ... Loaded 15505 / 15510 items of planetary surface nomenclature Loading star data ... "Loading .\stars\default\stars_0_0v0_7.cat: 0_0v0_7; 4979" "Loading .\stars\default\stars_1_0v0_7.cat: 1_0v0_7; 21806" "Loading .\stars\default\stars_2_0v0_7.cat: 2_0v0_7; 150850" "Loading .\stars\default\stars_3_1v0_4.cat: 3_1v0_4; 425807" "Loading C:\Users\Alfredo\AppData\Roaming\Stellarium\stars\default\stars_5_2v0_1.cat: 5_2v0_1; 7083058" "Loading C:\Users\Alfredo\AppData\Roaming\Stellarium\stars\default\stars_6_2v0_1.cat: 6_2v0_1; 24670782" "Loading C:\Users\Alfredo\AppData\Roaming\Stellarium\stars\default\stars_7_2v0_1.cat: 7_2v0_1; 50733321" "Loading C:\Users\Alfredo\AppData\Roaming\Stellarium\stars\default\stars_8_2v0_1.cat: 8_2v0_1; 92304337" Finished loading star catalogue data, max_geodesic_level: 7 Loading scientific star names from ".\stars\default\name.fab" Loaded 4506 / 4506 scientific star names Loading variable stars from ".\stars\default\gcvs_hip_part.dat" Loaded 6916 / 6916 variable stars Loading double stars from ".\stars\default\wds_hip_part.dat" Loaded 16412 / 16412 double stars Loading cross-identification data from ".\stars\default\cross-id.dat" Loaded 108338 / 108338 cross-identification data records for stars navigation/preset_sky_time is a double - treating as jday: "2451514.25001" libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Loading DSO data ... [...] "Stellarium DSO Catalog, version 3.6 (standard edition)" Loaded 94077 DSO records Loading DSO outline data ... Loaded 63 DSO outline records successfully LandscapeMgr: initialized Cache for 100 MB. libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Loading star names from ".\skycultures\western\star_names.fab" Loaded 860 / 860 common star names Loading DSO name data ... Loaded 1041 / 1055 DSO name records successfully WARNING - No position data for 14 objects: "PGC 2906, PGC 2907, PGC 23521, PGC 28759, PGC 29167, PGC 34658, PGC 42102, PGC 54559, PGC 59117, PGC 73957, PGC 95597, PGC 100170, PGC 100170, PGC 119230" Loaded 88 / 88 constellation records successfully for culture "western" Loaded 85 / 85 constellation art records successfully for culture "western" Loaded 88 / 88 constellation names Loading constellation boundary data ... Loaded 782 constellation boundary segments Loaded 54 / 54 asterism records successfully for culture "western" Loaded 44 / 44 asterism names stel.OpenGLArray: Vertex Array Objects are supported Initializing basic GL shaders... QOpenGLShader::compile(Fragment): ERROR: 0:15: '' : No precision specified for (float) ERROR: 0:15: '' : No precision specified for (float) ERROR: 0:17: '' : No precision specified for (float) ERROR: 0:18: '' : No precision specified for (float) ERROR: 0:19: '' : No precision specified for (float) ERROR: 0:20: '' : No precision specified for (float) ERROR: 0:21: '' : No precision specified for (float) ERROR: 0:25: '' : No precision specified for (float) ERROR: 0:25: '' : No precision specified for (float) ERROR: 0:27: '' : No precision specified for (float) ERROR: 0:28: '' : No precision specified for (float) ERROR: 0:32: '' : No precision specified for (float) ERROR: 0:32: '' : No precision specified for (float) ERROR: 0:32: '' : No precision specified for (float) ERROR: 0:39: '' : No precision specified for (float) ERROR: 0:39: '' : No precision specified for (float) ERROR: 0:39: '' : No precision specified for (float)

Problematic Fragment shader source code

line 1

uniform mediump vec3 rgbMaxValue; uniform sampler2D bayerPattern; mediump vec3 dither(mediump vec3 c) { if(rgbMaxValue.r==0.) return c; mediump float bayer=texture2D(bayerPattern,gl_FragCoord.xy/8.).r;

        mediump vec3 rgb=c*rgbMaxValue;
        mediump vec3 head=floor(rgb);
        mediump vec3 tail=rgb-head;
        return (head+1.-step(tail,vec3(bayer)))/rgbMaxValue;
        }
        mediump vec4 dither(mediump vec4 c) { return vec4(dither(c.xyz),c.w); }

vec3 rgb2hsv(vec3 c)
{
    vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);
    vec4 p = c.g < c.b ? vec4(c.bg, K.wz) : vec4(c.gb, K.xy);
    vec4 q = c.r < p.x ? vec4(p.xyw, c.r) : vec4(c.r, p.yzx);
    float d = q.x - min(q.w, q.y);
    float e = 1.0e-10;
    return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);
}

vec3 hsv2rgb(vec3 c)
{
    vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
    vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);
    return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
}

vec3 saturate(vec3 c, float x)
{
    c = rgb2hsv(c);
    c.y *= x;
    return hsv2rgb(c);
}

vec4 saturate(vec4 c, float x)
{
    return vec4(saturate(c.rgb, x), c.a);
}

varying mediump vec2 texc;

varying mediump vec4 outColor; uniform sampler2D tex; uniform lowp float saturation; void main(void) { gl_FragColor = dither(texture2D(tex, texc)*outColor); if (saturation != 1.0) gl_FragColor.rgb = saturate(gl_FragColor.rgb, saturation); }


StelPainter: Warnings while compiling fshader4: "ERROR: 0:15: '' : No precision specified for (float) \nERROR: 0:15: '' : No precision specified for (float) \nERROR: 0:17: '' : No precision specified for (float) \nERROR: 0:18: '' : No precision specified for (float) \nERROR: 0:19: '' : No precision specified for (float) \nERROR: 0:20: '' : No precision specified for (float) \nERROR: 0:21: '' : No precision specified for (float) \nERROR: 0:25: '' : No precision specified for (float) \nERROR: 0:25: '' : No precision specified for (float) \nERROR: 0:27: '' : No precision specified for (float) \nERROR: 0:28: '' : No precision specified for (float) \nERROR: 0:32: '' : No precision specified for (float) \nERROR: 0:32: '' : No precision specified for (float) \nERROR: 0:32: '' : No precision specified for (float) \nERROR: 0:39: '' : No precision specified for (float) \nERROR: 0:39: '' : No precision specified for (float) \nERROR: 0:39: '' : No precision specified for (float) \n" "StelPainter: Warnings while linking texturesColorShaderProgram shader program:\n" QOpenGLShaderProgram::uniformLocation(projectionMatrix): shader program is not linked QOpenGLShaderProgram::attributeLocation(texCoord): shader program is not linked QOpenGLShaderProgram::attributeLocation(vertex): shader program is not linked QOpenGLShaderProgram::attributeLocation(color): shader program is not linked QOpenGLShaderProgram::uniformLocation(tex): shader program is not linked QOpenGLShaderProgram::uniformLocation(bayerPattern): shader program is not linked QOpenGLShaderProgram::uniformLocation(rgbMaxValue): shader program is not linked QOpenGLShaderProgram::uniformLocation(saturation): shader program is not linked Creating GUI ... Loaded plugin "Exoplanets" [Exoplanets] Version of the format of the catalog: 1 [Exoplanets] loading catalog file: "C:\Users\Alfredo\AppData\Roaming\Stellarium\modules\Exoplanets\exoplanets.json" Loaded plugin "FOV" Loaded plugin "MeteorShowers" [MeteorShowersMgr] Loading catalog file: "C:\Users\Alfredo\AppData\Roaming\Stellarium\modules\MeteorShowers\showers.json" Loaded plugin "Novae" [Novae] version of the catalog: 1 [Novae] loading catalog file: "C:\Users\Alfredo\AppData\Roaming\Stellarium\modules\Novae\novae.json" Loaded plugin "Oculars" Ocular plugin - press Command-O to toggle eyepiece view mode. Press ALT-o for configuration. Oculars::validateIniFile ocular.ini exists at: "C:\Users\Alfredo\AppData\Roaming\Stellarium\modules\Oculars\ocular.ini" . Checking version... Oculars::validateIniFile found existing ini file version 3.1 Loaded plugin "Satellites" [Satellites] loading catalog file: "C:\Users\Alfredo\AppData\Roaming\Stellarium\modules\Satellites\satellites.json" Satellite has invalid orbit: "MOLNIYA 3-3" "08425" Satellite has invalid orbit: "IRIDIUM 6" "24794" Satellite has invalid orbit: "IRIDIUM 19" "24965" Satellite has invalid orbit: "IRIDIUM 34" "24969" Satellite has invalid orbit: "IRIDIUM 43" "25039" Satellite has invalid orbit: "IRIDIUM 40" "25041" Satellite has invalid orbit: "GRACE-1" "27391" Satellite has invalid orbit: "GRACE-2" "27392" Satellite has invalid orbit: "ORS 1" "37728" Satellite has invalid orbit: "TIANGONG 1" "37820" Satellite has invalid orbit: "EAGLE 2" "39436" Satellite has invalid orbit: "AGGIESAT 4" "41313" Satellite has invalid orbit: "FLOCK 2E'-1" "41479" Satellite has invalid orbit: "FLOCK 2E'-3" "41480" Satellite has invalid orbit: "FLOCK 2E'-2" "41481" Satellite has invalid orbit: "FLOCK 2E-2" "41484" Satellite has invalid orbit: "FLOCK 2E-4" "41487" Satellite has invalid orbit: "FLOCK 2E-6" "41563" Satellite has invalid orbit: "FLOCK 2E-7" "41565" Satellite has invalid orbit: "FLOCK 2E'-8" "41569" Satellite has invalid orbit: "FLOCK 2E-9" "41571" Satellite has invalid orbit: "FLOCK 2E-12" "41573" Satellite has invalid orbit: "FLOCK 2E-11" "41574" Satellite has invalid orbit: "FLOCK 2E'-9" "41575" Satellite has invalid orbit: "FLOCK 2E'-10" "41576" Satellite has invalid orbit: "FLOCK 2E'-11" "41577" Satellite has invalid orbit: "FLOCK 2E'-12" "41578" Satellite has invalid orbit: "FLOCK 2E'-13" "41761" Satellite has invalid orbit: "FLOCK 2E'-17" "41776" Satellite has invalid orbit: "STARS-C" "41895" Satellite has invalid orbit: "OSNSAT" "41939" Satellite has invalid orbit: "LEMUR-2-TRUTNA" "42067" Satellite has invalid orbit: "Columbia" "42702" Satellite has invalid orbit: "SGSAT" "42703" Satellite has invalid orbit: "ISS DEB (ROSA)" "42813" Satellite has invalid orbit: "TECHEDSAT 6" "43026" Satellite has invalid orbit: "DRAGON CRS-13 DEB" "43061" Satellite has invalid orbit: "DRAGON CRS-13 DEB" "43062" Satellite has invalid orbit: "SL-4 R/B" "43064" Loaded plugin "SolarSystemEditor" Using the ssystem_minor.ini file that already exists in the user directory... Loaded plugin "TelescopeControl" [TelescopeControl] Only embedded telescope servers are available. [TelescopeControl] Adding device model: "Meade AutoStar compatible" "Any telescope or telescope mount compatible with Meade's AutoStar controller." "TelescopeServerLx200" 500000 [TelescopeControl] Adding device model: "Meade LX200 (compatible)" "Any telescope or telescope mount compatible with Meade LX200." "TelescopeServerLx200" 500000 [TelescopeControl] Adding device model: "Meade ETX70 (#494 Autostar, #506 CCS)" "Meade's ETX70 with the #494 Autostar controller and the #506 Connector Cable Set." "TelescopeServerLx200" 1500000 [TelescopeControl] Adding device model: "Losmandy G-11" "Losmandy's G-11 telescope mount." "TelescopeServerLx200" 500000 [TelescopeControl] Adding device model: "Wildcard Innovations Argo Navis (Meade mode)" "Wildcard Innovations' Argo Navis DTC in Meade LX200 emulation mode." "TelescopeServerLx200" 500000 [TelescopeControl] Adding device model: "Celestron NexStar (compatible)" "Any telescope or telescope mount compatible with Celestron NexStar." "TelescopeServerNexStar" 500000 [TelescopeControl] Adding device model: "Sky-Watcher SynScan (version 3 or later)" "Any Sky-Watcher mount that uses version 3 or later of the SynScan hand controller." "TelescopeServerNexStar" 500000 [TelescopeControl] Adding device model: "Sky-Watcher SynScan AZ GOTO" "The Sky-Watcher SynScan AZ GOTO mount used in a number of telescope models." "TelescopeServerNexStar" 500000 [TelescopeControl] loadTelescopes(): No telescopes loaded. File is missing: "C:\Users\Alfredo\AppData\Roaming\Stellarium\modules\TelescopeControl\telescopes.json" Got location "Bogotá, Bogota D.C., Colombia (4.6492, -74.0628; America/Bogota)" for IP "190.84.21.94" OpenType support missing for "Verdana", script 11 OpenType support missing for "MS Shell Dlg 2", script 11 OpenType support missing for "Arial", script 11 OpenType support missing for "MS UI Gothic", script 11 OpenType support missing for "SimSun", script 11 OpenType support missing for "Verdana", script 12 OpenType support missing for "MS Shell Dlg 2", script 12 OpenType support missing for "Arial", script 12 OpenType support missing for "MS UI Gothic", script 12 OpenType support missing for "SimSun", script 12 OpenType support missing for "Verdana", script 13 OpenType support missing for "MS Shell Dlg 2", script 13 OpenType support missing for "Arial", script 13 OpenType support missing for "MS UI Gothic", script 13 OpenType support missing for "SimSun", script 13 OpenType support missing for "Verdana", script 14 OpenType support missing for "MS Shell Dlg 2", script 14 OpenType support missing for "Arial", script 14 OpenType support missing for "MS UI Gothic", script 14 OpenType support missing for "SimSun", script 14 OpenType support missing for "Verdana", script 16 OpenType support missing for "MS Shell Dlg 2", script 16 OpenType support missing for "Arial", script 16 OpenType support missing for "MS UI Gothic", script 16 OpenType support missing for "SimSun", script 16 OpenType support missing for "Verdana", script 17 OpenType support missing for "MS Shell Dlg 2", script 17 OpenType support missing for "Arial", script 17 OpenType support missing for "MS UI Gothic", script 17 OpenType support missing for "SimSun", script 17 OpenType support missing for "Verdana", script 18 OpenType support missing for "MS Shell Dlg 2", script 18 OpenType support missing for "Arial", script 18 OpenType support missing for "MS UI Gothic", script 18 OpenType support missing for "SimSun", script 18 OpenType support missing for "Verdana", script 19 OpenType support missing for "MS Shell Dlg 2", script 19 OpenType support missing for "Arial", script 19 OpenType support missing for "MS UI Gothic", script 19 OpenType support missing for "SimSun", script 19 OpenType support missing for "Verdana", script 20 OpenType support missing for "MS Shell Dlg 2", script 20 OpenType support missing for "Arial", script 20 OpenType support missing for "MS UI Gothic", script 20 OpenType support missing for "SimSun", script 20 OpenType support missing for "Verdana", script 32 OpenType support missing for "MS Shell Dlg 2", script 32 OpenType support missing for "Arial", script 32 OpenType support missing for "MS UI Gothic", script 32 OpenType support missing for "SimSun", script 32 OpenType support missing for "Verdana", script 10 OpenType support missing for "MS Shell Dlg 2", script 10 OpenType support missing for "Arial", script 10 OpenType support missing for "MS UI Gothic", script 10 OpenType support missing for "SimSun", script 10 Downloading file "https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat" Found file "C:\Users\Alfredo\AppData\Roaming\Stellarium\stars\default\stars_4_1v0_2.cat" , checking md5sum.. Error: File "stars\default\stars_4_1v0_2.cat" is corrupt, MD5 mismatch! Found "d41d8cd98f00b204e9800998ecf8427e" expected "ac67dc390f9d414d61b1db76a5b820e9"

guillaumechereau commented 6 years ago

It seems to crash on linux as well: ASSERT: "starCatalogDownloadReply->bytesAvailable()==0" in file /home/guillaume/Projects/stellarium/stellarium/src/gui/ConfigurationDialog.cpp, line 1340

Redirection problem? I can have a look at that.

guillaumechereau commented 6 years ago

I pushed a small fix for this bug. A line was missing in the code. Should work now.

guillaumechereau commented 6 years ago

I think I pushed a bit too quickly. It still doesn't work with Qt < 5.9. I will try to find a solution that works with all Qt versions.

guillaumechereau commented 6 years ago

I did an other fix that should make it work for all Qt versions. Hopefully.

gzotti commented 6 years ago

Not quite :-(

build 16219, Win10, Qt511

Downloading file "https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat" Error downloading file QUrl("https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat") : "SSL handshake failed"

Ehm, the SSL errors returned!

qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_new qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_free qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_ssl_ctx qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_flags qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_finish qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_cmd qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected

I had installed SSL libs weeks ago, and the errors were not visible for some time now. I have not checked what changed.

guillaumechereau commented 6 years ago

@gzotti, Is this error specific to the stars catalog url, or does it happen with all the https url?

gzotti commented 6 years ago

I could update Supernovae and Satellites without problems. Updating the star catalog still gives a

Downloading file "https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat"
Error downloading file QUrl("https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat") :  "SSL handshake failed"

The mentioned SSL errors are still there, have not tried to reinstall. Sorry, no time, pretty exhaustive IAU conference :-)

G.

gzotti commented 6 years ago

Different computer: Downloading file "https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat" qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error Error downloading file QUrl("https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat") : "Error creating SSL context ()"

Now installing SSL libs...

gzotti commented 6 years ago

did not change anything. Apparently I need different SSL libs, but which?

gzotti commented 6 years ago

I now installed SSL libraries V1.0.2 instead of 1.1.0, and it works! I added this to https://github.com/Stellarium/stellarium/wiki/Common-Problems-for-the-current-version#openssl-problems-in-the-logfile-missing-hips-surveys-cannot-download-additional-star-catalogs-windows.

gzotti commented 6 years ago

@alex-w, @guillaumechereau I think we can consider this solved. Guillaume fixed code bits, and a requirement for users is in the FAQ. Or can we pack some OpenSSL 1.0.2 libraries in the Windows package to fix that?

alex-w commented 6 years ago

@gzotti I've packed OpenSSL 1.0.2 into Stellarium package - could you check fresh weekly build?

alex-w commented 6 years ago

Please check version 0.90.0.16237 (0.18.2.2)

gzotti commented 6 years ago

I deinstalled the extra OpenSSL (which caused 0.18.2 to fail again) and could test the win32 package successfully, thanks!

cosot commented 5 years ago

I don't understand that, but we can ignore it. You can use the browser to download them. download link at C:\Program Files [or your path] \Stellarium\stars\default\defaultStarsConfig.json then put them here,restart your stellarium