gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Making - progress - new error messages


From: Richard Terry
Subject: Re: [Gnumed-devel] Making - progress - new error messages
Date: Thu, 15 Jul 2004 15:42:42 +1000
User-agent: KMail/1.5.4

updated the cvs: Here is the log:

address@hidden:~/gnumed/gnumed/client/wxpython$ python gnumed.py --debug
log file is [/home/richard/.gnumed/gnumed.log]
Activating verbose log level for debugging.
Determining GnuMed base directory ...
- environment variable GNUMED_DIR not set
  (only necessary if nothing else works, though)
Determining GnuMed resource directory ...
WARNING: option <client encoding> not set in config file
You should name this workplace to better identify the machine !
To do this set the option "name" in the group [workplace] in the config file !
[PANIC] (gnumed.py::Main:328): Exception: Unhandled exception encountered.
[PANIC] (gnumed.py::Main:328): exception type : exceptions.NameError
[PANIC] (gnumed.py::Main:328): exception value: global name 'search_patch' is 
not defined
[PANIC] (gnumed.py::Main:328): Traceback (most recent call last):<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File "gnumed.py", line 324, in ?<#10-0x0A-lf>  
  
gmGuiMain.main()<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File 
"/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 752, in 
main<#10-0x0A-lf>    app = gmApp(0)<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File 
"/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in 
__init__<#10-0x0A-lf>    _wxStart(self.OnInit)<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File 
"/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 605, in 
OnInit<#10-0x0A-lf>    frame = gmTopLevelFrame(None, -1, _('GnuMed client'), 
(640,440))<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File 
"/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 155, in 
__init__<#10-0x0A-lf>    self.__load_plugins()<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File 
"/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 272, in 
__load_plugins<#10-0x0A-lf>    plugin_list = 
gmPlugin.GetPluginLoadList('gui')<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328):   File 
"/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmPlugin.py", line 307, in 
GetPluginLoadList<#10-0x0A-lf>    files = 
os.listdir(search_patch)<#10-0x0A-lf>
[PANIC] (gnumed.py::Main:328): NameError: global name 'search_patch' is not 
defined<#10-0x0A-lf>
Traceback (most recent call last):
  File "gnumed.py", line 324, in ?
    gmGuiMain.main()
  File "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 
752, in main
    app = gmApp(0)
  File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in 
__init__
    _wxStart(self.OnInit)
  File "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 
605, in OnInit
    frame = gmTopLevelFrame(None, -1, _('GnuMed client'), (640,440))
  File "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 
155, in __init__
    self.__load_plugins()
  File "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line 
272, in __load_plugins
    plugin_list = gmPlugin.GetPluginLoadList('gui')
  File "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmPlugin.py", line 
307, in GetPluginLoadList
    files = os.listdir(search_patch)
NameError: global name 'search_patch' is not defined
==============================================
END OF NEW INFO.


On Thu, 15 Jul 2004 03:17 pm, Karsten Hilbert wrote:
> > 3)  Made the symbolic link from site-packages to client:
> > ln -s /home/richard/gnumed/gnumed/client/
> > /usr/lib/python2.3/site-packages/Gnumed
>
> Now you are in good shape and should not need any fiddling
> with PYTHONPATH.
>
> > 3) Downloade the install_gm_db.py ran this as root
> >     - the gnumed database seemed to be made ok - I can log onto it via
> > pgaccess and view all the tables.
>
> Good.
>
> > 4) This is what my user stuff in gnumed looks like:
>
> Looks OK.
>
> > (after this I tried doing export PYTHONPATH=$PYTHONPATH:$(pwd) as well
> > but it made no difference).
>
> Shouldn't be needed given your link above.
>
> > Couldn't log onto hherb.com (?wrong syntax).
>
> hherb.com
> gnumed
> any-doc
> any-doc
>
> > and get the syntax for Karstens machine and try again.
>
> anubis.homeunix.com
> gnumed
> any-doc
> any-doc
>
> > ============================================
> > address@hidden:~/gnumed/gnumed/client/wxpython$ python gnumed.py
>
> Don't do that. Use gm-from-cvs.sh in gnumed/client/.
> Nonetheless what you do here should work. Also, you are
> running without --debug. Please do run --debug at least for
> posting or mailing log files.
>
> > log file is [/home/richard/.gnumed/gnumed.log]
>
> This tells us that, yes, GnuMed found the modules.
>
> > [PANIC] (gnumed.py::Main:328): Exception: Unhandled exception
> > encountered. [PANIC] (gnumed.py::Main:328): exception type :
> > exceptions.TypeError [PANIC] (gnumed.py::Main:328): exception value:
> > sequence expected, NoneType found [PANIC] (gnumed.py::Main:328):
> > Traceback (most recent call last):<#10-0x0A-lf> [PANIC]
> > (gnumed.py::Main:328):   File "gnumed.py", line 324, in ?<#10-0x0A-lf>
> > gmGuiMain.main()<#10-0x0A-lf> [PANIC] (gnumed.py::Main:328):   File
> > "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line
> > 752, in main<#10-0x0A-lf>    app = gmApp(0)<#10-0x0A-lf> [PANIC]
> > (gnumed.py::Main:328):   File
> > "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in
> > __init__<#10-0x0A-lf>    _wxStart(self.OnInit)<#10-0x0A-lf> [PANIC]
> > (gnumed.py::Main:328):   File
> > "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line
> > 605, in OnInit<#10-0x0A-lf>    frame = gmTopLevelFrame(None, -1,
> > _('GnuMed client'), (640,440))<#10-0x0A-lf> [PANIC]
> > (gnumed.py::Main:328):   File
> > "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line
> > 155, in __init__<#10-0x0A-lf>    self.__load_plugins()<#10-0x0A-lf>
> > [PANIC] (gnumed.py::Main:328):   File
> > "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmGuiMain.py", line
> > 272, in __load_plugins<#10-0x0A-lf>    plugin_list =
> > gmPlugin.GetPluginLoadList('gui')<#10-0x0A-lf> [PANIC]
> > (gnumed.py::Main:328):   File
> > "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmPlugin.py", line 341,
> > in GetPluginLoadList<#10-0x0A-lf>    _log.Log(gmLog.lData, "%s" % "\n ***
> > ".join(p_list))<#10-0x0A-lf> [PANIC] (gnumed.py::Main:328): TypeError:
> > sequence expected, NoneType found<#10-0x0A-lf>
>
> I see. Symptom fixed, fix checked in, error is being scratched
> head on. Symptom is that None can't be join()ed. Error is why
> it doesn't find any plugins in gui/. Please cvs update and
> rerun with --debug. Put in better logging.
>
> Karsten





reply via email to

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