[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Crash when trying to run 0.3.2 client
From: |
John Mackenzie |
Subject: |
Re: [Gnumed-devel] Crash when trying to run 0.3.2 client |
Date: |
Wed, 24 Sep 2008 11:31:43 +1000 |
My setup is:
Ubuntu 8.04
KDE 3.5.9
Python 2.5.2
Python-wxgtk 2.8
Postgres 8.3.3
gnumed client 0.3.2
gnumed database_v10
After a little config file editing, then starting up gnumed produces the
error message below, but still allows the gnumed client to run from the
local database :-)
-----------------start error message------------------------------
GNUmed database version mismatch.
This database version cannot be used with this client:
client version: CVS HEAD
database version detected: unknown database schema version, MD5 hash is
[115fb9b86532a8295a07c5eea62f22cf]
database version needed: devel
Currently connected to database:
host: localhost
database: gnumed_v10
user: any-doc
version
The client will, however, continue to start up because
you are running a development/test version of GNUmed.
There may be schema related errors. Please report and/or
fix them. Do not rely on this database to work properly
in all cases !
-----------------end error message----------------------------------
So far, I have been able to enter myself as a staff member (doctor/ GP),
and log in with my own username and password (after re-starting gnumed
client).
I am checking out the functionality of the gnumed-database version as
mentioned above, and will comment in later posts.
Well done.
John Mac
(Melbourne, Australia)
> On Tue, 2008-09-23 at 17:34 +0200, Sebastian Hilbert wrote:
> On Dienstag 23 September 2008, Joe Hildreth wrote:
> > Hello all,
> >
> > Earlier today, I was trying to import a document into gnumed database v8
> > with client 0.2.8.10 and crashed it. The details I sent to Sebastian.
> > Sebastian suggested I try the v9 database with the 0.3.2 client. After
> > completely removing the database and bootstrapping it again, I tried to
> > start the client from the terminal I get the following.
> >
> > My setup is as follows:
> >
> > Ubuntu 8.04
> > Python 2.5.2
> > PostgreSQL 8.3
> > python-wxgtk2.8
> > gnumed-client 0.3.2
> > gnumed database v9
> >
>
> You are doing a fine job reporting on this and it helps us to track down the
> bugs.
>
> > I know I have posted system setup before. If I need to post differently or
> > add more information just let me know. This is the first time I have ever
> > tried to work with programmers to improve or help with software. I do know
> > that I want gnumed to work for me and will do my part to help in whatever
> > capacity I am able.
> >
> Thank you for that.
>
> > This is what I get when I try to start the client ...
> >
> > address@hidden:~/GNUmed-0.3.2/client$ ./gm-from-cvs.sh
> > GNUmed startup: Running from local source tree.
> > -----------------------------------------------
> > Adjusting PYTHONPATH ...
> > Error in sys.excepthook:
> > Traceback (most recent call last):
> > File
> > "/home/joeh/GNUmed-0.3.2/Gnumed/wxpython/gmExceptionHandlingWidgets.py",
> > line 81, in handle_uncaught_exception_wx gmLog2.log_stack_trace()
> > File "/home/joeh/GNUmed-0.3.2/Gnumed/pycommon/gmLog2.py", line 161, in
> > log_stack_trace value = u'%s' % unicode(value)
> > File "/home/joeh/GNUmed-0.3.2/Gnumed/pycommon/gmBusinessDBObject.py",
> > line 255, in __str__ [tmp.append('%s: %s' % (attr,
> > self._payload[self._idx[attr]])) for attr in self._idx.keys()]
> > AttributeError: cStaff instance has no attribute '_idx'
> >
> > Original exception was:
> > Traceback (most recent call last):
> > File "wxpython/gnumed.py", line 410, in <module>
> > gmGuiMain.main()
> > File "/home/joeh/GNUmed-0.3.2/Gnumed/wxpython/gmGuiMain.py", line 2678,
> > in main app = gmApp(redirect = False, clearSigInt = False)
> > File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> > line 7836, in __init__ self._BootstrapApp()
> > File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> > line 7433, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args,
> > **kwargs)
> > File "/home/joeh/GNUmed-0.3.2/Gnumed/wxpython/gmGuiMain.py", line 2255,
> > in OnInit if not self.__establish_backend_connection():
> > File "/home/joeh/GNUmed-0.3.2/Gnumed/wxpython/gmGuiMain.py", line 2414,
> > in __establish_backend_connection _provider =
> > gmPerson.gmCurrentProvider(provider = gmPerson.cStaff()) File
> > "/home/joeh/GNUmed-0.3.2/Gnumed/business/gmPerson.py", line 757, in
> > __init__ rows, idx = gmPG2.run_ro_queries(queries = [{'cmd': cmd}],
> > get_col_idx=True) File "/home/joeh/GNUmed-0.3.2/Gnumed/pycommon/gmPG2.py",
> > line 816, in run_ro_queries col_idx = get_col_indices(curs)
> > File "/home/joeh/GNUmed-0.3.2/Gnumed/pycommon/gmPG2.py", line 479, in
> > get_col_indices for col_desc in cursor.description:
> > psycopg2.DataError: unable to parse time
> > address@hidden:~/GNUmed-0.3.2/client$
> >
> Joe. Please remove the system wide installation for 0.2.8.10 client (not the
> database) so we are not running into a mix here.
>
> We would appreciate it if you run the tarballs for the time of development.
> We
> will then issue a new package once your bugs have been fixed.
>
> Sebastian
>
>