microscope-cockpit / cockpit

Cockpit is a microscope graphical user interface. It is a flexible and easy to extend platform aimed at life scientists using bespoke microscopes.
https://microscope-cockpit.org
GNU General Public License v3.0
37 stars 27 forks source link

remote object has no exposed attribute or method 'may_move_on_enable' #827

Closed Jakob-We closed 2 years ago

Jakob-We commented 2 years ago

20220927_Tue-0747.log When starting up a fresh install of cockpit with: python -m cockpit it can not start with the attached log. Looks like the DummyStage dosent support the may_move_on_enable. Operation system: Windows 10. Python version: v3.9.2:1a79785

juliomateoslangerak commented 2 years ago

I believe this is because the cockpit installation is not pulling the last changes from python-microscope.

In your environment, if you do pip list you will probably see microscope version 0.6.0. Can you try to uninstall microscope pip uninstall microscope and reinstall it from the git source pip install git+https://github.com/python-microscope/microscope.git?

carandraug commented 2 years ago

To add to Julio's reply: you're using Cockpit development version (from git) which is dependent on Microscope development version. Because the Microscope version that adds the may_move_on_enable method has not yet been released there is no version number that we can list as a Cockpit dependency. In the mean time, please install Microscope from its git repo (on github at https://github.com/python-microscope/microscope )