Odoo Help


Odoo 8 Automated Backups Module Error

Brad Ridgeway
on 9/23/15, 1:30 AM 1,500 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


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?


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

Ray Carnes
on 9/25/15, 1:29 AM

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

Brad Ridgeway
on 9/27/15, 5:49 PM


| 8 8 8

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 7/7/16, 4:50 AM

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.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/23/15, 1:30 AM
Seen: 1500 times
Last updated: 7/7/16, 4:50 AM