تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
11421 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

Try

  • from openerp import pooler instead of
  • import pooler
الصورة الرمزية
إهمال
الكاتب

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?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 24
3860
0
نوفمبر 24
1598
2
يوليو 24
3251
0
أبريل 24
2114
3
مارس 24
2015