Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not load module
#1
Hi,

I have a below error on line 756 of this file. What should I do? 

Output:
        [echo] Running script         [exec]Loading transformation from directory: /home/bani/Desktop/workspace/testpython/backend/generated/transformation         [exec] Loading rule: HCountry2Community         [exec] Error: high is out of bounds for int32         [exec] Class: /home/bani/Desktop/workspace/testpython/backend/generated/transformation/HCountry2Community.py         [exec] File: /home/bani/Desktop/workspace/testpython/backend/generated/transformation/HCountry2Community.py         [exec] Exists: True         [exec] System path: ['/home/bani/Desktop/workspace/testpython/backend/generated', '/home/bani/Desktop/SyVOLT-master', '/home/bani/Desktop/workspace/testpython/backend/generated/backend/generated', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-i386-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/home/bani/.local/lib/python3.5/site-packages', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages']         [exec] Traceback (most recent call last):         [exec]   File "toplevel.py", line 71, in <module>         [exec]     test.test_correct(args)         [exec]   File "/home/bani/Desktop/SyVOLT-master/util/test_script_base.py", line 48, in test_correct         [exec]     self.rules, self.transformation = load_transformation(self.transformation_directory, self.full_transformation)         [exec]   File "/home/bani/Desktop/SyVOLT-master/util/test_script_utils.py", line 44, in load_transformation         [exec]     rule = load_class(dir_name + "/" + load_rule_name + ".py")         [exec]   File "/home/bani/Desktop/SyVOLT-master/core/himesis_utils.py", line 756, in load_class         [exec]     raise Exception("Could not load module: " + module_name)         [exec] Exception: Could not load module: HCountry2Community         [exec] Result: 1
Reply
#2
obviously the problem is in HCountry2Community.py and the error is high is out of bounds for int32
That's what can be said from this Traceback.
Reply
#3
(May-24-2017, 10:19 AM)buran Wrote: obviously the problem is in HCountry2Community.py and the error is high is out of bounds for int32
That's what can be said from this Traceback.

Thank you. HCountry2Community.py is in this link.
Reply
#4
It would be better to rise an issue in GitHub to notify the developer of this package. I cannot go in such detail - it's very specific
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Function will not load from a module Pedroski55 1 1,797 Jul-29-2020, 12:27 AM
Last Post: deanhystad
  python import sybpydb error: DLL load failed: The specified module could not be found andieDu 3 7,655 Apr-04-2018, 06:58 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020