AT version 7, Win 7 x64, POTH hub to meade Classic/Autostar 1 driver > LXD75 mount.
AT slews and syncs sometimes, and sometimes it says "Re-centering" in status bar and just sits there. It's not locked up, as I can select another image, disconnect scope, etc...but it doesn't slew or re-sync. I usually have to quit AT, close down the POTH handset, and then reconnect every thing. It works fine with a simulated scope, and all my other software talks to the mount through POTH with no issues.
Any ideas? I finally got the solving thing figured out, but now I'm fighting with this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is the main exe error log after closing the program, and a debug log that I captured during the process.
It just keeps generating Sync errors everytime I try to sync and re-center
Please, please fix this. I really want to like this software. :)
AstroTortilla.exe.log
Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 820, in OnBtnGOButton
File "astrotortilla\gui\MainFrame.pyo", line 781, in showTracebackDialog
AttributeError: 'str' object has no attribute 'format_exc'
2016-08-10 00:09:36,161 - astrotortilla.Main - ERROR - Sync failed: Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 816, in OnBtnGOButton
Exception: ASCOM Telescope sync error
Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 820, in OnBtnGOButton
File "astrotortilla\gui\MainFrame.pyo", line 781, in showTracebackDialog
AttributeError: 'str' object has no attribute 'format_exc'
DEBUG LOG
2016-08-09 23:40:49,749 - astrotortilla - INFO - Waiting for scope to stop
2016-08-09 23:40:49,750 - astrotortilla - INFO - Connecting to camera...
2016-08-09 23:40:49,753 - astrotortilla - INFO - Exposing: 5.00 seconds
2016-08-09 23:40:50,105 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:40:50,108 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:40:50,109 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:50,417 - astrotortilla.ASCOMTelescope - DEBUG - request target
2016-08-09 23:40:50,789 - astrotortilla - INFO - Reading image from camera
2016-08-09 23:40:50,790 - astrotortilla - INFO - Solving...
2016-08-09 23:40:50,792 - astrotortilla.AstrometryNetSolver - DEBUG - Executing: solve-field -3 262.416667 -4 -22.904444 -5 10.000000 -b /etc/astrometry/backend.cfg --sigma 30 --no-plots -N none -r --objs 200 -L .55 -H .85 -u degwidth -D \"cygpath -a \"c:/users/craig/appdata/local/temp/solversqidqf/3\"\" \"cygpath -a \"C:/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif\"\"
2016-08-09 23:40:51,513 - astrotortilla - INFO - Reading input file 1 of 1: "/cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif"...
2016-08-09 23:40:52,196 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 769 (0x301) encountered.
2016-08-09 23:40:52,301 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 20752 (0x5110) encountered.
2016-08-09 23:40:52,404 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 20753 (0x5111) encountered.
2016-08-09 23:40:52,506 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 20754 (0x5112) encountered.
2016-08-09 23:40:56,029 - astrotortilla - INFO - Field 1 solved: writing to file /cygdrive/c/users/craig/appdata/local/temp/solversqidqf/3/M-20_2016.08.01.004912_640x480.solved to indicate this.
2016-08-09 23:40:56,035 - astrotortilla - INFO - Field 1: solved with index index-4107.fits.
2016-08-09 23:40:56,040 - astrotortilla - INFO - Hit/miss: ++++++-+-+-++-+++-+++--++--++--++--++-----+-+-----------+-+++--+--------------+(best)---------------------
I get the sync error any time the "Sync scope" box is checked, regardless of the other two (I never use the "Repeat until within" option). It's worked a couple of times, but never twice in a row...and I can't fiind any reason for why it did work. 90% of the time it throws the sync error. And this is with or without Stellarium scope running, connected, not connected, etc. (BTW - Stellarium scope has no problem slewing and syncing).
The error happens after the scope syncs. I know it syncs, because the handset beeps on sync. I have no idea what the AT or ASCOM driver code looks like, but it appears that AT is waiting for some type of "sync successful" message from the scope, but never gets it...so it throws the sync error and aborts the re-slew if selected.
I've also played around with the two values in the Setup dialog, and have tried the option to delay 5 seconds after sync in the Meade driver....all with no effect.
Last edit: Craig 2016-08-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like the sync error handling bug in AT fails. After sync the mount reports a different location than was sent, and handling that error apparently fails. I guess I have to finally recreate the AT build environment and produce a new build :-)
--Antti
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was afraid that AT was dead in the water and was looking for alternatives. I'm very happy to see you still read these forums and are interested in maintaining it. It really is excellent software when it works properly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is now a pre-release package for 0.8 alpha 1 available in the Files -section. It hasn't gone thru any extensive testing, just simple smoke-test with ASCOM simulators and Nebulosity 4 with simulator camera.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
AT version 7, Win 7 x64, POTH hub to meade Classic/Autostar 1 driver > LXD75 mount.
AT slews and syncs sometimes, and sometimes it says "Re-centering" in status bar and just sits there. It's not locked up, as I can select another image, disconnect scope, etc...but it doesn't slew or re-sync. I usually have to quit AT, close down the POTH handset, and then reconnect every thing. It works fine with a simulated scope, and all my other software talks to the mount through POTH with no issues.
Any ideas? I finally got the solving thing figured out, but now I'm fighting with this.
Here is the main exe error log after closing the program, and a debug log that I captured during the process.
It just keeps generating Sync errors everytime I try to sync and re-center
Please, please fix this. I really want to like this software. :)
AstroTortilla.exe.log
Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 820, in OnBtnGOButton
File "astrotortilla\gui\MainFrame.pyo", line 781, in showTracebackDialog
AttributeError: 'str' object has no attribute 'format_exc'
2016-08-10 00:09:36,161 - astrotortilla.Main - ERROR - Sync failed: Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 816, in OnBtnGOButton
Exception: ASCOM Telescope sync error
Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 820, in OnBtnGOButton
File "astrotortilla\gui\MainFrame.pyo", line 781, in showTracebackDialog
AttributeError: 'str' object has no attribute 'format_exc'
DEBUG LOG
2016-08-09 23:40:49,749 - astrotortilla - INFO - Waiting for scope to stop
2016-08-09 23:40:49,750 - astrotortilla - INFO - Connecting to camera...
2016-08-09 23:40:49,753 - astrotortilla - INFO - Exposing: 5.00 seconds
2016-08-09 23:40:50,105 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:40:50,108 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:40:50,109 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:50,417 - astrotortilla.ASCOMTelescope - DEBUG - request target
2016-08-09 23:40:50,789 - astrotortilla - INFO - Reading image from camera
2016-08-09 23:40:50,790 - astrotortilla - INFO - Solving...
2016-08-09 23:40:50,792 - astrotortilla.AstrometryNetSolver - DEBUG - Executing: solve-field -3 262.416667 -4 -22.904444 -5 10.000000 -b /etc/astrometry/backend.cfg --sigma 30 --no-plots -N none -r --objs 200 -L .55 -H .85 -u degwidth -D \"
cygpath -a \"c:/users/craig/appdata/local/temp/solversqidqf/3\"
\" \"cygpath -a \"C:/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif\"
\"2016-08-09 23:40:51,513 - astrotortilla - INFO - Reading input file 1 of 1: "/cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif"...
2016-08-09 23:40:52,196 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 769 (0x301) encountered.
2016-08-09 23:40:52,301 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 20752 (0x5110) encountered.
2016-08-09 23:40:52,404 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 20753 (0x5111) encountered.
2016-08-09 23:40:52,506 - astrotortilla - INFO - TIFFReadDirectory: Warning, /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif: unknown field with tag 20754 (0x5112) encountered.
2016-08-09 23:40:52,615 - astrotortilla - INFO - tifftopnm: writing PPM file
2016-08-09 23:40:52,720 - astrotortilla - INFO - Read file stdin: 640 x 480 pixels x 1 color(s); maxval 255
2016-08-09 23:40:52,822 - astrotortilla - INFO - Using 8-bit output
2016-08-09 23:40:53,029 - astrotortilla - INFO - Extracting sources...
2016-08-09 23:40:53,137 - astrotortilla - INFO - simplexy: found 313 sources.
2016-08-09 23:40:53,299 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:40:53,331 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:40:53,335 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:53,607 - astrotortilla.ASCOMTelescope - DEBUG - request target
2016-08-09 23:40:55,454 - astrotortilla - INFO - Solving...
2016-08-09 23:40:55,676 - astrotortilla - INFO - Reading file "/cygdrive/c/users/craig/appdata/local/temp/solversqidqf/3/M-20_2016.08.01.004912_640x480.axy"...
2016-08-09 23:40:55,828 - astrotortilla - INFO - Only searching for solutions within 10 degrees of RA,Dec (262.417,-22.9044)
2016-08-09 23:40:56,012 - astrotortilla - INFO - Field size: 50.1222 x 36.7726 arcminutes
2016-08-09 23:40:56,016 - astrotortilla - INFO - Field center: (RA H:M:S, Dec D:M:S) = (18:02:25.495, -22:57:21.876).
2016-08-09 23:40:56,020 - astrotortilla - INFO - Field center: (RA,Dec) = (270.6, -22.96) deg.
2016-08-09 23:40:56,025 - astrotortilla - INFO - Field: /cygdrive/c/Data/cloud/MiloSlick 3 Data/snapshots/M20/M-20_2016.08.01.004912_640x480.tif
2016-08-09 23:40:56,029 - astrotortilla - INFO - Field 1 solved: writing to file /cygdrive/c/users/craig/appdata/local/temp/solversqidqf/3/M-20_2016.08.01.004912_640x480.solved to indicate this.
2016-08-09 23:40:56,035 - astrotortilla - INFO - Field 1: solved with index index-4107.fits.
2016-08-09 23:40:56,040 - astrotortilla - INFO - Hit/miss: ++++++-+-+-++-+++-+++--++--++--++--++-----+-+-----------+-+++--+--------------+(best)---------------------
2016-08-09 23:40:56,046 - astrotortilla - INFO - RA,Dec = (270.607,-22.955), pixel scale 4.65087 arcsec/pix.
2016-08-09 23:40:56,051 - astrotortilla - INFO - log-odds ratio 124.567 (1.25547e+54), 32 match, 0 conflict, 47 distractors, 38 index.
2016-08-09 23:40:56,055 - astrotortilla - INFO - Field 1 did not solve (index index-4108.fits, field objects 11-20).
2016-08-09 23:40:56,061 - astrotortilla - INFO - Field 1 did not solve (index index-4109.fits, field objects 11-20).
2016-08-09 23:40:56,065 - astrotortilla - INFO - Field 1 did not solve (index index-4110.fits, field objects 11-20).
2016-08-09 23:40:56,072 - astrotortilla - INFO - Field 1 did not solve (index index-4107.fits, field objects 1-10).
2016-08-09 23:40:56,078 - astrotortilla - INFO - Field 1 did not solve (index index-4108.fits, field objects 1-10).
2016-08-09 23:40:56,082 - astrotortilla - INFO - Field 1 did not solve (index index-4109.fits, field objects 1-10).
2016-08-09 23:40:56,088 - astrotortilla - INFO - Field 1 did not solve (index index-4110.fits, field objects 1-10).
2016-08-09 23:40:56,088 - astrotortilla.AstrometryNetSolver - DEBUG - Pid 1320 exit code 0
2016-08-09 23:40:56,095 - astrotortilla - INFO - Parsing results...
2016-08-09 23:40:56,095 - astrotortilla.AstrometryNetSolver - DEBUG - Executing: wcsinfo \"
cygpath -a \"c:/users/craig/appdata/local/temp/solversqidqf/3\"
/M-20_2016.08.01.004912_640x480.wcs\"2016-08-09 23:40:56,724 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:40:56,730 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:40:56,737 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:56,835 - astrotortilla.ASCOMTelescope - DEBUG - request target
2016-08-09 23:40:56,868 - astrotortilla - INFO - Solved in 5.9s
2016-08-09 23:40:56,875 - astrotortilla - INFO - Re-centering...
2016-08-09 23:40:56,881 - astrotortilla.ASCOMTelescope - INFO - Syncing to Coordinate(270.606228, -22.956077)
2016-08-09 23:40:56,888 - astrotortilla.ASCOMTelescope - INFO - Sync separation is 7.54°
2016-08-09 23:40:57,697 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:58,154 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:58,424 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:58,680 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:58,953 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:59,224 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:59,529 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:40:59,801 - astrotortilla.ASCOMTelescope - WARNING - Sync delta detected: 3.13 arcmin
2016-08-09 23:40:59,809 - astrotortilla.Main - ERROR - Sync failed: Traceback (most recent call last):
File "astrotortilla\gui\MainFrame.pyo", line 809, in OnBtnGOButton
File "astrotortilla\engine.pyo", line 627, in gotoCurrentTarget
Exception: ASCOM Telescope sync error
2016-08-09 23:40:59,812 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:40:59,828 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:40:59,890 - astrotortilla.ASCOMTelescope - DEBUG - request target
2016-08-09 23:41:02,588 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:41:02,930 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:41:02,940 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:41:02,951 - astrotortilla.ASCOMTelescope - DEBUG - request target
2016-08-09 23:41:05,706 - astrotortilla.ASCOMTelescope - DEBUG - request position
2016-08-09 23:41:06,016 - astrotortilla.ASCOMTelescope - DEBUG - request tracking status
2016-08-09 23:41:06,028 - astrotortilla.ASCOMTelescope - DEBUG - request slewing attribute
2016-08-09 23:41:06,042 - astrotortilla.ASCOMTelescope - DEBUG - request target
Last edit: Craig 2016-08-10
Some more info...
I get the sync error any time the "Sync scope" box is checked, regardless of the other two (I never use the "Repeat until within" option). It's worked a couple of times, but never twice in a row...and I can't fiind any reason for why it did work. 90% of the time it throws the sync error. And this is with or without Stellarium scope running, connected, not connected, etc. (BTW - Stellarium scope has no problem slewing and syncing).
The error happens after the scope syncs. I know it syncs, because the handset beeps on sync. I have no idea what the AT or ASCOM driver code looks like, but it appears that AT is waiting for some type of "sync successful" message from the scope, but never gets it...so it throws the sync error and aborts the re-slew if selected.
I've also played around with the two values in the Setup dialog, and have tried the option to delay 5 seconds after sync in the Meade driver....all with no effect.
Last edit: Craig 2016-08-10
Hi,
Looks like the sync error handling bug in AT fails. After sync the mount reports a different location than was sent, and handling that error apparently fails. I guess I have to finally recreate the AT build environment and produce a new build :-)
--Antti
Thank you! Thank you!
If I could get Astrotortilla to reliably sync and slew my scope, I'd love it. It solves super fast, and the GUI is nice and simple.
I was afraid that AT was dead in the water and was looking for alternatives. I'm very happy to see you still read these forums and are interested in maintaining it. It really is excellent software when it works properly.
Feel free to email me a copy of the fix to test before you release it if you want.
There is now a pre-release package for 0.8 alpha 1 available in the Files -section. It hasn't gone thru any extensive testing, just simple smoke-test with ASCOM simulators and Nebulosity 4 with simulator camera.