Hello @benedictdied ! Thank you for the reply and additional comments. I will follow the same point-by-point scheme you used:
I’m happy to contribute in any way I can. I agree with you in that a unified version is the better approach for this. In my mind, the first thing to do is look up the git-hub repo from the project. When I visit the UC2 main repo there is a section that talks about the repos associated to it which are divided in 3: hardware, REST and ImSwitch. However, ImSwitch repo is associated to a fork born from beniroquai’s git ecosystem and not UC2’s official fork. This leads me to some confusion, so I’m already not sure where to make a pull request for a documentation update. Consolidating this would be a great start.
If the URL you provided is the updated installation protocol, the defined ImSwitch main repo should harbor this same set of instructions. Other documentation sources such as this forum, openuc2.github.io docs, read-the-docs and readme from the non-main or conflicting fork, should serve as additional information where time-stamps help make the difference between updated and obsolete information, when compared to the main repo.
It’s indeed explained there, sorry I missed that. I think that the focus of the main repo should be for Linux based systems and present macOS and Windows as optional installation methods. I followed Option C: Install from Github (UC2 version) but it wasn’t obvious to me that we weren’t talking about Linux based systems, leading to the confusion on working directories I mentioned before. That way it’s easier to follow the thread of information.
Unfortunately, no luck here. I tried to run ImSwitch with the new .json file and I get the following error:
ERROR [main] Traceback (most recent call last):
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/imcontrol/controller/ImConMainController.py”, line 56, in init
self.controllers[widgetKey] = self.__factory.createController(
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/imcommon/controller/basecontrollers.py”, line 46, in createController
controller = controllerClass(*self.__args, *args,
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/imcontrol/controller/controllers/DPCController.py”, line 96, in init
self.frameShape = self.detector.getLatestFrame().shape
AttributeError: ‘NoneType’ object has no attribute ‘shape’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/main.py”, line 126, in main
view, controller = modulePkg.getMainViewAndController(
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/imcontrol/init.py”, line 80, in getMainViewAndController
raise e
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/imcontrol/init.py”, line 75, in getMainViewAndController
controller = ImConMainController(options, setupInfo, view, moduleCommChannel)
File “/home/wenzel-lab/Documents/wenzel_repositories/imswitch/imswitch/imcontrol/controller/ImConMainController.py”, line 72, in init
raise ValueError(f’No controller found for widget {widgetKey}')
ValueError: No controller found for widget DPC
I also had problems with the openUC2 WebSERIAL Demonstration where no compatible devices were found. I tried changing the baudrate but nothing happened.
Regarding the documentation, as I mentioned earlier, I can make a pull request and I can attach the description with all the details regarding the information layout I have in mind.
I hope you find this information useful and we really appreciate your help.
Thank you for your time!