Pgadmin4 fails to start

Had it working for the past month or so, but today when I run pgadmin4 it fails to start with following error:

AttributeError: module 'jinja2.ext' has no attribute 'autoescape'

Please halp! @gador

I think this is the problem:

https://www.mail-archive.com/pgadmin-support@lists.postgresql.org/msg04302.html

I’ll have a look at it :+1:

Recently pgadmin4 was updated to 6.8 Pgadmin update 6.8, fix build breakage on master by gador · Pull Request #169370 · NixOS/nixpkgs · GitHub

This fixes the issue.

Please update your pgadmin package to the current nixos-unstable

That worked!

Note that I had tried this yesterday to no avail … any idea why I still had version 6.7 yesterday after updating, but today after updating I have 6.8?

Like did this just get updated in nixos-unstable last night? Or has it been in there a while?

yes, it seems nixos-unstable was branched yesterday: GitHub - NixOS/nixpkgs at nixos-unstable

You can also check https://channels.nix.gsc.io/nixos-unstable/history for a recent timestamp.

Glad it works for you :+1: