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