Closed albeltrang73 closed 6 years ago
Please attach log from Stellarium after fail of downloading catalog.
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...).
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.
Cannot confirm on Linux!
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.
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 .
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
Problematic Fragment shader source code
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"
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.
I pushed a small fix for this bug. A line was missing in the code. Should work now.
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.
I did an other fix that should make it work for all Qt versions. Hopefully.
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.
@gzotti, Is this error specific to the stars catalog url, or does it happen with all the https url?
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.
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...
did not change anything. Apparently I need different SSL libs, but which?
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.
@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?
@gzotti I've packed OpenSSL 1.0.2 into Stellarium package - could you check fresh weekly build?
Please check version 0.90.0.16237 (0.18.2.2)
I deinstalled the extra OpenSSL (which caused 0.18.2 to fail again) and could test the win32 package successfully, thanks!
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
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