Questions tagged [key-error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

DNA Week 6 | Issues

I have been working on this DNA problem for a while now, and I do not understand what causes the many problems. Right now there are just some technical problems, for example saying "No match"...
Berra Eylül Toprak's user avatar
0 votes
1 answer

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 ...
user10661325's user avatar
0 votes
1 answer

CS50 Finance pset8 KeyError on /buy of

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 (...
akezd's user avatar
  • 3
0 votes
1 answer

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, ...
viet 's user avatar
0 votes
1 answer

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() here is my error massage
Nail Tosun's user avatar
0 votes
1 answer

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 ...
Jason_V's user avatar
  • 182