Skip to Content
Menu
This question has been flagged
3 Replies
4369 Views

I am getting the following error trying to install pysftp on Ubuntu 14.04.2 as a requirement for the Auto_Backup module:

Command: sudo pip install pysftp

Which Python: /usr/bin/python

Error:

Requirement already satisfied (use --upgrade to upgrade): pysftp in /usr/local/lib/python2.7/dist-packages

Requirement already satisfied (use --upgrade to upgrade): paramiko>=1.7.7 in /usr/local/lib/python2.7/dist-packages (from pysftp)

Cleaning up...

What command do I need to run to get pysftp installed?

Thanks

Avatar
Discard

The 'error' is telling you pysftp is already installed.

Author

Ray, Here is the error I get when i click Update Module List: Odoo Server Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 530, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 567, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 303, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 300, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 796, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 396, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 940, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 928, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 393, in old_api result = new_api(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 397, in new_api result = [method(rec, *args, **kwargs) for rec in self] File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/wizard/base_module_update.py", line 15, in update_module self.updated, self.added = self.env['ir.module.module'].update_list() File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 462, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 654, in update_list handler.load_addons() File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1298, in load_addons m = __import__('openerp.addons.' + module) File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 80, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/usr/lib/python2.7/dist-packages/openerp/addons/auto_backup/__init__.py", line 23, in import backup_scheduler File "/usr/lib/python2.7/dist-packages/openerp/addons/auto_backup/backup_scheduler.py", line 33, in raise ImportError('This module needs pysftp to automaticly write backups to the FTP through SFTP. Please install pysftp on your system. (sudo pip install pysftp)') ImportError: This module needs pysftp to automaticly write backups to the FTP through SFTP. Please install pysftp on your system. (sudo pip install pysftp) Brad

Best Answer

Hi Brad,

You already have Pysftp installed on your system. There has been an issue a while ago with pysftp that was causing odd errors in combination with the auto_backup module though.
When you reboot the server and then update the Odoo with "Update Modules list" it'll be fine. Your Odoo is not recognizing the pysftp yet because it is not fully active on your system yet. After a reboot Odoo is able to find pysftp and it'll work.

Regards,
Yenthe

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 23
2170
0
Jun 23
1192
4
Jul 24
12086
0
Sep 22
828
7
Jan 19
42916