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 ...
- 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 ...
- 31
1
vote
adminer.cs50.net Not working
I am also having issues with logging into Adminer.
There are also individuals with the same problem within this Reddit:
https://www.reddit.com/r/cs50/comments/gjqnqy/...
- 11
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 ...
- 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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
postgresql × 14cs50-web-programming-with-python × 5
cs50x × 4
flask × 4
project1 × 4
flask-sqlalchemy × 4
sql × 3
python × 2
sqlalchemy × 2
cs50-website × 2
adminer × 2
finance × 1
lectures × 1
cs50-library × 1
cs50web × 1
database × 1