# GnuHealth module not found

**URL:** <https://discuss.tryton.org/t/gnuhealth-module-not-found/3209>\
**Category:** User\
**Created:** [September 12, 2020, 3:37pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209 "2020-09-12T15:37:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurt3455](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/kurt3455/32/1060_2.png) [@kurt3455](https://discuss.tryton.org/u/kurt3455)\
**Post date:** [September 12, 2020, 3:37pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209/1 "2020-09-12T15:37:50Z")

</div>

Good morning everyone, I have a problem with a Gnuhealth module, I use Tryton 5.0.0 and the latest version of Gnuhealth, I have the instance hosted on Amazon web services(Debian10). My problem is with the health\_pediatrics\_growth\_charts\_who module.  
What could be the problem?

 ![error](https://discuss-cdn.tryton.org/uploads/default/original/2X/6/68fc43bae3ea1c1006efc7a57765938d4217bb58.jpeg)

```auto
    1975 139736506951488 [2020-09-12 15:30:01,532] INFO trytond.modules health_pediatrics_grow
th_charts_who:registering classes
Traceback (most recent call last):
  File "./bin/trytond-admin", line 21, in <module>
    admin.run(options)
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/admin.py", line 54, in run
    activatedeps=options.activatedeps)
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/pool.py", line 149, in init
    self.start()
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/pool.py", line 102, in start
    register_classes()
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/modules/ __init__.py", line 331, in reg
ister_classes
    the_module = import_module(module)
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/modules/ __init__.py", line 53, in impo
rt_module
    module = importlib.import_module(fullname)
  File "/usr/lib/python3.7/importlib/ __init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/modules/health_pediatrics_growth_chart
s_who/ __init__.py", line 24, in <module>
    from .wizard import *
  File "/home/admin/gnuhealth/trytond-5.0.0/trytond/modules/health_pediatrics_growth_chart
s_who/wizard/ __init__.py", line 22, in <module>
    from .wizard_health_pediatrics_growth_charts_who import *
ModuleNotFoundError: No module named 'trytond.modules.health_pediatrics_growth_charts_who.
wizard.wizard_health_pediatrics_growth_charts_who'

```

---

<div class="post-metadata">

**Author:** ![Alnus](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/alnus/32/1009_2.png) [@Alnus](https://discuss.tryton.org/u/Alnus)\
**Post date:** [September 12, 2020, 4:05pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209/2 "2020-09-12T16:05:10Z")

</div>

Hello, Jhon  
In the folder of **/home/admin/gnuhealth/trytond-5.0.0/trytond/modules/** verify if it finds the folder of the module **health\_pediatrics\_growth\_charts\_who** , in case to exist update the modules.

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [September 12, 2020, 4:31pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209/3 "2020-09-12T16:31:49Z")

</div>

There is bug on the gnuhealht code that tries to import a module which does not exist.  
You should report the issue to [it’s bug tracker](https://savannah.gnu.org/bugs/?group=health).

---

<div class="post-metadata">

**Author:** ![kurt3455](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/kurt3455/32/1060_2.png) [@kurt3455](https://discuss.tryton.org/u/kurt3455)\
**Post date:** [September 14, 2020, 4:27pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209/4 "2020-09-14T16:27:45Z")

</div>

Thanks for the help, I was testing and the module “health\_pediatrics” managed to load when I delete “health\_pediatrics\_growth\_charts” and “health\_pediatrics\_growth\_charts\_who”. I sent an email to [health@gnu.org](mailto:health@gnu.org) explaining my problem.

---

<div class="post-metadata">

**Author:** ![coogor](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/coogor/32/47_2.png) [@coogor](https://discuss.tryton.org/u/coogor)\
**Post date:** [October 1, 2020, 2:46pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209/5 "2020-10-01T14:46:41Z")

</div>

Root cause, just for the records: The tool to unpack the source tarball (was it mc?) cut off the last part of the path, so the module could not be found.  
Using plain tar resp bsdtar fixed the issue

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [October 31, 2020, 2:46pm UTC](https://discuss.tryton.org/t/gnuhealth-module-not-found/3209/6 "2020-10-31T14:46:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
