[SoC] GSoC 2019 - porting python 2.7.x to 3.x - Week 10 report

Fenil Mehta fenilgmehta at gmail.com
Sun Aug 4 21:04:42 PDT 2019


Hi,

Following is the week 10 report -

# Period
29 July 2019 to 4 August 2019

# Report
### What did I complete this week?
- GeoNode issues has been solved as it is not being used by mapmint or its
dependencies.
- Update package dependencies for Python 3 in ansible-roles
- Fix ZOO-kernel build problem in ansible-roles
- Fix mapserver v7.2.1 installation path in ansible-roles
    * This fixes week 7 issue saving the user from manual work.
- Fix libxslt package import error
    * libxslt is only available for Python 2.x and I could not find a way
to install it for Python 3
    * lxml was the only alternative
    * Changed all the imports and method/function calls to libxslt to lxml
- Update ```mapmint-ui/templates/PSkeleton_bs.tmpl``` to Python3 and
recompile with Cheetah3
- Fix concatenation error in ```mapmint-services/authenticate/service.py```
- Update JQuery as an old version was being used and hence there were
compatibility issues. Updated to the latest version.
    * v2.0.3 ---> v3.4.1
- Raised an issue and started debugging to find the reason behind the
difference in the login page
    * After checking the function calls and the places which decide the
login UI, I came to the conclusion that the function ```def display(conf,
inputs, outputs)``` in ```mapmint/mapmint-services/template/service.py```
is where there is a difference in execution.

### What am I going to achieve for next week?
- Find the reason behind difference in the login page being shown.
- Continue with the testing.

### Is there any blocking issue?
- No blocking issue for the time being.

# Links
Report:
https://github.com/fenilgmehta/mapmint/wiki/Report-Week-10-(29-July-2019-to-4-August-2019)

GitHub Wiki Page:
https://github.com/fenilgmehta/mapmint/wiki/GSoC-2019---porting-python-2.7.x-to-3.x

OSGeo Wiki Page:
https://wiki.osgeo.org/wiki/GSoC_2019_Porting_MapMint_from_Python2_to_Python3

Regards,
Fenil Mehta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20190805/d027c11a/attachment.html>


More information about the SoC mailing list