Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
11416 Lượt xem

When I try to shut down the server, I get this error:

       mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/Users/imac/Desktop/openerp/openerp/addons/account_test/__init__.py", line 1, in <module>
    import account_test
  File "/Users/imac/Desktop/openerp/openerp/addons/account_test/account_test.py", line 32, in <module>
    import pooler
ImportError: No module named pooler

Any suggetions would be great.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Try

  • from openerp import pooler instead of
  • import pooler
Ảnh đại diện
Huỷ bỏ
Tác giả

I'm not sure this is an answer. I am not creating a module myself. This error is thrown as a result of a module from the trunk and not m own. Shouldn't this be fixed by the dev team?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 24
3852
0
thg 11 24
1596
2
thg 7 24
3246
0
thg 4 24
2112
3
thg 3 24
2006