Closed JoyVehmeijer closed 4 years ago
The u
variable is assigned u = url.make_url(name_or_url)
. So I suspect that the DATABASE_URL
in your environment is wrong.
The
u
variable is assignedu = url.make_url(name_or_url)
. So I suspect that theDATABASE_URL
in your environment is wrong.
To what would I have to change it? A file I already have on my computer?
I have absolutely no idea, that's up to you and depends on what you're trying to do.
This doesn't seem like an issue in zope.sqlalchemy, so the issue should probably be closed.
Oke thank you! Sorry I'm quite new at this, so I'm still trying to figure things out.
To be fair, this is an atrocious error message. I would file an sqlalchemy bug asking it to report a better error (and ideally print the bad database URL value).
To be fair, this is an atrocious error message. I would file an sqlalchemy bug asking it to report a better error (and ideally print the bad database URL value).
Thank you for the tip! I will try this and hopefully there will be something to fix this problem
I'm trying to run a python file for a lecture, but I keep getting an error:
Does anybody know what the problem is and how I can fix it?