gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] python-hl7 dependency


From: Jerzy Luszawski
Subject: [Gnumed-devel] python-hl7 dependency
Date: Mon, 18 Mar 2013 02:23:41 +0100

Hi,

Another minor problem I got when running from VCS tree was dependency on
python-hl7.
When this library is missing the client throws unhandled exception.

------- terminal output ---
.========================================================
| Unhandled exception caught !
| Type : <type 'exceptions.ImportError'>
| Value: No module named hl7
`========================================================
Traceback (most recent call last):
  File "gnumed.py", line 603, in <module>
    from Gnumed.wxpython import gmGuiMain
  File 
"/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 
82, in <module>
    from Gnumed.wxpython import gmEMRBrowser
  File 
"/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/wxpython/gmEMRBrowser.py", 
line 35, in <module>
    from Gnumed.wxpython import gmVaccWidgets
  File 
"/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/wxpython/gmVaccWidgets.py", 
line 38, in <module>
    from Gnumed.wxpython import gmFormWidgets
  File 
"/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/wxpython/gmFormWidgets.py", 
line 26, in <module>
    from Gnumed.wxpython import gmMacro
  File "/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/wxpython/gmMacro.py", 
line 54, in <module>
    from Gnumed.wxpython import gmMeasurementWidgets
  File 
"/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/wxpython/gmMeasurementWidgets.py",
 line 24, in <module>
    from Gnumed.business import gmHL7
  File "/home/jll2/prg/gm-git/gnumed/gnumed/gnumed/Gnumed/business/gmHL7.py", 
line 14, in <module>
    import hl7 as pyhl7
ImportError: No module named hl7
----------- end of terminal output ----

This was easy to handle - I just installed it, but could not find any hint 
about this prerequisite in documentation (wiki). 
Perhaps check-prerequisites script should test for its presence? 

Regards,
Jerzy



reply via email to

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