gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] <bug>: Goodday Here is the debug report, The apt-g


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] <bug>: Goodday Here is the debug report, The apt-g
Date: Fri, 7 Nov 2008 12:04:59 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Jason,

thanks for the debug-enabled report. This indeed showed the
problem which is now solved.

> 2008-11-06 22:31:58  INFO      gm.ui 
> (/var/lib/python-support/python2.5/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
>  #624): debug mode enabled
good

> 2008-11-06 22:31:42  INFO      gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::add_file_source()
>  #346): file source "system": /etc/gnumed/gnumed-client.conf (UTF8)
> 2008-11-06 22:31:42  ERROR     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::add_file_source()
>  #353): cannot open [/etc/gnumed/gnumed-client.conf], keeping as dummy source
Sidux does not seem to ship a system-wide config file. You
might want to file a bug report with them.

> 2008-11-06 22:31:42  INFO      gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::add_file_source()
>  #346): file source "user": /home/jason/.gnumed/gnumed.conf (UTF8)
> 2008-11-06 22:31:42  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::parse_INI_stream()
>  #197): parsing INI-style data stream [<open file 
> u'/home/jason/.gnumed/gnumed.conf', mode 'rUb' at 0xb799e020>]
But there is one in your homedir which should do.

> 2008-11-06 22:31:43  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::get() #310): 
> option [help desk] not in group [workplace] in source [explicit]
> 2008-11-06 22:31:43  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::get() #310): 
> option [help desk] not in group [workplace] in source [workbase]
> 2008-11-06 22:31:43  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::get() #310): 
> option [help desk] not in group [workplace] in source [local]
> 2008-11-06 22:31:43  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::get() #310): 
> option [help desk] not in group [workplace] in source [user]
> 2008-11-06 22:31:43  DEBUG     gm.cfg 
> (/var/lib/python-support/python2.5/Gnumed/pycommon/gmCfg2.py::get() #310): 
> option [help desk] not in group [workplace] in source [system]
None of the config sources defines a help desk.

In this case the help desk should be set to a default in this file:

> 2008-11-06 22:31:42  INFO      gm.ui 
> (/var/lib/python-support/python2.5/Gnumed/wxpython/gmAuthWidgets.py::<module>()
>  #31): $Revision: 1.25.2.2 $

However, it fails to do so which leads to this error:

> 2008-11-06 22:31:58  DEBUG     gm.gui 
> (/var/lib/python-support/python2.5/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #45): unhandled exception caught:
> Traceback (most recent call last):
...
>   File "/var/lib/python-support/python2.5/Gnumed/wxpython/gmAuthWidgets.py", 
> line 590, in GetLoginInfo
>     login.helpdesk = profile.helpdesk
> AttributeError: cBackendProfile instance has no attribute 'helpdesk'

Please replace the file with the one appended to this email
and try again.

Adding an option "help desk = something" to the group
[workplace] in /home/jason/.gnumed/gnumed.conf might work,
too.

I have fixed our upstream code. Both an eventual 0.3.6 and
0.4 will contain the fix.

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

Attachment: gmAuthWidgets.py
Description: Text Data


reply via email to

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