Giter VIP home page Giter VIP logo

octoprint-webcamtab's People

Contributors

alex1platon avatar elfco avatar gruvin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

octoprint-webcamtab's Issues

Tab appears but no webcam, same as original version under OctoPrint 1.5

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.

1.9.0 breaks things

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.

webcamtab js console errors.log

1.6 compatibility

Could you update for compatibility with 1.6
I just get a blank screen since updating.

Error in webcam update

Screenshot 2021-01-27 211410

I tried updating the webcam and I got this error. The webcam does not show up in the PC browser but does in the TouchUI view.

Problem to update to 0.2.1

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?

Feature request: Disable keyboard control on webcam tab

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.

More resilient approach to patch _enableWebcam

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.

https://github.com/malnvenshorn/OctoPrint-WebcamTab/blob/0420fa435a40b9a76b489f6339b1ed5bb7b22264/src/octoprint_webcamtab/static/js/main.js#L20-L32

Wont update and tab not working...

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.

Works excellent, thank you!

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.

JS error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.