[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] python-hl7 dependency
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] python-hl7 dependency |
Date: |
Tue, 19 Mar 2013 13:20:42 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Mar 18, 2013 at 02:23:41AM +0100, Jerzy Luszawski wrote:
> 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 ----
Ah, indeed. I fixed this by only importing python-hl7 as
needed for the time being.
> 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?
Good idea.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- [Gnumed-devel] python-hl7 dependency, Jerzy Luszawski, 2013/03/17
- Re: [Gnumed-devel] python-hl7 dependency,
Karsten Hilbert <=
- Re: [Gnumed-devel] python-hl7 dependency, Busser, Jim, 2013/03/19
- Re: [Gnumed-devel] python-hl7 dependency, Karsten Hilbert, 2013/03/20
- Re: [Gnumed-devel] python-hl7 dependency, Busser, Jim, 2013/03/20
- Re: [Gnumed-devel] python-hl7 dependency, Karsten Hilbert, 2013/03/20