Closed GMishx closed 5 years ago
Further, I am getting following warnings as well:
[I 190805 10:24:08 web:2246] 200 GET /metrics/database_all_queries_waits/fossology/?from=2019-08-05+09%3A24%3A07%2B0530&to=2019-08-05+10%3A24%3A07%2B0530 (127.0.0.1) 81.73ms
/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py:4533: SAWarning: Textual column expression 'qualid' should be explicitly declared with text('qualid'), or use column('qualid') for more specificity (this warning may be suppressedafter 10 occurrences)
else "column",
/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py:4533: SAWarning: Textual column expression 'occurences' should be explicitly declared with text('occurences'), or use column('occurences') for more specificity (this warning may be suppressed after 10 occurrences)
else "column",
/usr/lib/python3/dist-packages/sqlalchemy/sql/elements.py:4533: SAWarning: Textual column expression 'filter_ratio' should be explicitly declared with text('filter_ratio'), or use column('filter_ratio') for more specificity (this warningmay be suppressed after 10 occurrences)
else "column",
[I 190805 10:24:16 web:2246] 200 GET /metrics/database/fossology/wizard/?from=2019-08-05+09%3A24%3A07%2B0530&to=2019-08-05+10%3A24%3A07%2B0530 (127.0.0.1) 41.35ms
Hello,
Thanks for the report. I believe this was fixed in https://github.com/powa-team/powa-web/commit/6fedf9d606349ecf42b7f020ea6abc70e535902f and https://github.com/powa-team/powa-web/commit/e1f49990ec14e3efc5bf9c47588a2dc2c4bf5e50.
This is unfortunately only available for powa-web v4, which is still in beta. If you have to stay with v3, the only alternative would be to downgrade sqlalchemy for a version prior to 1.3.
Thanks for the update. I've downgraded sqlalchemy to 1.2.0 and it is working now.
Hello team,
I just installed POWA on PostgreSQL 11 running on my Debian Buster machine following the instructions given at https://powa.readthedocs.io/en/latest.
While loading any database, I am getting following error: