[Pywps-dev] [ GSOC 2014 ] Database output storage - PostGIS and SQLite

Jachym Cepicky jachym.cepicky at gmail.com
Wed Mar 5 13:05:49 PST 2014


Yah, 

sorry we did not answer anymore - I could not figure out, what that could be.
Glad to hear, you are over it and can continue 

Jachym

kOn Wed, Mar 05, 2014 at 06:02:34AM +0000, Naveen Panwar wrote:
>    Problem is resolved. When I re-install Python3.3, Python2.7 and werkzeug
>    package.
>    Thanks!!!
> 
>    On Mon, Mar 3, 2014 at 10:11 AM, Naveen Panwar <[1]panwarn09 at gmail.com>
>    wrote:
> 
>      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
>      <[2]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 [[3]panwarn09 at gmail.com]
>        > Sent: 02 March 2014 05:37
>        > To: Jachym Cepicky
>        > Cc: [4]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
>        <[5]jachym.cepicky at gmail.com<mailto:[6]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][7]jachym.cepicky at gmail.com<mailto:[8]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][9]pywps-dev at lists.osgeo.org<mailto:[10]pywps-dev at lists.osgeo.org>),
>        fork github (/jachym/pywps-4), join
>        > >      hangout
>        > >      ([3][11]http://doodle.com/4wm7umivegm5sr4x),
>        > >
>        > >      or wait till the 10 March: 19:00 UTC, when the application
>        period opens
>        > >      (according to
>        > >    
>         [4][12]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][13]http://lsi.iiit.ac.in/naveen.panwar
>        > >      >
>        > >      > References
>        > >      >
>        > >      >    Visible links
>        > >      >    1. [6][14]http://lsi.iiit.ac.in/
>        > >      >    2. [7][15]http://lsi.iiit.ac.in/naveen.panwar
>        > >      --
>        > >      Jachym Cepicky
>        > >      URL: [8][16]http://les-ejk.cz
>        > >      e-mail: jachym.cepicky at gmail com
>        > >      PGP: [9][17]http://les-ejk.cz/pgp/JachymCepicky.pgp
>        > >      @jachymc
>        > >
>        > >    --
>        > >    Regards,
>        > >    Naveen Panwar
>        > >    Senior Undergraduate Student
>        > >    IIIT-Hyderabad, India.
>        > >    [10][18]http://lsi.iiit.ac.in/naveen.panwar
>        > >
>        > > References
>        > >
>        > >    Visible links
>        > >    1.
>        mailto:[19]jachym.cepicky at gmail.com<mailto:[20]jachym.cepicky at gmail.com>
>        > >    2.
>        mailto:[21]pywps-dev at lists.osgeo.org<mailto:[22]pywps-dev at lists.osgeo.org>
>        > >    3. [23]http://doodle.com/4wm7umivegm5sr4x
>        > >    4.
>        [24]https://www.google-melange.com/gsoc/events/google/gsoc2014
>        > >    5. [25]http://lsi.iiit.ac.in/naveen.panwar
>        > >    6. [26]http://lsi.iiit.ac.in/
>        > >    7. [27]http://lsi.iiit.ac.in/naveen.panwar
>        > >    8. [28]http://les-ejk.cz/
>        > >    9. [29]http://les-ejk.cz/pgp/JachymCepicky.pgp
>        > >   10. [30]http://lsi.iiit.ac.in/naveen.panwar
>        >
>        > --
>        > Jachym Cepicky
>        > URL: [31]http://les-ejk.cz
>        > e-mail: jachym.cepicky at gmail com
>        > PGP: [32]http://les-ejk.cz/pgp/JachymCepicky.pgp
>        > @jachymc
>        >
>        >
>        >
>        > --
>        >
>        > Regards,
>        > Naveen Panwar
>        > Senior Undergraduate Student
>        > IIIT-Hyderabad, India.
>        >
>        > [33]http://lsi.iiit.ac.in/naveen.panwar
> 
>        --
>        Jachym Cepicky
>        URL: [34]http://les-ejk.cz
>        e-mail: jachym.cepicky at gmail com
>        PGP: [35]http://les-ejk.cz/pgp/JachymCepicky.pgp
>        @jachymc
> 
>      --
>      Regards,
>      Naveen Panwar
>      Senior Undergraduate Student
>      IIIT-Hyderabad, India.
>      [36]http://lsi.iiit.ac.in/naveen.panwar
> 
>    --
>    Regards,
>    Naveen Panwar
>    Senior Undergraduate Student
>    IIIT-Hyderabad, India.
>    [37]http://lsi.iiit.ac.in/naveen.panwar
> 
> References
> 
>    Visible links
>    1. mailto:panwarn09 at gmail.com
>    2. mailto:jachym.cepicky at gmail.com
>    3. mailto:panwarn09 at gmail.com
>    4. mailto:pywps-dev at lists.osgeo.org
>    5. mailto:jachym.cepicky at gmail.com
>    6. mailto:jachym.cepicky at gmail.com
>    7. mailto:jachym.cepicky at gmail.com
>    8. mailto:jachym.cepicky at gmail.com
>    9. mailto:pywps-dev at lists.osgeo.org
>   10. mailto:pywps-dev at lists.osgeo.org
>   11. http://doodle.com/4wm7umivegm5sr4x
>   12. https://www.google-melange.com/gsoc/events/google/gsoc2014
>   13. http://lsi.iiit.ac.in/naveen.panwar
>   14. http://lsi.iiit.ac.in/
>   15. http://lsi.iiit.ac.in/naveen.panwar
>   16. http://les-ejk.cz/
>   17. http://les-ejk.cz/pgp/JachymCepicky.pgp
>   18. http://lsi.iiit.ac.in/naveen.panwar
>   19. mailto:jachym.cepicky at gmail.com
>   20. mailto:jachym.cepicky at gmail.com
>   21. mailto:pywps-dev at lists.osgeo.org
>   22. mailto:pywps-dev at lists.osgeo.org
>   23. http://doodle.com/4wm7umivegm5sr4x
>   24. https://www.google-melange.com/gsoc/events/google/gsoc2014
>   25. http://lsi.iiit.ac.in/naveen.panwar
>   26. http://lsi.iiit.ac.in/
>   27. http://lsi.iiit.ac.in/naveen.panwar
>   28. http://les-ejk.cz/
>   29. http://les-ejk.cz/pgp/JachymCepicky.pgp
>   30. http://lsi.iiit.ac.in/naveen.panwar
>   31. http://les-ejk.cz/
>   32. http://les-ejk.cz/pgp/JachymCepicky.pgp
>   33. http://lsi.iiit.ac.in/naveen.panwar
>   34. http://les-ejk.cz/
>   35. http://les-ejk.cz/pgp/JachymCepicky.pgp
>   36. http://lsi.iiit.ac.in/naveen.panwar
>   37. 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


More information about the pywps-dev mailing list