Skip to main content

Questions tagged [index]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
4k views

pset7 index TypeError: 'NoneType' object is not subscriptable

I'm working on pset7 index, and I've hit a snag. When I try to log in and render index, I get this error: TypeError: 'NoneType' object is not subscriptable It says the main error is on line 50: name =...
Michael 's user avatar
1 vote
2 answers
371 views

CS50 Pset7: rows inside the for loop are not showing up in index.html

I have been trying to implementing my code for Index and index.html. My code for Index seems to work very well, but my index.html isn't. My implementation of index() and index.html are pasted below. ...
Alex Chan's user avatar
  • 121
0 votes
1 answer
183 views

pset7 index TypeError: 'NoneType' object is not subscriptable error

Me again with this error. I do not know what happened, this has been working for a couple of weeks and I have not changed the code (though I did copy and paste it) but all of a sudden this afternoon I ...
CM23's user avatar
  • 21
0 votes
1 answer
2k views

Pset7 index TypeError: quote_from_bytes() expected bytes

Pset7 index. I’m getting raise TypeError("quote_from_bytes() expected bytes") TypeError: quote_from_bytes() expected bytes. I tried several times to rewrite the code but I always come across this ...
IrinaPenzina's user avatar
0 votes
1 answer
106 views

CS50 Pset7: rows inside the for loop aren't showing up in index.html

I have been trying to implementing my code for Index and index.html. My code for Index seems to work very well, but my index.html isn't. The jinja template is pasted below. For some reasons, the table ...
Alex Chan's user avatar
  • 121