Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GUI) No constructor 'handle.listener' with matching signature found. #23

Closed
alejoe91 opened this issue Mar 8, 2019 · 6 comments · Fixed by #595
Closed

(GUI) No constructor 'handle.listener' with matching signature found. #23

alejoe91 opened this issue Mar 8, 2019 · 6 comments · Fixed by #595
Assignees

Comments

@alejoe91
Copy link

alejoe91 commented Mar 8, 2019

Hi,

I'm trying to launch the GUI after installing the GUI Layout Toolbox and I get this error:

No constructor 'handle.listener' with matching signature found.

Error in uiextras.Container (line 95)
            obj.Listeners{end+1,1} = handle.listener( containerObj, findprop( containerObj, 'PixelBounds' ),
            'PropertyPostSet', @obj.onResized );

Error in uiextras.Box (line 38)
            obj@uiextras.Container( varargin{:} );

Error in uiextras.VBox (line 44)
            obj@uiextras.Box( varargin{:} );

Error in ksGUI/build (line 100)
            obj.H.root = uiextras.VBox('Parent', f,...

Error in ksGUI (line 47)
            obj.build(parent);

Error in kilosort (line 17)
h = ksGUI(f);

Apparently, the issue is recent (https://se.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox - see comment from 7 Mar 2019). I'm using Matlab 2018b on Ubuntu 18.04.

Any workaround?

Thanks,
Alessio

@nsteinme
Copy link
Collaborator

nsteinme commented Mar 8, 2019

I think someone else had this issue and the problem was that they had installed the wrong version of the gui layout toolbox. The version at your link is the correct one, but maybe you should uninstall and re-install from that link? It's working for me on 2018b (though I am on win10).

@etrautmann
Copy link

etrautmann commented Mar 8, 2019 via email

@alejoe91
Copy link
Author

alejoe91 commented Mar 8, 2019

I will try to install from the link and let you know the outcome.

Thanks again!
Alessio

@alejoe91
Copy link
Author

Installing the downloaded toolbox solves the problem. Thanks

@Datamance
Copy link

I have GUI Layout toolbox 2.3.5 on R2022b and I'm getting this error, FWIW. Have there been more recent updates to GUI Layout Toolbox that have broken things?

@Datamance
Copy link

Nevermind, that particular issue is fixed after restarting MATLAB. Go figure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants