9 votes
Accepted

CS50w - list.py - AttributeError: 'NoneType' object has no attribute '_instantiate_plugins'

Postgresql creates a default user called postgres, so login as default user and create a new user sudo -i -u postgres createuser --interactive Then enter your linux username and select Yes for ...
James T's user avatar
  • 214
3 votes

CS50w - list.py - AttributeError: 'NoneType' object has no attribute '_instantiate_plugins'

For Windows users: 1- Create a new user on SQL Shell: CREATE ROLE your_user_name LOGIN PASSWORD 'your_password' NOINHERIT CREATEDB; 2- Create a new database on SQL Shell: Close the SQL shell and ...
Mahdy H.'s user avatar
1 vote

CS50w - list.py - AttributeError: 'NoneType' object has no attribute '_instantiate_plugins'

1- Create a new user on SQL Shell: CREATE ROLE your_user_name LOGIN PASSWORD 'your_password' NOINHERIT CREATEDB; 2- Create a new database on SQL Shell: Close the SQL shell and open it again, enter ...
jeff's user avatar
  • 11
1 vote

CS50w - list.py - AttributeError: 'NoneType' object has no attribute '_instantiate_plugins'

the problem seems to be with the os module, I can run the code without any problem if I specify url='postgresql://localhost' in the code. I seem to struggle to get values of environment variables I ...
Josef Trchalik's user avatar

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