Comments (9)
Worked for me. Here is what I did:
mv /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js.orig
curl https://raw.githubusercontent.com/elfco/OctoPrint-WebcamTab/patch-1/octoprint_webcamtab/static/js/webcamtab.js > /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js
chown pi.pi /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js
chmod 644 /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js
from octoprint-webcamtab.
i have write a quick fix for 1.7, a bit silly but it works ok xD
from octoprint-webcamtab.
Same in 1.7.0
from octoprint-webcamtab.
@hohenfelsjoe Thanks! Works for me, too!
from octoprint-webcamtab.
Will this be updated so we don't have to work around it?
from octoprint-webcamtab.
Yeah, can also confirm that elfcos webcam.js works (using hohenfelsjoes guide)
Much thanks @both
PS:
using Octo1.7.0 on python 3.7 on complete clean install (including debian)
from octoprint-webcamtab.
Worked for me. Here is what I did:
mv /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js.orig
curl https://raw.githubusercontent.com/elfco/OctoPrint-WebcamTab/patch-1/octoprint_webcamtab/static/js/webcamtab.js > /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js
chown pi.pi /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js
chmod 644 /home/pi/oprint/lib/python3.7/site-packages/octoprint_webcamtab/static/js/webcamtab.js
Sorry I am not very familier with the coding. Are above lines need to be pasted on by one in RPi SSH Putty?
Or I have to manually move something?
from octoprint-webcamtab.
@conqueror433 yes, log in to the RPi using SSH (or local terminal) and paste each line separately, that's all
This will replace the webcamtab.js from the plugin with a patched file for the new OctoPrint version. (and set some necessary file permissions.)
If you mess anything up, the old file is renamed to webcamtab.js.orig
from octoprint-webcamtab.
@harryfiedify Thanks a Ton..!! It Worked..
from octoprint-webcamtab.
Related Issues (13)
- Tab appears but no webcam, same as original version under OctoPrint 1.5 HOT 13
- Wont update and tab not working...
- Feature request: Disable keyboard control on webcam tab HOT 1
- More resilient approach to patch _enableWebcam HOT 2
- 1.9.0 breaks things HOT 11
- Error while updating HOT 6
- the stream is removed from the control tab but no webcam tab HOT 2
- Works excellent, thank you!
- JS error HOT 3
- Error in webcam update HOT 1
- 1.6 compatibility HOT 9
- Problem to update to 0.2.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-webcamtab.