Comment 3 for bug 269028

Revision history for this message
ncq (karsten-hilbert) wrote : Re: [Bug 269028] [NEW] upgrade_db script does not ask for password on MS Windows and fails

On Sat, Oct 04, 2008 at 10:31:03PM +0200, Karsten Hilbert wrote:

> Fixed in CVS.
>
> Backpatched to 0.3.x and 0.2.8.x.
>
> Please test and close.
>
> Karsten
>
> On Thu, Sep 11, 2008 at 03:51:43PM -0000, Hilbert, Sebastian wrote:
> > Subject: [Bug 269028] [NEW] upgrade_db script does not ask for password on MS
> > Windows and fails
> >
> > Public bug reported:
> >
> > On MS Windows when running the upgrade-db scripts a password is needed
> > to connect to the database. Different from Linux there is an very old
> > python bug that prevents the password to be asked for on MS Windows.
> >
> > http://mail.python.org/pipermail/python-bugs-list/2002-June/012101.html
> >
> > The error is triggered by bootstrap_gm_db_system.py on line 181.
> > Supposedly some garbage is in the password buffer , it gets accepted and
> > passed to gmPG2 which will happily refuse it.
> >
> > Please check if a workaround for MS Windows can be provided like this:
> >
> > http://ccec.sourceforge.net/getpassfix.html
> >
> > ** Affects: gnumed
> > Importance: Undecided
> > Status: New
> >
> > ** Description changed:
> >
> > On MS Windows when running the upgrade-db scripts a password is needed
> > to connect to the database. Different from Linux there is an very old
> > python bug that prevents the password to be asked for on MS Windows.
> >
> > http://mail.python.org/pipermail/python-bugs-list/2002-June/012101.html
> >
> > The error is triggered by bootstrap_gm_db_system.py on line 181.
> > Supposedly some garbage is in the password buffer , it gets accepted and
> > passed to gmPG2 which will happily refuse it.
> >
> > - Please check if a workaround for MS Windows can be provided.
> > + Please check if a workaround for MS Windows can be provided like this:
> > +
> > + http://ccec.sourceforge.net/getpassfix.html
> >
> > --
> > upgrade_db script does not ask for password on MS Windows and fails
> > https://bugs.launchpad.net/bugs/269028
> > You received this bug notification because you are a member of GNUmed
> > development, which is subscribed to GNUmed.
> >
> > Status in GNUmed - electronic medical record: New
> >
> > Bug description:
> > On MS Windows when running the upgrade-db scripts a password is needed to connect to the database. Different from Linux there is an very old python bug that prevents the password to be asked for on MS Windows.
> >
> > http://mail.python.org/pipermail/python-bugs-list/2002-June/012101.html
> >
> > The error is triggered by bootstrap_gm_db_system.py on line 181. Supposedly some garbage is in the password buffer , it gets accepted and passed to gmPG2 which will happily refuse it.
> >
> > Please check if a workaround for MS Windows can be provided like this:
> >
> > http://ccec.sourceforge.net/getpassfix.html
>
> --
> GPG key ID E4071346 @ wwwkeys.pgp.net
> E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346