gnumed-devel
[Top][All Lists]
Advanced

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

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


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

1) removed /home/richard/gnumed
2) Got clean version from cvs:
        cvs -z3 -d:ext:address@hidden:/cvsroot/gnumed co gnumed
3)  Made the symbolic link from site-packages to client:
ln 
-s /home/richard/gnumed/gnumed/client/ /usr/lib/python2.3/site-packages/Gnumed
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.
4) This is what my user stuff in gnumed looks like:

gnumed=# \du
                 List of database users
    User name    | User ID |         Attributes
-----------------+---------+----------------------------
 _any-doc        |     104 |
 _richard        |     101 | superuser, create database
 _test-doc       |     130 |
 _test-nurse     |     132 |
 _test-secretary |     134 |
 any-doc         |     103 |
 gm-dbowner      |     102 | create database
 postgres        |       1 | superuser, create database
 richard         |     100 | superuser, create database
 test-doc        |     129 |
 test-nurse      |     131 |
 test-secretary  |     133 |
(12 rows)

If I try and log onto the local gnumed database (port 5432) using any-doc name 
and any-doc password I get the following errors:

(after this I tried doing export PYTHONPATH=$PYTHONPATH:$(pwd) as well but it 
made no difference).

Couldn't log onto hherb.com (?wrong syntax). I'll re-insert my ARCH hard drive 
and get the syntax for Karstens machine and try again. In the meantime here 
were my errors:

============================================
address@hidden:~/gnumed/gnumed/client/wxpython$ python gnumed.py
log file is [/home/richard/.gnumed/gnumed.log]
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.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>
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 
341, in GetPluginLoadList
    _log.Log(gmLog.lData, "%s" % "\n *** ".join(p_list))
TypeError: sequence expected, NoneType found
address@hidden:~/gnumed/gnumed/client/wxpython$
===================================

Regards

Richard






reply via email to

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