All Questions
9 questions
0
votes
0
answers
598
views
FINANCE [UNIQUE constraint failed: users.username] Error encountered using check50
I have finally got my entire program working for PSET8 Finance. I receive no errors in my dev console and all functions are working correctly after registering 15 users.
For some reason, though I get ...
0
votes
0
answers
196
views
PSET8 CS50 Finance: /Check fails to run, does not catch or notify of duplicate usernames
I have been struggling with the check function in PSET8 for a few weeks now, and have run into various problems as I tried to work through my issues.
Currently, it seems by check .get function does ...
0
votes
1
answer
146
views
Javascript isn't running at all in pset8 check
I'm not sure how to run my javascript in pset 8. I used a normal script tag to link it in my register/html file. I'm not sure I need to link it from the application file. Do I need all the JS to be ...
0
votes
2
answers
354
views
PSET 8: Finance /check
I am stuck on the final section of PSET8 finance, /check. It seems that the data for "username" is not being passed from the web page to the python script. The value for "username" in the python ...
0
votes
0
answers
245
views
Pset8 - Check - Cannot get duplicate username to give javascript alert (that user must choose other username)
Below is a description of the problem, the "check() function" code, and the "register.html" file:
Problem description:
I haven't been able to write correct javascript (and maybe my check function ...
1
vote
1
answer
389
views
pset8 finance "/check": Dont understand how the JS code works
I am currently working on the implementation of "/check" in pset8. I tried to implement it by reading trough the documentation of "event.preventDefaul()", "$.get()" and etc. functions. That is what I ...
0
votes
1
answer
278
views
pset8 finance check sub-problem
Working on 'check' problem in finance.
I've implemented the actual check function via GET HTTP and responses are valid, have also implemented into the register.html page, with simply displaying the ...
0
votes
1
answer
754
views
CS50 Pset8 Finance /check - TypeError: The view function did not return a valid response
I've got most of finance working but I can't for the life of me sort out /check.
No matter what I do, I get the error:
'TypeError: The view function did not return a valid response. The function ...
1
vote
1
answer
1k
views
Pset8 Finance Check error
I consistently get this error when running check50 on pset8 Finance problem from CS50 when I assume it tries to add a new user that isn't in the user database.
However when I enter a new user myself, ...