[cpia] new version of cpia-control

Peter Pregler Peter.Pregler@risc.uni-linz.ac.at
Fri, 24 Mar 2000 08:31:38 +0100 (CET)


This message is in MIME format
--_=XFMail.1.4.4.Linux:20000324083138:650=_
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Ooops,

never ever believe that some program will work. Alyways test it with the
actual versions the user will use. I use the cvs-version of the driver for
which I changed the proc-output slightly. :( Okay, I have attached a small
patch that will fix it for now, just uncomment the offending lines. I will
release something better in the evening.

Sorry for the fuss, Peter

On 23-Mar-2000 Sang Y. Yum wrote:
> Peter,
>=20
> I am not a Python programmer. :) cpia-control failed
> on my machine:
>=20
> [sang@pikatsu cpia-control]$ rpm -q python pygtk
> python-1.5.2-11ac
> pygtk-0.6.3-8ac
> [sang@pikatsu cpia-control]$ ./cpia-control
> Traceback (innermost last):
>   File "./cpia-control", line 70, in ?
>     camera=3Dlibcpia.status()
>   File "./libcpia.py", line 80, in __init__
>     self.__update()
>   File "./libcpia.py", line 140, in __update
>     self.camera_status_min[key]=3Dm.group(3)
>   File "/usr/lib/python1.5/re.py", line 347, in group
>     raise IndexError, 'group %s is undefined' % `g`
> IndexError: group 3 is undefined
>
>=20
> --- Peter Pregler <Peter.Pregler@risc.uni-linz.ac.at>
> wrote:
>> Hi all,
>>=20
>> I have released a new version of the control client.
>> New features are:
>>=20
>>               - added support for saving/loading the
>> camera state
>>               - the GUI now tracks the camera state
>>               - various bug fixes
>>=20
>> It is available at:
>> http://sourceforge.net/project/?group_id=3D3159
>>=20
>> This is close to the final version from my side. If
>> you want some additional
>> features step forward now or implement it yourself.
>> There are a lot of things
>> in the todo. Do not take that too serious. I am
>> bored with it. :)
>>=20
>> Have fun, Peter
>>=20
>> -------------------------------
>> Even the thought that a ship was waiting to take him
>> back to Earth
>> did not wipe out the sense of loss he felt at that
>> moment.
>> -------------------------------
>> Email: Peter.Pregler@risc.uni-linz.ac.at
>> Peter Pregler / RISC, University of Linz, Austria
>>=20
>> _______________________________________________
>> cpia mailing list  -  cpia@risc.uni-linz.ac.at
>>
> http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
>>=20
>=20
> =3D=3D=3D=3D=3D
> Sang Y. Yum             http://www.yumnet.dyndns.org/~sang
> San Diego, CA           mailto:tdat@yahoo.com
>=20
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com

-------------------------------
Email: Peter.Pregler@risc.uni-linz.ac.at
WWW:   http://www.risc.uni-linz.ac.at/people/ppregler

--_=XFMail.1.4.4.Linux:20000324083138:650=_
Content-Disposition: attachment; filename="cpia-control.0.3.patch"
Content-Description: cpia-control.0.3.patch
Content-Type: text/plain;
 charset=iso-8859-1; name=cpia-control.0.3.patch; SizeOnDisk=770
Content-Transfer-Encoding: 7bit

--- libcpia.py	Fri Mar 24 08:23:59 2000
+++ libcpia.py.bad	Fri Mar 24 08:25:12 2000
@@ -137,9 +137,9 @@
                     except KeyError:
                         self.camera_status_changed[key]=0
                         self.camera_status[key]=m.group(2)
-                        #self.camera_status_min[key]=m.group(3)
-                        #self.camera_status_max[key]=m.group(4)
-                        #self.camera_status_default[key]=m.group(5)
+                        self.camera_status_min[key]=m.group(3)
+                        self.camera_status_max[key]=m.group(4)
+                        self.camera_status_default[key]=m.group(5)
                 else:
                     if key=='V4L Driver version':
                         match_string=\

--_=XFMail.1.4.4.Linux:20000324083138:650=_--
End of MIME message