[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: <bug>: save new user details
From: |
Karsten Hilbert |
Subject: |
Re: <bug>: save new user details |
Date: |
Wed, 13 Jan 2021 11:04:41 +0100 |
Dear Holly,
thanks for taking the time to report this issue.
You are running on Debian/Stable,
> lsb_release: {'RELEASE': '10', 'CODENAME': 'buster', 'DESCRIPTION': 'Debian
> GNU/Linux 10 (buster)', 'ID': 'Debian'}
on which the latest 1.7 release is 1.7.5
gnumed-client | 1.4.12+dfsg-1 | oldoldstable | source, all
gnumed-client | 1.6.11+dfsg-3 | oldstable | source, all
gnumed-client | 1.7.5+dfsg-3 | stable | source, all
gnumed-client | 1.8.4+dfsg-1 | testing | source, all
gnumed-client | 1.8.4+dfsg-1 | unstable | source, all
which is what you have installed.
> GNUmed client version [1.7.5] on branch [1.7]
> client version: 1.7.5
On the 1.7 branch there is four more bugfix releases, so the
latest is 1.7.9
https://www.gnumed.de/downloads/client/1.7/
which you might consider installing.
If all else fails there's at a 1.7.6 on Ubuntu eoan:
https://launchpad.net/ubuntu/+source/gnumed-client/1.7.6+dfsg-1
Moreover, if you intend to more fully use GNUmed I would
strongly suggest going for the 1.8 (Python3) series as that
is where all the future work (will/has to) happen.
As to your issue:
> user comment : save new user details
it seems that you might simply not have used the matching password:
> 2021-01-13 13:37:09 ERROR gm.db [140436069254976 MainThread]
> (/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::__str__() #2535): PostgreSQL:
> FATAL: password authentication failed for user "gm-dbo"
> FATAL: password authentication failed for user "gm-dbo"
> DSN: dbname=gnumed_v22 host=127.0.0.1 port=5432 user=gm-dbo
> password=3626584c83b9e56e sslmode=prefer fallback_application_name=GNUmed
> client_encoding=utf8 application_name=GNUmed-[MainThread]
> 2021-01-13 13:37:09 ERROR gm.ui [140436069254976 MainThread]
> (/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::get_dbowner_connection()
> #339): cannot connect
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py", line 336, in
> get_dbowner_connection
> pooled = False
> File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 2224, in
> get_connection
> conn = get_raw_connection(dsn = dsn, verbose = verbose, readonly =
> readonly, connection_name = connection_name, autocommit = autocommit)
> File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 2124, in
> get_raw_connection
> conn = dbapi.connect(dsn=dsn,
> connection_factory=psycopg2.extras.DictConnection)
> File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 130, in
> connect
> conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
> cAuthenticationError: PostgreSQL: FATAL: password authentication failed for
> user "gm-dbo"
> FATAL: password authentication failed for user "gm-dbo"
> DSN: dbname=gnumed_v22 host=127.0.0.1 port=5432 user=gm-dbo
> password=66e4bd7958420c71 sslmode=prefer fallback_application_name=GNUmed
> client_encoding=utf8 application_name=GNUmed-[MainThread]
Can you verify that you know that proper password for
connecting as gm-dbo ?
Can you connect using psql, such as
$> psql -d gnumed_v22 -U gm-dbo -h 127.0.0.1
You can also try something like pgadmin to test the password.
Does it work if you start GNUmed connecting to the database
with the profile
[GNUmed database on this machine ("local": Linux/Mac)]
rather than
[GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)]
? Success may depend on what you pg_hba.conf file says.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B