Share your repls and programming experiences

← Back to all posts
My Operating System
h
JacobMcPherson1 (193)

The JAM OS

(I know this technically isn't an OS but its still cool)
I added a search engine which @generationXcode allowed me to use |THANKS|

Feedback and criticism are appreciated!
(also tell me anything I should add)

Comments
hotnewtop
RhinoRunner (792)

OK so I ran it and typed in my username, pressed enter, anddddddd...

Traceback (most recent call last):
  File "main.py", line 126, in <module>
    homeScreen()
  File "main.py", line 106, in homeScreen
    su()
  File "main.py", line 57, in su
    if newUser in db['user']:
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/database/database.py", line 169, in __getitem__
    raise KeyError(key)
KeyError: 'user'

The problem is that when I sign up, 'user' is not defined as a key in the database yet.

JacobMcPherson1 (193)

@RhinoRunner I was messing around with a friend in a multiplayer repl and im pretty sure ive fixed it