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

Component 'webcam' failed to load with error: Error running shell command: '['iwgetid']' #471

Closed
adman953 opened this issue Jul 24, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@adman953
Copy link

What happened

I updated a hard wired non wifi rapsberry with fluidd and now i get the error message:

Moonraker has failed plugins, please check your logs, update your configuration and restart moonraker.
webcam
Moonraker warnings found.
Component 'webcam' failed to load with error: Error running shell command: '['iwgetid']'
Moonraker plugin configuration can be found here.

I have tried updating the configuration to include the webcam section and tried a number of different settings but nothing works. I have checked the log and have found that iwgetid is wifi dependent and since i do not use wifi it does not work. the webcam does display in fluidd but I have this giant orange error across the top of the interface hat I do not like.

Client

Fluidd

Browser

Chrome

How to reproduce

best guess is update an hard wired raspberry with a webcam and see if the problem reproduces
moonraker (1).log

Additional information

No response

@adman953 adman953 added the bug Something isn't working label Jul 24, 2022
@marco-117
Copy link

I had the same issue i reinstalled moonraker like descripted in the issue #349 with ~/moonraker/scripts/install-moonraker.sh

After that i removed unsued packages with sudo apt autoremove like in the installation process metioned.

Now everything works fine, with no errors or warnings.

@Arksine
Copy link
Owner

Arksine commented Jul 24, 2022

That is unexpected. It suggests that the iwgetid command isn't located in the user's path. This isn't a critical bug, things should still work ok, however annoying nonetheless. I'll see if I can come up with a workaround.

@Arksine
Copy link
Owner

Arksine commented Jul 24, 2022

I pushed a commit that should handle the exception if iwgetid fails. This should allow the webcam module to load correctly

@adman953
Copy link
Author

that fixed it, thank you so much for the quick response

@Arksine
Copy link
Owner

Arksine commented Jul 27, 2022

Thanks, I'll close this since it is resolved

@Arksine Arksine closed this as completed Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants