[SoC] GSoC 2019 - porting python 2.7.x to 3.x - Week 12 report
Fenil Mehta
fenilgmehta at gmail.com
Sat Aug 17 21:38:40 PDT 2019
Hi,
Following is the week 12 report:
# Period
12 August 2019 to 18 August 2019
# Report
### What did I complete this week?
- [ansible-roles -> GSoC 2019 Python 2 update branch](
https://github.com/fenilgmehta/ansible-roles/commits/GSoC-2019-python2-update)
has been merged to the master branch of [ansible-roles](
https://github.com/mapmint/ansible-roles)
* Link to [Pull Request](https://github.com/mapmint/ansible-roles/pull/6
)
- [Fix](
https://github.com/fenilgmehta/ansible-roles/commit/a9601d3ca43b2ddb36227ba74e3724609fa35065)
mapserver python installation path file missing error in ansible-roles
- [Add](
https://github.com/fenilgmehta/ansible-roles/commit/6753cfbf7f17f8b314f46862cef973a8ff0fc929)
python3 script to automatically update the r-cran items in the ansible
playbook using Web scraping
- Tried to resolve the following error but no success:
* Tried to use the "ast" library -> ast.literal_eval(...) so that the
string representation of the dictionary can be used to retrieve a
dictionary object but resulted into parsing error: ```unexpected EOF while
parsing```
```
ERROR: string indices must be integers Traceback (most recent call last):
File "/home/src/mapmint/mapmint-services/template/service.py", line 257, in
display outputs["Result"]["value"] = t.__str__() File
"/usr/local/lib/python3.6/dist-packages/Cheetah/Template.py", line 1053, in
__unicode__ return getattr(self, mainMethName)() File
"/home/src/mapmint/mapmint-ui/templates/Skeleton_bs.py", line 355, in
respond _v = VFFSL(SL,"body",True) # '$body' on line 185, col 1 File
"_home_src_mapmint_mapmint_ui_templates_Dashboard_bs_tmpl.py", line 440, in
body TypeError: string indices must be integers
```
- Raise [pull request](https://github.com/mapmint/ansible-roles/pull/7) for
the ansible-roles -> GSoC-2019-python3-support branch
- Raise [pull request](https://github.com/mapmint/mapmint/pull/18) for the
work done during the coding period now on the mapmint forked repository.
- Started preparing the final evaluation report and discussing with the
mentors.
### What am I going to achieve for next week?
- Discuss the final report with the mentors and submit it.
- Submit the final evaluation.
### Is there any blocking issue?
- No blocking issue for the time being.
# Links
Week 12 report:
https://github.com/fenilgmehta/mapmint/wiki/Report-Week-12-(12-August-2019-to-18-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/20190818/758a45ea/attachment.html>
More information about the SoC
mailing list