Difference between revisions of "User:Abhiram/GSoC2023/Log"

From BRL-CAD
(Thursday, June 15th, 2023)
(Development Logs)
Line 85: Line 85:
 
* Almost finished setting up the environment, took me a lot of time than I expected it to
 
* Almost finished setting up the environment, took me a lot of time than I expected it to
 
* resolved some of the conflicts that were present in the CmakeLists file. Will resolve the remaining tomorrow.
 
* resolved some of the conflicts that were present in the CmakeLists file. Will resolve the remaining tomorrow.
 +
 +
==Thursday, June 15th, 2023==
 +
* Spent almost the entire day trying to fix this error ( ```file STRINGS file "/include/boost_1_61_0/boost/version.hpp" cannot be read.```). Tried giving read permission manually, resetting the entire environment, nothing seemed to work.
 +
* Because of the following error boost is not being detected properly. In one attempt the build failed at around 48% because one of the variables wasnt defined, after that when I tried to rebuild it came to the same ```version.hpp``` error

Revision as of 07:09, 17 June 2023

Development Logs

Community Bonding Period, May 4th – May 28th

  • Got a bit familiar with CMake
  • Spoke with my mentor on how to proceed with things moving ahead
  • Made a note of all the current libraries and their last supported version for Python2
  • Got more familiar with c++ part of the codebase

Work Period

Monday, May 29th, 2023

  • Appleseed gave some build errors which previously weren't there, maybe it happened because I have accidentally moved some files
  • I have my semester end exam on May 30th, couldn't focus on this because of that. Will try to fix it the next day.

Tuesday, May 30th, 2023

  • Fixed the error, had to clear the path to dependencies and add them again. The root cause is still unknown, but hopefully it doesn't occur again.
  • Made changes to the development environment using python poetry (helps manage virtual environments better)
  • UPDATE: will work on updating build logic for now, once I have enough time (i.e., after my final exams are over on June 8th) I will switch the development environment to Linux as that will make things a lot easier for me.

Wednesday, May 31st, 2023

  • Couldn't work on the project as I had an exam the next day

Thursday, June 1st, 2023

  • Updated the runtestsuite.py file to python3
  • Updated png.py file to python3, replaced all the map functions present in the file with list comprehension, updated the usage of the next() method and few other changes

Friday, June 2nd, 2023

  • Updated the appleseed.package file. Removed Unicode prefix
  • Updated cleanmany.py file. Added parenthesis to print function and replaced format with f-strings.
  • Updated convermany.py file. Made changes to print function and updated the next method

Saturday, June 3rd, 2023

  • Most of the changes I am making are almost repetitive so ill stop mention them unless a new change is made
  • Updated oslextractmeta, rendermanager, rendermany, rendernode files.
  • In rendernode.py renamed the module _winreg to winreg

Sunday, June 4th, 2023

  • Have an exam coming up so didn't do any work

Monday, June 5th, 2023

  • Had an exam the next day

Tuesday, June 6th, 2023

  • Update updatetestsuiterefimages.py and sortincludes.py to python3

Wednesday, June 7th, 2023

  • Had an exam the next day (last one, will be done with my exams and my semester break starts :D )

Thursday, June 8th, 2023

  • Finalized updating the /scripts folder to python3
  • Will now work on the python files present in the /sandbox/share folder
  • Updated aspaths2json.py, mitsuba2appleseed.py and rfmdisneypresets2appleseed.py to python3 (mostly involved updating the print functions and removing deprecated import statements)

Friday, June 9th, 2023

  • Updated all the files present in the /sandbox/examples/python and /sandbox/share folders
  • Finished updating all the files present in the sandbox directory

Saturday, June 10th, 2023

  • Updated __init__.py, logtarget.py and textureconverter.py. All these files are from /src/appleseed.python directory.

Sunday, June 11th, 2023

  • Got sick so had to take a day off :/

Monday, June 12th, 2023

  • Updated runtests.py. Changed the unittest.Testprogram class to unittest.main() function, which also automatically determines the test environmentte
  • Updated testbasis.py and testdict2dict.py
  • Updated testentitymap.py. All of the files updated today belong to /src/appleseed.python/test directory.

Tuesday, June 13th, 2023

  • Went through the rest of the files, all of them are compatible with python3, no changes are required.
  • This concludes Milestone-1 which is updating the build logic of Python2 files to Python3.
  • Will move on to the testing phase now. So far I am inline with the proposed schedule, I think ill be ahead of schedule soon enough.

Wednesday, June 14th, 2023

  • Spent most of the time setting up a proper Linux environment, ran into numerous problems(thank you windows! QAQ ), most of which I fixed. Will get back to it tomorrow.

Thursday, June 15th, 2023

  • Almost finished setting up the environment, took me a lot of time than I expected it to
  • resolved some of the conflicts that were present in the CmakeLists file. Will resolve the remaining tomorrow.

Thursday, June 15th, 2023

  • Spent almost the entire day trying to fix this error ( ```file STRINGS file "/include/boost_1_61_0/boost/version.hpp" cannot be read.```). Tried giving read permission manually, resetting the entire environment, nothing seemed to work.
  • Because of the following error boost is not being detected properly. In one attempt the build failed at around 48% because one of the variables wasnt defined, after that when I tried to rebuild it came to the same ```version.hpp``` error