missing external dependency "unidecode"
Bug #1190658 reported by
Davide Corio
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Product Attributes |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
while trying to install the module i get:
ImportError: No module named unidecode
this dependency should be declared in the __openerp__.py file
Related branches
lp:~enlightx-deactivatedaccount/openerp-product-attributes/7.0-bug-1190658-unidecode-dep
- Sébastien BEAU - http://www.akretion.com: Approve (code review, no test)
- Guewen Baconnier @ Camptocamp: Approve (code review, no test)
-
Diff: 12 lines (+4/-0)1 file modifiedproduct_custom_attributes/__openerp__.py (+4/-0)
Changed in openerp-product-attributes: | |
status: | New → Fix Released |
Changed in openerp-product-attributes: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Hi,
When the external dependency is present in the __openerp__.py file, I cannot install base_custom_ attributes in OpenERP.
I get an error:
Error
Unable to upgrade module "base_custom_ attributes" because an external dependency is not met: No module named unidecode
That's a strange issue. addons. base.module. module. module. check_external_ dependencies( ) uses `imp.find_ module( )`. In that case `imp.find_ module( 'unidecode' , None)` returns an ImportError. However, if I put an pdb at the same place and do a `import unidecode`, it finds the module and import it correctly.
The unidecode egg is in sys.path. The method openerp.
A colleague of mine confirmed he had the same issue on another computer.