--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/4da01cd9-0d2f-47ef-96f3-05b87ee1989bn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/CALGmxE%2Bs7_q-cwRTU7abB3HYR3V2YjArywUQj_NyK2yZztSSag%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/CALGmxE%2Bs7_q-cwRTU7abB3HYR3V2YjArywUQj_NyK2yZztSSag%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/CALGmxE%2Bs7_q-cwRTU7abB3HYR3V2YjArywUQj_NyK2yZztSSag%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/CABuiZshvX0h0O2M6yJBQx8o-Oh4fBVoiVWcvyY0M2iXaLHQDdg%40mail.gmail.com.
If you remove the try/except, the cause is fairly standard.
Traceback (most recent call last): File "astroalign.py", line 537, in _find_sources File "sep_pjw.pyx", line 21, in init sep_pjw ModuleNotFoundError: No module named '_version' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "simple_align.py", line 25, in <module> transform, footprint = aa.find_transform(target_image, ref_image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "astroalign.py", line 314, in find_transform TypeError: Input type for source not supported. [PYI-1439842:ERROR] Failed to execute script 'simple_align' due to unhandled exception!The fix is just to add --hiddenimport=_version to the build command. (I’d call it a bug in sep_pjw that it’s keeping its version in a top level module rather than say sep_pjw._version but that’s another matter.)
Please never use blanket exception handling like that. We’d have fixed this in about 2 seconds if you hadn’t thrown away the stacktrace.
he fix is just to add --hiddenimport=_version to the build command. (I’d call it a bug in sep_pjw that it’s keeping its version in a top level module rather than say sep_pjw._version but that’s another matter.)
sep-pjw
package was deprecated on 03/02/2025, and is now published under the original sep
name. Please install sep>=1.4.0
instead. Future development will take place at sep-developers/sep.Please never use blanket exception handling like that. We’d have fixed this in about 2 seconds if you hadn’t thrown away the stacktrace.
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/e7b80820-9007-4996-bf86-53caf60ebdc5n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/e7b80820-9007-4996-bf86-53caf60ebdc5n%40googlegroups.com.
Thank you! Brilliant. That worked. It's something that I (and my on-again off-again friend chatgpt) did not figure out. Could you explain what you mean by:"Please never use blanket exception handling like that." I"m not sure what the alternative should be.
except Exception as e: print("Error during alignment:", e)
Judith--On Tue, Mar 18, 2025 at 3:04 PM bwoodsend <bwoo...@gmail.com> wrote:--If you remove the try/except, the cause is fairly standard.
Traceback (most recent call last): File "astroalign.py", line 537, in _find_sources File "sep_pjw.pyx", line 21, in init sep_pjw ModuleNotFoundError: No module named '_version' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "simple_align.py", line 25, in <module> transform, footprint = aa.find_transform(target_image, ref_image) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "astroalign.py", line 314, in find_transform TypeError: Input type for source not supported. [PYI-1439842:ERROR] Failed to execute script 'simple_align' due to unhandled exception!The fix is just to add --hiddenimport=_version to the build command. (I’d call it a bug in sep_pjw that it’s keeping its version in a top level module rather than say sep_pjw._version but that’s another matter.)
Please never use blanket exception handling like that. We’d have fixed this in about 2 seconds if you hadn’t thrown away the stacktrace.
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/e7b80820-9007-4996-bf86-53caf60ebdc5n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/CABuiZsh_QkqU6241bpb8_L%2BrZWP2F7PaseY91bKHq6_9v5L%3DTw%40mail.gmail.com.