Unable to install Addons in Linux contaner: Webwindow is not valid. It was closed by user or the process was terminated.
16 次查看(过去 30 天)
显示 更早的评论
I am running matlab using the official container images, with GUI access by forwarding the X11 socket.
When I try to install anadd-on using the "Get add-ons" menu item, I eventually get a backtrace:
```
Error using matlab.internal.cef.webwindow/errorOnInValidWindow
Webwindow is not valid. It was closed by user or the process was terminated.
Error in matlab.internal.cef.webwindow/bringToFront (line 673)
obj.errorOnInValidWindow()
Error in matlab.internal.webwindow/bringToFront (line 225)
bringToFront(obj.impl)
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 72)
obj.webwindow.bringToFront();
Error in matlab.internal.addons.Explorer/bringToFront (line 73)
obj.addOnsWindowInstance.bringToFront();
Error in matlab.internal.addons.launchers.showExplorer (line 138)
matlab.internal.addons.Explorer.getInstance.bringToFront;
```
The process is totally sporadic. Sometimes a blank window comes up and stays there, sometimes no window is shown at all, sometimes it comes up and minimises quickly, sometimes it flashes before getting the trace. And sometimes it does appear long enough for me to view a plugin, and after about fifty attempts, finally I was able to install the toolbox I needed. I see no logs output to stderr when running matlab, and no menu for getting debug information. Plenty of other threads have mentioned Windows AntiVirus software, but obviously this doesn't apply here, and if some process has died in the backgorund, I see no obvious way of finding out what has gone on except breaking out htop and watching for something to disappear, or resorting to strace.
I have tried using the web interface instead, but this does not allow me to open the Add-on window at all.
0 个评论
回答(2 个)
Gowthami
2023-4-25
Hello Ben,
This may be related to a known issue where unexpected behaviour occurs when using the Add-On Explorer or Add-On Manager.
The issue is caused by anti-virus software incorrectly flagging the Window Manager in MATLAB.
I recommend you go through the workaround mentioned in the following MATLAB Answer to resolve your issue - https://www.mathworks.com/matlabcentral/answers/1874312-trend-micro-s-security-software-prevents-matlab-s-access-to-matlabwindow-exe-file-inhibiting-web
Gowthami
2023-4-27
Hello Ben,
I understand that you are unable to install Add-Ons in Linux and getting an error as "Webwindow is not valid. It was closed by user or the process was terminated."
I recommend you check the following three points:
- In MATLAB, go to "Preferences -> MATLAB -> Web" and see if "Use a proxy server to connect to the internet" is checked. If it is, un-check this option and see if the issue is still reproduced.
- Make sure that any AntiVirus or Firewalls installed on the system are not blocking anything in the MATLAB installation directory.
- Please disable any VPN before starting MATLAB. You can resume the VPN once MATLAB opens up.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!