Wednesday, November 6, 2019

I worked in the Administrator Guide and discovered that getlino does not yet work with a shared database user. I opened #3329. Side effect is that DB_ENGINES are no longer named tuples but real objects with methods.

Now when I run inv prep in getlino, I get:

The command '/bin/sh -c sudo -H getlino configure --batch --db-engine postgresql --db-port 5432 && sudo -H getlino startsite --batch noi mysite1 --dev-repos "lino noi xl"' returned a non-zero code: 1

Note that Lino’s install command cannot install the Python package required by the database engine. This is explicitly done by getlino startsite. But if you run getlino startsite with a given database engine and then manually change the DATABASES setting of your site, you must yourself care about installing the corresponding Python package.