Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pum upgrade: issue with pre/post_all.py #319

Open
varrieta opened this issue Feb 23, 2022 · 1 comment
Open

pum upgrade: issue with pre/post_all.py #319

varrieta opened this issue Feb 23, 2022 · 1 comment

Comments

@varrieta
Copy link

varrieta commented Feb 23, 2022

I'm upgrading my qwat database using PUM from version 1.3.4 to 1.3.6 (using windows).

pum -c pum_config.yaml upgrade -p pg_dev -t qwat_sys.info -d update\delta -v int SRID 2056

All the deltas passed with no issues and my database is now at version 1.3.6 as expected.
But I have a problem with pre_all.py and post_all.py. I get theses errors messages:

For pre_all.py

Applying pre-all.py... Message from DropViews: Dropping views
Message from DropViews: psql service=pg_dev -f update\delta....\ordinary_data\views\drop_views.sql
psql: warning: extra command-line argument "update\delta....\ordinary_data\views\drop_views.sql" ignored
psql: FATAL: authentification par mot de passe échouée pour l'utilisateur « -f »
Message from DropViews: Dropping views: done
OK
Applying pre-all.sql... OK

For post_all.py

Applying post-all.py... Message from RecreateViewsAndFunctions: Reloading views and functions
'PGSERVICE' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
'PGSERVICE' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Message from RecreateViewsAndFunctions: Reloading views and functions: done
OK
Applying post-all.sql... OK

@olivierdalang Do I miss something in my installation or cmd ?
I don't have this issue with QGEP.

PUM version : 0.9.14
Pirogue version: 1.4.1

@varrieta
Copy link
Author

varrieta commented Jul 8, 2022

Problem temporary solved by @olivierdalang. The script was adapted for windows.

It can't be used in production for now due to this issue #354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant