Open wetzelmd opened 4 years ago
@gionkunz can you please have a look into this?
Hi @gzotti , I will have a look at this at the weekends at the latest.
For Stellarium 19.3 Windows 64bit.
I've been using the native ASCOM support, vs. StellariumScope, to control my telescope since the release of 19.3, for astrophotography.
It works fine, however about 50% of the time when I get up in the morning Stellarium is no longer running. All the other Astro programs are OK and the mount(telescope) is still connected to them and working.
What would be the approach to troubleshoot this?
Sorry if this should be a separate issue. I was given this link.
Thanks
Hi @gzotti , I will have a look at this at the weekends at the latest.
Now is obviously a couple of weekends later... It has been very hectic around me and I need to spend all my time with my business at the moment. I hope I can pick this up soon.
@dts350z Do you have any stellarium logs for such an incident? I was running it with ASCOM and EQMod over many nights and Stellarium was never exiting. At least I never noticed, but sometimes I also shut it down, because Stellarium is a real battery drainer :-)
I will look. Is logging in Stellarium something I need to enable?
hmm... C:\Users\Glenn\AppData\Roaming\Stellarium looks like it only keeps the last instance log?
When I launch Stellarium without the Celestron CPWI application running (and its ASCOM driver), Stellarium gets to the Load Telescope plugin, pauses, then vanishes. Attached is the log.
The config.ini file has these settings for the Telescope Control:
[TelescopeControl] flag_enable_telescope_logs = false flag_telescope_circles = true flag_telescope_labels = true flag_telescope_reticles = true flag_use_server_executables = false
Mark W.
On Sun, Mar 8, 2020 at 12:46 PM dts350z notifications@github.com wrote:
I will look. Is logging in Stellarium something I need to enable?
hmm... C:\Users\Glenn\AppData\Roaming\Stellarium looks like it only keeps the last instance log?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Stellarium/stellarium/issues/928?email_source=notifications&email_token=ANLATCPV3EW2VSBPRCT4CO3RGP73BA5CNFSM4KFPEYM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOE7OAQ#issuecomment-596244226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLATCLYIW4ZX3FXTVDCUYTRGP73BANCNFSM4KFPEYMQ .
Writing log file to: "C:\Users\mdwet\AppData\Roaming\Stellarium\log.txt"
File search paths:
0 . "C:\Users\mdwet\AppData\Roaming\Stellarium"
1 . "."
Config file is: "C:\Users\mdwet\AppData\Roaming\Stellarium\config.ini"
Default surface format: QSurfaceFormat(version 2.0, options QFlags
@wetzelmd, are you enabled auto-connect to the mount in the plugin?
Yes, automatic connection is enabled so that an imaging session is easy to start up.
Mark
Sent from my iPhone
On Mar 9, 2020, at 1:39 AM, Alexander Wolf notifications@github.com wrote:
@wetzelmd, are you enabled auto-connect to the mount in the plugin?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Here is a log from a stellarium crash when using the telescope plugin.
And another one.
Do you want more logs? I have a total of 5 now.
The problem with the Telescope Control plugin that causes Stellarium 0.20.1.xxxxx to crash when the telescope's ASCOM driver is not running persists (latest beta). The plugin times out and causes Stellarium to exit. I need Stellarium to launch with and without the telescope driver present while loading the plugin at startup, especially when using Stellarium to plan an imaging session without my gear connected. Otherwise I have to edit the config.ini file and change the plugin flag.
Windows 10 Pro, latest version, most recent updates. Celestron CPWI ASCOM driver (latest version - release candidate)
If the CPWI ASCOM driver is running and CPWI is connected to the mount, Stellarium and the Telescope Control plugin work exceptionally well.
Mark W
The log:
14:43:20.562 INFO: Connecting process : stellarium
14:43:20.564 INFO: Initializing Telescope driver for C:\Program Files\Stellarium\stellarium.exe
14:43:20.569 INFO: Get DriverVersion
14:43:20.569 INFO: Submitting Synchronus request: /CPWI/version
14:43:22.623 INFO: could not communicate with CPWI, request =/CPWI/version
14:43:22.627 INFO: ERROR: ASCOM.DriverAccessCOMException (0x00000000): could not communicate with CPWI, request =/CPWI/version ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at PWLib.Net.WebUtils.HttpGetString(String url, Int32 timeoutMsec)
at ASCOM.CPWI.AscomTelescopeThread.Request(String urlPath)
at ASCOM.CPWI.AscomTelescopeThread.Request(String urlPath)
at ASCOM.CPWI.AscomTelescopeThread.SubmitRequest(String request)
at ASCOM.CPWI.Telescope.SubmitRequest(String request)
at ASCOM.CPWI.Telescope.
Fix in latest beta seems to work.
Thanks!
Mark W
Is this ticket still relevant ?
If the "dirty fix" (disable autoconnect feature for ASCOM telescopes) is OK for all, we could close it. @alex-w , @wetzelmd, @gionkunz ?
Nope. I've added this "dirty fix" some time ago and many users was angry - so, it was revert...
Is it possible to surround the connection attempt with something like
try
{
connect();
}
catch (ConnectionError &e)
{
handle_connection_error_gracefully();
}
?
I have not tested so it probably is no longer relevant.MarkSent from my iPadOn Sep 28, 2023, at 12:50 AM, luzpaz @.***> wrote: Is this ticket still relevant ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
We should come to a conclusion. Four years ago someone answered it works.
Stellarium V 19.3.1 and the latest Beta build 17542 fail to launch under the following conditions:
The Telescope Control Plugin is set to start when Stellarium is launched and The Telescope ASCOM driver is not running.
Stellarium will begin the startup process, but then disappear when the Telescope Control is starting.
If the ASCOM driver is present, everything works normally.
I believe there is also an issue in shutting down if the ASCOM driver is shut down before quitting Stellarium.
Windows 10 Pro Celestron CPWI and its ASCOM driver for scope mount control.
Mark W