gruvin / octoprint-webcamtab Goto Github PK
View Code? Open in Web Editor NEWThis project forked from malnvenshorn/octoprint-webcamtab
OctoPrint plugin to show the webcam stream in a separate tab
License: GNU Affero General Public License v3.0
This project forked from malnvenshorn/octoprint-webcamtab
OctoPrint plugin to show the webcam stream in a separate tab
License: GNU Affero General Public License v3.0
OctoPrint v 1.4.2
Pi 4 4G
Made several attempts to load this through the plugin manager and from the GitJub zip file, No luck.
imported from https://github.com/malnvenshorn/OctoPrint-WebcamTab/issues/14
@DodgeDeBoulet wrote
Is the [link you've provided] a version that is supposed to work? Because it doesn't ... I get the exact same results as I reported in Tab created but no webcam display in 1.5.0rc3 #13.
This version does work, however, provided in the linked issue by @jneilliii.
@DodgeDeBoulet Thanks for the feedback. Yes, it should. Did you remove the old/original plugin?
We should move this discussion to https://github.com/gruvin/OctoPrint-WebcamTab/issues/1
Meanwhile, I installed mine directly from the repo. I'll download that auto-generated master.zip and try it out. Strange.
With OctoPrint 1.9.0 several things have been redone relative to the webcam and it seems with this plugin there are js errors on page load. Maybe the same changes mentioned by maInvenshorn in #14 might help the situation. I'd recommend switching OctoPrint's release channel in Software Update settings to maintenance rcs and give a test. Seems to be an issue with the onAllBound callback.
Hi!
With the latest OctoPrint 1.7.0rc3 release, the plugin does not work anymore. The Webcam tab is created, but the actual camera view is not moved to the new tab.
Regards,
Holger
Could you update for compatibility with 1.6
I just get a blank screen since updating.
I try to update my 0.2.0 to latest 0.2.1. I see a popup in OctoPrint to upgrade, I press to upgrade and it ends with "The update finished successfully and the server will now be restarted."
After the reboot I still get a popup to upgrade from 0.2.0 to 0.2.1. When I check what version I have installed, it say 0.2.0.
I have tried to uninstall (and clean up) But I still only get 0.2.0.
What could be the problem?
Would it be possible to disable keyboard control on webcam tab? When I monitor my print it already happened that suddenly printer started moving just because while my mouse was over the image I wanted to tab out and move cursor around but the movement disrupted the print which just uses relative offset with the move. I understand based on readme that this move from control panel is hacky, but maybe there is a way to hack out also this feature.
Hi, thank you for maintaining my plugin. I've updated the original code and used a different approach to patch the _enableWebcam
method which should be more resilient to future changes. Not sure if there can be side effects if the tab changes while the method runs, but it seems to work quite good. You might want to take a look at it. I haven't made a pull request because I modified the whole package.
My webcam tab isn't working. Everything else is up to date. When i go over to webcam tab, it displays nothing but when doing in to settings and test, it shows my cam so URL is correct.
I cannot update this webcam tab as it just comes up with error every time. Heres the error log:
2021-08-08 06:20:46,623 /home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https://github.com/malnvenshorn/OctoPrint-WebcamTab/archive/0.2.11.zip --no-cache-dir
2021-08-08 06:20:49,937 > Collecting https://github.com/malnvenshorn/OctoPrint-WebcamTab/archive/0.2.11.zip
2021-08-08 06:20:55,766 ! HTTP error 404 while getting https://github.com/malnvenshorn/OctoPrint-WebcamTab/archive/0.2.11.zip
2021-08-08 06:20:55,771 ! Could not install requirement https://github.com/malnvenshorn/OctoPrint-WebcamTab/archive/0.2.11.zip because of error 404 Client Error: Not Found for url: https://codeload.github.com/malnvenshorn/OctoPrint-WebcamTab/zip/0.2.11
2021-08-08 06:20:55,773 ! Could not install requirement https://github.com/malnvenshorn/OctoPrint-WebcamTab/archive/0.2.11.zip because of HTTP error 404 Client Error: Not Found for url: https://codeload.github.com/malnvenshorn/OctoPrint-WebcamTab/zip/0.2.11 for URL https://github.com/malnvenshorn/OctoPrint-WebcamTab/archive/0.2.11.zip
Thanks.
Ashley.
Here is the "plugin softwareupdate_console.log..
plugin_softwareupdate_console.log
For those with trouble:
For me, this installed but was not enabled. Had to go to settings (for me it was the very last entry), Enable, then restart.
I am getting the following JS error in the browser console:
Error calling onAllBound on view model WebcamTabViewModel : TypeError: Cannot read property 'substr' of undefined
at WebcamTabViewModel.self.onAllBound (http://192.168.1.7:5000/static/webassets/packed_plugins.js?2b420425:19535:73)
at callViewModelIf (http://192.168.1.7:5000/static/webassets/packed_core.js?407b5f07:950:75)
at http://192.168.1.7:5000/static/webassets/packed_core.js?407b5f07:944:138
at Pn (http://192.168.1.7:5000/static/webassets/packed_libs.js?ab739628:1:94753)
at Function.<anonymous> (http://192.168.1.7:5000/static/webassets/packed_libs.js?ab739628:1:105184)
at callViewModelsIf (http://192.168.1.7:5000/static/webassets/packed_core.js?407b5f07:944:95)
at callViewModels (http://192.168.1.7:5000/static/webassets/packed_core.js?407b5f07:943:56)
at bindViewModels (http://192.168.1.7:5000/static/webassets/packed_core.js?407b5f07:1010:87)
I am assuming that this is because I have (or had) the WTV plugin enabled without a webcam installed - and I have now disabled this plugin. However this situation should probably be handled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.