akretion / file-exchange

File Exchange
7 stars 9 forks source link

Error when doing "Update Modules List" due to dependencies #1

Open guewen opened 9 years ago

guewen commented 9 years ago
 File "/home/gbaconnier/code/instances/openerp/dev/parts/file-exchange/file_repository/file_repository.py", line 25, in <module>
    from .file_connexion import FileConnection
  File "/home/gbaconnier/code/instances/openerp/dev/parts/file-exchange/file_repository/file_connexion.py", line 27, in <module>
    import paramiko
ImportError: No module named paramiko

Same error with unicodecsv.

The dependencies should be added in __openerp__.py and the imports should be be protected against ImportError.

bealdav commented 9 years ago

you are right