| 203 | |
| 204 | [[BR]] |
| 205 | |
| 206 | === Week 10 Report === |
| 207 | '''Work Done''' |
| 208 | * I was not able to do much work this week since I was travelling the past week and was busy with the administrative chores owing to the beginning of a new academic semester, hence I could not work for quite some days. |
| 209 | * However, I had a major breakthrough, because of which the code has been drastically reduced (~70%). Also, I was also able to package the entire PyOSSIM as a single module, which was seeming difficult earlier. |
| 210 | |
| 211 | '''Problems Faced''' |
| 212 | [[BR]] |
| 213 | None |
| 214 | |
| 215 | '''Work to be done in Week 11''' |
| 216 | * Complete the restructuring of wrapped code and implement the optimization changes. |
| 217 | * Start work on wrapping the OSSIM PyQt API. |
| 218 | |
| 219 | [[BR]] |
| 220 | |
| 221 | === Week 11 Report === |
| 222 | '''Work Done''' |
| 223 | [[BR]] |
| 224 | * Restructured the pyOSSIM-SWIG wrapper code, i.e. I made the changes that were required because of the optimization that was found last week. The SWIG-wrapper code was toned, made very modular and srtuctured. The code is now very easy to understand and maintain. |
| 225 | * Finished up reading the SIP documentation required for wrapping the ossimPlanetQt API. |
| 226 | * Set up the PyQt and SIP environments on my local system. This step took a long time due to problems with debian-based packages. I had to then do a manual build with the help of PyQt people. |
| 227 | * Started work on creating a test-suite for pyOSSIM. There is a blocking issue which needs to be solved in this regard. |
| 228 | * Began working on the wrappping of ossimPlanetQt. I was able to create a library({{{.so}}} file) out of the wrapped classes, but there is an issue with accessing it from the Python console. Work is in progress. If this issue is cleared, completion of wrapping for ossimPlanetQt is just a matter of time. |
| 229 | |
| 230 | '''Problems Faced''' |
| 231 | [[BR]] |
| 232 | * As mentioned above, there is an issue while accessing the {{{.so}}} file from the Python console. The library gets created but upon invoking it from a Python console, it gives an {{{ImportError}}}. Working on solving it with the PyQt people. After this is solved, pyOssimPlanetQt wrapping will be completed. |
| 233 | * There was an issue while developing the pyOSSIM test-suite regarding the wrapping of a Python {{{list}}} to a {{{char**}}}. I mailed the SWIG mailing list 2 days back but didn't get any replies. No replies on stackoverflow either. |
| 234 | * There was another problem that cropped up while pyOSSIM testing. The library works fine in Python but when one exits the console, it exits with a segmentation fault. Working on the same with Python-list people. |
| 235 | |
| 236 | '''Work to be done in Week 12''' |
| 237 | [[BR]] |
| 238 | * By solving the above-mentioned blocking issues, we will more or less close-in on most of the project objectives of pyOssim wrapping, pyOssimPlanetQt wrapping and building a test-suite for the same. |