changeset 1370:b246e25b0f25

fix picamserve config Ignore-this: 78ac977da6486319bc162d2b25cb5149
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 07 Jun 2016 08:17:13 +0000
parents 6b5e079b3dbe
children 6c2d78dabb8b
files light9/vidref/remotepivideo.py light9/vidref/vidref.html makefile
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/light9/vidref/remotepivideo.py	Tue Jun 07 08:16:22 2016 +0000
+++ b/light9/vidref/remotepivideo.py	Tue Jun 07 08:17:13 2016 +0000
@@ -46,6 +46,7 @@
         
     def _startRequest(self, url):
         self._buffer = ''
+        log.info('start request to %r', url)
         d = treq.get(url)
         d.addCallback(treq.collect, self._dataReceived)
         # not sure how to stop this
--- a/light9/vidref/vidref.html	Tue Jun 07 08:16:22 2016 +0000
+++ b/light9/vidref/vidref.html	Tue Jun 07 08:17:13 2016 +0000
@@ -29,7 +29,7 @@
     <div>Camera view</div>
     <div>
       <div style="position: relative; display: inline-block">
-        <img id="cam" src="pic?resize=500&awb_mode=auto&exposure_mode=auto&shutter=100000">
+        <img id="cam" src="/picamserve/pic?resize=500&awb_mode=auto&exposure_mode=auto&shutter=100000">
         <div id="cover" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0;"></div>
       </div>
     </div>
--- a/makefile	Tue Jun 07 08:16:22 2016 +0000
+++ b/makefile	Tue Jun 07 08:17:13 2016 +0000
@@ -81,8 +81,8 @@
 	virtualenv --system-site-packages env_pi
 
 raspberry_pi_packages:
-	sudo apt-get install python-picamera python-twisted 
-	env_pi/bin/pip install cyclone coloredlogs
+	sudo apt-get install python-picamera python-dev python-twisted python-virtualenv
+	env_pi/bin/pip install cyclone 'coloredlogs==1.0.1'
 
 darcs_show_checkpoint:
 	darcs add --quiet --recursive ${LIGHT9_SHOW}