muzaffarshaikh / StudentManagement

Repository for a basic project developed with Cherrypy, a Back-End Python framework. This project allows basic operations such as create, read, update and delete on a Student resource with sqlite as the database.
1 stars 3 forks source link

Issue with html += form #1

Open faynadhirah opened 3 years ago

faynadhirah commented 3 years ago

For your information, I have fixed the update problem. However, I am not really sure if the problem is solved because there's another problem that occur after that. After I thought that I have 'fixed the update problem', I updated the student's data and it worked. However when I tried to search the student's data (which I have updated before) for the second time, it does not appear. It displays error with saying like below :

File "StudentManagement.py", line 514, in searchStudent html += form UnboundLocalError: local variable 'form' referenced before assignment

I think I do not fixed the update problem as I thought it would. What do you think? If you have successfully fix the update problem, I hope you can help me. Thank you

muzaffarshaikh commented 3 years ago

Hi @faynadhirah, appreciate the effort you took to contribute to this repository. I apologies for my late reply. When I was working on this project, I was just a beginner in python. Tried many ways to fix it but couldn't. Many other issues would pop up while handling the update issue.

I created this project for my college semester end evaluation. Since the evaluation is over, I did not put any effort in this project. Right now I am spending more time in strengthening my Python knowledge. I am currently also occupied with some other project. So, I wont be updating this repository anytime soon. However, I might try to fix the update issue in future. When I do that, I'll be sure to leave a comment here.