Questions tagged [key-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
71 views

cs50 project3: django multivaluedictkeyerror

I am working on CS50 Web Programming with Python and JavaScript Project 3. I keep getting the multidictkeyerror everytime i tried to submit the form. It seems like the value just does not get ...
0
votes
1answer
44 views

CS50 Finance pset8 KeyError on /buy of application.py

I am having real trouble solving the issue I have with the /buy section of the task. I keep getting struck with an issue on the following section of code: db.execute("INSERT INTO transactions (...
0
votes
1answer
93 views

Pset7 Finance Key Error in Buy

I have some trouble with the insertion into the database table in the buy section. I get a KeyError: "id". This is my code: result = db.execute("INSERT INTO transactions (id, symbol, price, shares, ...
0
votes
1answer
157 views

pset7 finance key error but there is a key? def index

i have trouble with KeyError although my dict have key here is my def index() http://imageshack.com/a/img922/5265/LsdzWU.png here is my error massage http://imageshack.com/a/img923/6976/...
0
votes
1answer
122 views

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

I'm currently working on pset7, cs50 finance. I just implemented the buy method, and when I went to login on my site, I encountered a key error, pointing to 'id' in the following line in the login ...