Closed CharliePoore01 closed 2 years ago
Hi Charlie, The scAnt_GUI_mw.py file only contains the generated window but with no functionality.
You need to run python scAnt.py
for the actual scanner software.
Lemme know how that goes!
All the best Fabi
Hi Fabi, when trying to run the python scAnt.py i get this error message:
ModuleNotFoundError Python 3.7.12: C:\Users\charl\anaconda3\envs\scant\python.exe Wed Apr 20 13:39:51 2022
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
C:\Users\charl\OneDrive\Desktop\scAnt-master\scAnt.py in
C:\Users\charl\OneDrive\Desktop\scAnt-master\scAnt.py in init(self=<__main__.scAnt_mainWindow object>) 135 # Find FLIR cameras, if attached 136 try: 137 from GUI.Live_view_FLIR import customFLIR 138 self.FLIR = customFLIR() 139 # camera needs to be initialised before use (self.cam.initialise_camera) GUI undefined customFLIR undefined
C:\Users\charl\OneDrive\Desktop\scAnt-master\GUI\Live_view_FLIR.py in
The above is a description of an error in a Python program. Here is the original traceback:
Traceback (most recent call last):
File "scAnt.py", line 1288, in
I have noticed your reply to a previous comment to what I believe to be a similar problem mentioned making sure that DigiCamControl is installed to 'C:Program Files (x86)/digiCamControl' this is where I have it installed so I am assuming I don't need to change anything in the LiveViewDSLR.py file or am I incorrect? Thanks Charlie
If your path is the same, you should not have to update it in LiveViewDSLR.py. However, to be sure, you could copy the full path into:
# Update with the path to CameraControlCmd.exe file.
digi_cam_path = Path("C:\Program Files (x86)\digiCamControl") #or wherever the location of your installation is
There used to be an issue where PySpin needed to be installed regardless of whether FLIR cams were used, but that should now be resolved in 68becd0d6667e622b4870e31559ad0f13ef5c484
Could you try pulling/downloading the latest version of the scAnt repo and try running python scAnt.py
again?
Hey @CharliePoore01,
Could you check if the fix is working for you now? If so, I'll close this thread.
All the best Fabi
Hi @FabianPlum I won’t have access to the scanner until the end of this week/start of next week. If you would like to close it I’ll email you privately when I have been able to test.
Nah, there is no urgency! Just wanted to make sure the issue is solved for you
Okay, I'll close the issue for now, as there is no more activity here. If the issue persists on your end, you can always reopen the issue or submit a new one!
All the best Fabi
Followed all steps including downloading and setting up conda envrinment, connecting and testing camera and setting up stepper motors. We know the DSLR camera is working with it (tested using Live_view_DSLR.py) and the stepper motors are working as well using tic controller software. The scAnt_GUI_mw.py file in the GUI folder launches the GUI, but the camera is not listed and the "browse" buttons under Output folder and Load presets do not work in addition to the stepper motors being inactive ... any ideas?
Thanks Charlie