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 21:11:03 +0200
User-agent: KMail/1.9.9

On Dienstag 23 September 2008, you wrote:
> Sebastian,
>
> I have removed the 0.2.8.10 client completely and the good news is I can
> start the client and connect to the public database, 

Good. I guess it has something to do with your bootstrapped database.

> however I cannot 
> connect to my local database, I enter the user and password for any-doc and
> it errors. I am guessing that it must have something to do with my local
> database, is there anything in the stuff that follows that would indicate
> what it is? Should I bootstrap the DB again?
>
Please email me the gm-from-cvs.log file and the various bootstrap log files 
which have names like 'update-db-v2_v3.log' up to 'update-db-v8_v9.log'


> address@hidden:~/gnumed3/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/gnumed3/GNUmed-0.3.2/Gnumed/wxpython/gmExceptionHandlingWidgets
>.py", line 81, in handle_uncaught_exception_wx gmLog2.log_stack_trace()
>   File "/home/joeh/gnumed3/GNUmed-0.3.2/Gnumed/pycommon/gmLog2.py", line
> 161, in log_stack_trace value = u'%s' % unicode(value)
>   File
> "/home/joeh/gnumed3/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'
>

Karsten will make sense of that. We really need the log files.


> Original exception was:
> Traceback (most recent call last):
>   File "wxpython/gnumed.py", line 410, in <module>
>     gmGuiMain.main()
>   File "/home/joeh/gnumed3/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/gnumed3/GNUmed-0.3.2/Gnumed/wxpython/gmGuiMain.py", line
> 2255, in OnInit if not self.__establish_backend_connection():
>   File "/home/joeh/gnumed3/GNUmed-0.3.2/Gnumed/wxpython/gmGuiMain.py", line
> 2414, in __establish_backend_connection _provider =
> gmPerson.gmCurrentProvider(provider = gmPerson.cStaff()) File
> "/home/joeh/gnumed3/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/gnumed3/GNUmed-0.3.2/Gnumed/pycommon/gmPG2.py", line 816, in
> run_ro_queries col_idx = get_col_indices(curs)
>   File "/home/joeh/gnumed3/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:~/gnumed3/GNUmed-0.3.2/client$
>
>
I will try to reproduce that asap on Ubuntu.



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




reply via email to

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