Skip to main content
1 vote
Accepted

CS50 Finance pset8 KeyError on /buy of application.py

I assume you mean "symbol", not "ticker".
Blauelf's user avatar
  • 21k
1 vote
Accepted

Pset7 Finance Key Error in Buy

Use :id, not :username. The error appears because you have :username that is never set and id= that is never used. Also, use style50, which outputs recommendations according to PEP8, which states in ...
Blauelf's user avatar
  • 21k
1 vote
Accepted

Strange sudden error in pset7 staff implemented login (key error 'id')

That error from the supplied login means there is no column named id in the users table. It doesn't seem to have anything to do with indexes. Assuming the rest of the table is intact, you might try ...
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible