Skip to main content
12 events
when toggle format what by license comment
Feb 6, 2021 at 9:40 history edited curiouskiwi CC BY-SA 4.0
removed code to avoid spoilers
Feb 5, 2021 at 17:54 vote accept MrTxo
Feb 4, 2021 at 22:49 answer added curiouskiwi timeline score: 1
Feb 3, 2021 at 8:47 comment added MrTxo Thanks again @DinoCoderSaurus! Just glad to know it works with no other functionalities implemented, then the issue must be somewhere else. I just emailed them, hopefully, we can get to the bottom of it soon.
Feb 3, 2021 at 0:08 comment added DinoCoderSaurus Running check50 (version 3.2.0) on the IDE with this application.py, register.html and index.html and the two tables (empty) in finance.db passes all of the "register" tests. (and works as expected in the browser). You can find the check50 version with check50 -V. I won't stop thinking about it, which I know is no help at all. It may be time to contact [email protected]
Feb 2, 2021 at 20:20 comment added MrTxo @DinoCoderSaurus just added a schema definition of both tables and a screenshot from each structure on phplite. Let me know if this is sufficient, or if you need me to add anything else. Thanks again for your help on this one!
Feb 2, 2021 at 20:12 history edited MrTxo CC BY-SA 4.0
added 247 characters in body
Feb 2, 2021 at 19:56 comment added DinoCoderSaurus Can you please edit the schema definitions of users and stocks tables into the question? I ran check50 on this application.py plus register.html. It failed "register user " and the duplicate test because of a missing stocks table. I added a stocks table based on the code. Both tests passed check50. That leads me to the conclusion that the db schema (or perhaps data) is significant to the problem.
Feb 2, 2021 at 13:58 comment added MrTxo Thanks for checking my code @DinoCoderSaurus and running those tests again. Glad to hear they passed! Would this mean any other logic within application.py is affecting check50 when performing the registration duplicate test? Here is my full code just in case you can see this easily paste.ofcode.org/FFdACSDH9KLKbpat9AXAnU After reading your comment I tried again, but I always get the same error. How can I pass this one from my end? Ans if not possible, shall I submit as it is?
Feb 2, 2021 at 1:50 comment added DinoCoderSaurus I ran check50 with this register and index functions; all passed. (The htmls should not affect this particular result). Try again? Sorry this isn't particularly helpful.
Feb 1, 2021 at 21:32 review First posts
Feb 2, 2021 at 6:39
Feb 1, 2021 at 21:31 history asked MrTxo CC BY-SA 4.0