I reproduce your bug exactly on my workstation. Its a rather
embarrassing bug which makes the pyhaccgui script pretty worthless.
Here is exactly what I actually use in my own shortcut (note the crucial
space in 'pyhacc gui'):
C:\Python27\pythonw.exe c:\Python27\Scripts\pyhacc gui
--conn=postgresql://joel@fermat/pyhacc
And here are a few observations (which you may already be aware of):
- pythonw.exe is the way to start a gui app with no console on windows
- you can avoid your postgresql password in the command line by using
pgpass as in http://www.postgresql.org/docs/8.3/static/libpq-pgpass.html
I'd love to hear any other comments you have about pyhacc (and I do
regard it as being on topic in qtalchemy-dev as pyhacc is one of the
exemplars of qtalchemy).
- Joel