Subsurface for Android

Pierre-Yves Chibon pingou at pingoured.fr
Wed Oct 3 09:49:10 PDT 2012


On Wed, 2012-10-03 at 09:46 -0700, Dirk Hohndel wrote:
> Pierre-Yves Chibon <pingou at pingoured.fr> writes:
> 
> > On Wed, 2012-10-03 at 08:18 -0700, Dirk Hohndel wrote:
> >> Pierre-Yves Chibon <pingou at pingoured.fr> writes:
> >
> >> > Actually, I put a GPLv3+ on the webapp, I can change that to GPLv2+ if
> >> > we prefer.
> >> 
> >> For an application like the web service provider I think there is
> >> nothing in GPL3 that I would object to, so pick whatever you are
> >> comfortable with.
> >
> > For the shake of consistency, I'll switch to GPLv2.
> >
> >> >> Pierre - I assume the changes I suggested to transfer the date/time
> >> >> would be easy enough to add on the server side. Should we just agree on
> >> >> a URL format like this:
> >> >> 
> >> >> http://host/api/dive/<loginID>/<lat>/<long>/<UTC date>/<UTC time>/<location name>
> >> >
> >> > Updated and push in the git. You will have to regenerate the database
> >> > though.
> >> 
> >> No problem as so far I have only done test connections (obviously) :-)
> >
> > Well, with the changes I did this morning, you might be surprise if you
> > check the UI now ;-)
> 
> when running model.py again to recreate the database I get this:
> 
> Traceback (most recent call last):
>   File "model.py", line 147, in <module>
>     from subsurface_webservice import DB_URL
>   File "/home/hohndel/subsurface-companion/subsurface_webservice.py", line 42, in <module>
>     import forms
>   File "/home/hohndel/subsurface-companion/forms.py", line 30, in <module>
>     from flask.ext import wtf
> ImportError: No module named ext
> 
> I'm not a python expert by any stretch of the imagination... what am I missing?

Two dependencies I think:
yum install python-wtforms python-flask-wtf

Pierre


More information about the subsurface mailing list