<div dir="ltr">I have set the PYTHONPATH.<div><br></div><div>following is the output of two command which you asked me to run.</div><div><br></div><div><div>>>> <b>werkzeug.__version__</b></div><div>'0.9.4'<br>
</div></div><div><br></div><div><div><br><div><div>>>> <b>from werkzeug._compat import text_type</b></div><div><b><br></b></div><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div>
<div>ImportError: No module named _compat</div></div><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 3, 2014 at 1:45 PM, Jachym Cepicky <span dir="ltr"><<a href="mailto:jachym.cepicky@gmail.com" target="_blank">jachym.cepicky@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
regarding the complexouput error, I use<br>
<br>
export PYTHONPATH=./tests/:./:./pywps:<br>
<br>
before I call 'tox', python3 seems then to work<br>
<br>
regarding werkzeug: did you try to run in from command line?<br>
<br>
python<br>
<br>
>>> from werkzeug.__compat import text_type<br>
<br>
and see, if it works?<br>
<span class="HOEnZb"><font color="#888888"><br>
J<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Sun, Mar 02, 2014 at 03:01:11PM +0000, Mendes de Jesus, Jorge wrote:<br>
> Hi to all<br>
><br>
> 1) Python versions<br>
><br>
> If I'm not mistaken we agreed on using python2.7 and python3.3 as minimal requirements. Therefore all code has to work on both interpreters.<br>
><br>
> As an extra pypy should be supported (latest version seems to be working fine with PyWPS)<br>
><br>
> 2) werkzeug error<br>
><br>
> I've upgraded my werkzeug package to your version and tried to recreate the tox (tox -e ) but hit some other error with module import<br>
> py27 runtests: commands[0] | python tests/__init__.py<br>
> Traceback (most recent call last):<br>
> File "tests/__init__.py", line 4, in <module><br>
> import parse<br>
> File "/home/jesus/src/pywps4/pywps-4/tests/parse/__init__.py", line 11, in <module><br>
> from pywps import request<br>
> File "/home/jesus/src/pywps4/pywps-4/pywps/__init__.py", line 24, in <module><br>
> from pywps.app import (<br>
> File "/home/jesus/src/pywps4/pywps-4/pywps/app.py", line 283, in <module><br>
> class ComplexOutput(inout.ComplexOutput):<br>
> AttributeError: 'module' object has no attribute 'ComplexOutput'<br>
><br>
><br>
> And then on py33<br>
> py33 runtests: commands[0] | python tests/__init__.py<br>
> Traceback (most recent call last):<br>
> File "tests/__init__.py", line 4, in <module><br>
> import parse<br>
> File "/home/jesus/src/pywps4/pywps-4/tests/parse/__init__.py", line 11, in <module><br>
> from pywps import request<br>
> File "/home/jesus/src/pywps4/pywps-4/pywps/__init__.py", line 24, in <module><br>
> from pywps.app import (<br>
> File "/home/jesus/src/pywps4/pywps-4/pywps/app.py", line 15, in <module><br>
> from pywps import inout<br>
> ImportError: bad magic number in 'pywps.inout': b'\x03\xf3\r\n'<br>
><br>
><br>
><br>
> @Naveen:<br>
><br>
> I can't replicate your problem :(, also on Wednesday we merged one branch into the master (try to use this code), the above error messages were probably caused by the merge.<br>
><br>
> Today I dont have much time, but either me or Jachym will give a look at the problems on the master code.<br>
><br>
> Cheers<br>
> Jorge<br>
><br>
><br>
> ________________________________________<br>
> From: Naveen Panwar [<a href="mailto:panwarn09@gmail.com">panwarn09@gmail.com</a>]<br>
> Sent: 02 March 2014 05:37<br>
> To: Jachym Cepicky<br>
> Cc: <a href="mailto:pywps-dev@lists.osgeo.org">pywps-dev@lists.osgeo.org</a>; Mendes de Jesus, Jorge<br>
> Subject: Re: [ GSOC 2014 ] Database output storage - PostGIS and SQLite<br>
><br>
> Sorry, I forgot to mention that,<br>
> I have Ubuntu 12.04 (Linux) , 64 bit machine.<br>
><br>
><br>
> On Sat, Mar 1, 2014 at 8:53 PM, Jachym Cepicky <<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a><mailto:<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a>>> wrote:<br>
> On which platform are you operating? Linux? Which distro?<br>
><br>
> I have<br>
><br>
> >>> werkzeug.__version__<br>
> '0.9.4'<br>
><br>
> What about you?<br>
><br>
> Jachym<br>
><br>
> On Sat, Mar 01, 2014 at 11:00:02PM +0530, Naveen Panwar wrote:<br>
> > Hello sir,<br>
> > As you suggested I have forked github (/jachym/pywps-4). Run it on my<br>
> > machine I got following output as a result of "tox" command.<br>
> > do I really need to have python3.3 ?? as it already successfully build<br>
> > with python2.7.<br>
> > last 10 lines --<br>
> > Test GML validator ... ok<br>
> > ----------------------------------------------------------------------<br>
> > Ran 58 tests in 16.374s<br>
> > OK (skipped=21)<br>
> > py33 create: /home/naveen/pywps-4/.tox/py33<br>
> > ERROR: InterpreterNotFound: python3.3<br>
> > _______________________________________________________________________________<br>
> > summary<br>
> > ________________________________________________________________________________<br>
> > py27: commands succeeded<br>
> > ERROR: py33: InterpreterNotFound: python3.3<br>
> > Also when I run "python tests/__init__.py", I got following error.<br>
> > File "__init__.py", line 4, in <module><br>
> > import parse<br>
> > File "/home/naveen/pywps-4/tests/parse/__init__.py", line 11, in<br>
> > <module><br>
> > from pywps import request<br>
> > File "/home/naveen/pywps-4/pywps/__init__.py", line 24, in <module><br>
> > from pywps.app import (<br>
> > File "/home/naveen/pywps-4/pywps/app.py", line 8, in <module><br>
> > from pywps.exceptions import InvalidParameterValue, \<br>
> > File "/home/naveen/pywps-4/pywps/exceptions.py", line 10, in <module><br>
> > from werkzeug._compat import text_type<br>
> > ImportError: No module named _compat<br>
> > Could you please suggest anything about the error ?<br>
> ><br>
> > On Thu, Feb 27, 2014 at 2:21 AM, Jachym Cepicky<br>
> > <[1]<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a><mailto:<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a>>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > sorry for late answer - we were waiting till OSGeo is accepted as<br>
> > mentoring<br>
> > organisation.<br>
> ><br>
> > You can start working any time (join the mailing list -<br>
> > [2]<a href="mailto:pywps-dev@lists.osgeo.org">pywps-dev@lists.osgeo.org</a><mailto:<a href="mailto:pywps-dev@lists.osgeo.org">pywps-dev@lists.osgeo.org</a>>), fork github (/jachym/pywps-4), join<br>
> > hangout<br>
> > ([3]<a href="http://doodle.com/4wm7umivegm5sr4x" target="_blank">http://doodle.com/4wm7umivegm5sr4x</a>),<br>
> ><br>
> > or wait till the 10 March: 19:00 UTC, when the application period opens<br>
> > (according to<br>
> > [4]<a href="https://www.google-melange.com/gsoc/events/google/gsoc2014" target="_blank">https://www.google-melange.com/gsoc/events/google/gsoc2014</a>) and<br>
> > proceed the standard way<br>
> ><br>
> > Expect pywps-4 to be one big building place right now, we are shifting<br>
> > big parts<br>
> > of code from one side to another, some of the ideas are just in our<br>
> > heads right<br>
> > now, but we are approaching.<br>
> ><br>
> > cheers<br>
> ><br>
> > Jachym<br>
> > On Mon, Feb 17, 2014 at 07:16:50PM +0530, Naveen Panwar wrote:<br>
> > > Hello Sir,<br>
> > > I am currently pursuing my master in Spatial Informatics at�[1]Lab<br>
> > for<br>
> > > Spatial Informatics.<br>
> > > I am interested in the development of the project "Database output<br>
> > > storage" both in PostGIS and Sqlite. Because I have worked before,<br>
> > both in<br>
> > > Python and Spatial Databases.�<br>
> > > And these project provided me the good�opportunity of development<br>
> > in<br>
> > > python with my research areas.�<br>
> > > My programming skills -�C, C++, Python, Java.<br>
> > > Also I am families with open source development.<br>
> > > I build "VRGeo SMS tool" which is a open source crowd sourcing<br>
> > platform to<br>
> > > collect the data from user using SMS. In this project we used<br>
> > PostgreSQL<br>
> > > as a Database storage.<br>
> > > Please let me know how can I start working for the same. As the<br>
> > students<br>
> > > application for GSOC-2014 will start on March 10, 2014.<br>
> > > --<br>
> > > Regards,<br>
> > > Naveen Panwar<br>
> > > IIIT-Hyderabad, India.<br>
> > > +91-9030736015<br>
> > > [2][5]<a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
> > ><br>
> > > References<br>
> > ><br>
> > > Visible links<br>
> > > 1. [6]<a href="http://lsi.iiit.ac.in/" target="_blank">http://lsi.iiit.ac.in/</a><br>
> > > 2. [7]<a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
> > --<br>
> > Jachym Cepicky<br>
> > URL: [8]<a href="http://les-ejk.cz" target="_blank">http://les-ejk.cz</a><br>
> > e-mail: jachym.cepicky at gmail com<br>
> > PGP: [9]<a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br>
> > @jachymc<br>
> ><br>
> > --<br>
> > Regards,<br>
> > Naveen Panwar<br>
> > Senior Undergraduate Student<br>
> > IIIT-Hyderabad, India.<br>
> > [10]<a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
> ><br>
> > References<br>
> ><br>
> > Visible links<br>
> > 1. mailto:<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a><mailto:<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a>><br>
> > 2. mailto:<a href="mailto:pywps-dev@lists.osgeo.org">pywps-dev@lists.osgeo.org</a><mailto:<a href="mailto:pywps-dev@lists.osgeo.org">pywps-dev@lists.osgeo.org</a>><br>
> > 3. <a href="http://doodle.com/4wm7umivegm5sr4x" target="_blank">http://doodle.com/4wm7umivegm5sr4x</a><br>
> > 4. <a href="https://www.google-melange.com/gsoc/events/google/gsoc2014" target="_blank">https://www.google-melange.com/gsoc/events/google/gsoc2014</a><br>
> > 5. <a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
> > 6. <a href="http://lsi.iiit.ac.in/" target="_blank">http://lsi.iiit.ac.in/</a><br>
> > 7. <a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
> > 8. <a href="http://les-ejk.cz/" target="_blank">http://les-ejk.cz/</a><br>
> > 9. <a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br>
> > 10. <a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
><br>
> --<br>
> Jachym Cepicky<br>
> URL: <a href="http://les-ejk.cz" target="_blank">http://les-ejk.cz</a><br>
> e-mail: jachym.cepicky at gmail com<br>
> PGP: <a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br>
> @jachymc<br>
><br>
><br>
><br>
> --<br>
><br>
> Regards,<br>
> Naveen Panwar<br>
> Senior Undergraduate Student<br>
> IIIT-Hyderabad, India.<br>
><br>
> <a href="http://lsi.iiit.ac.in/naveen.panwar" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
<br>
--<br>
Jachym Cepicky<br>
URL: <a href="http://les-ejk.cz" target="_blank">http://les-ejk.cz</a><br>
e-mail: jachym.cepicky at gmail com<br>
PGP: <a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br>
@jachymc<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><br><div dir="ltr"><div><font face="arial, helvetica, sans-serif">Regards,</font></div><div><font face="arial, helvetica, sans-serif">Naveen Panwar</font></div>
<div><font face="arial, helvetica, sans-serif"><span style="text-align:-webkit-auto">Senior</span><span style="text-align:-webkit-auto"> </span><span style="text-align:-webkit-auto">Undergraduate Student</span><br></font></div>
<div><span style="text-align:-webkit-auto"><font face="arial, helvetica, sans-serif">IIIT-Hyderabad, India.</font></span></div><div><span style="text-align:-webkit-auto"><font face="arial, helvetica, sans-serif"><br></font></span></div>
<div><div style="font-family:arial;font-size:small"><a href="http://lsi.iiit.ac.in/naveen.panwar" style="font-family:arial,helvetica,sans-serif;color:rgb(17,85,204)" target="_blank">http://lsi.iiit.ac.in/naveen.panwar</a><br>
</div><div style="font-family:arial;font-size:small"><br></div></div></div></div>
</div>