it-projects-llc / odoo-runbot-docker

43 stars 47 forks source link

AttributeError: 'runbot.repo' object has no attribute 'git' #17

Open yustas147 opened 6 years ago

yustas147 commented 6 years ago

Hi! Could you please help with this: When i press Update on odoo repository, after git clone phase i got an error:

Odoo Odoo Server Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 546, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 583, in dispatch result = self._call_function(self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 319, in _call_function return checked_call(self.db, *args, *kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper return f(dbname, args, kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 316, in checked_call return self.endpoint(*a, kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 812, in call return self.method(*args, *kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 412, in response_wrap response = f(args, kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, 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 268, in wrapper return old_api(self, *args, *kwargs) File "/mnt/runbot-addons/runbot_custom/models.py", line 130, in update self.update_git(cr, uid, repo) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 268, in wrapper return old_api(self, args, kwargs) File "/mnt/runbot-addons/runbot_custom/models.py", line 155, in update_git repo.git(['gc', '--auto', '--prune=all']) AttributeError: 'runbot.repo' object has no attribute 'git'

nimamsv commented 5 years ago

I have the same issue.