gnumed-devel
[Top][All Lists]
Advanced

[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: Sebastian Hilbert
Subject: Re: [Gnumed-devel] Crash when trying to run 0.3.2 client
Date: Tue, 23 Sep 2008 17:34:12 +0200
User-agent: KMail/1.9.9

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


-- 
Sebastian Hilbert 
Leipzig / Germany
[www.gnumed.de]  -> PGP welcome, HTML ->/dev/null




reply via email to

[Prev in Thread] Current Thread [Next in Thread]