Skip to Content
Menu
This question has been flagged
2 Replies
2455 Views

Hello Fellow Odoo fans,

I'v been setting up Automatic Backup to whatever 3e party app on odoo v11 community edition and i have some troubles with it. after putting the folder in the extra-addons directory the whole menu disapears and the url in the top bar is also incomplete..

It is about this app: https://www.odoo.com/apps/modules/11.0/automatic_backup_to_whatever/ 

I use a default docker environment. see: https://hub.docker.com/_/odoo/

and i mount the module on /mnt/extra-addons/ automatic_backup_to_whatever/

After this i ran the following commands in on my docker server:

Docker exec -it --user:root <container name> /bin/bash

Then i ran:

Apt-get update

apt install python-pip

After that i follow the instructions of the app to run: pip install -r requirements.txt

Then i restarted the container, and the first page i see is the website page, if i try to switch to an other menu item for example settings or aps or some other installed module the howl menu disapears.

Avatar
Discard

As you are using a third party module, better to contact with the author of the module. if you really feel it as issue with this module(make sure in a new db), then post a issue in their Git

Author Best Answer

Got this from the log:

2018-04-29 09:57:26,282 1 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 205, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 193, in execute

    application_iter = app(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 252, in app

    return self.app(e, s)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 166, in application

    return application_unproxied(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 154, in application_unproxied

    result = handler(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1297, in __call__

    self.load_addons()

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1319, in load_addons

    m = __import__('odoo.addons.' + module)

  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 82, in load_module

    exec(open(modfile, 'rb').read(), new_mod.__dict__)

  File "<string>", line 3, in <module>

 

  File "/mnt/extra-addons/automatic_backup_to_whatever/models/__init__.py", line 3, in <module>

    from . import models

  File "/mnt/extra-addons/automatic_backup_to_whatever/models/models.py", line 6, in <module>

    import boto3

ImportError: No module named 'boto3'

2018-04-29 09:57:44,147 1 INFO BVE-demo odoo.modules.loading: loading 1 modules...


And also this:

2018-04-29 10:06:03,967 1 ERROR BVE-demo werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 205, in run_wsgi

    execute(self.server.app)

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 193, in execute

    application_iter = app(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 252, in app

    return self.app(e, s)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 166, in application

    return application_unproxied(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 154, in application_unproxied

    result = handler(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1298, in __call__

    return self.dispatch(environ, start_response)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1462, in dispatch

    result = ir_http._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/ir_http.py", line 15, in _dispatch

    return super(IrHttp, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch

    return super(Http, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch

    return super(IrHttp, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 391, in _dispatch

    result = super(IrHttp, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 20, in _dispatch

    response = super(IrHttp, cls)._dispatch()

  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_http.py", line 212, in _dispatch

    return cls._handle_exception(e)

  File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 164, in _handle_exception

    return super(Http, cls)._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_http.py", line 182, in _handle_exception

    return request._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 761, in _handle_exception

    return super(HttpRequest, self)._handle_exception(exception)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise

    raise value

  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_http.py", line 208, in _dispatch

    result = request.dispatch()

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 820, in dispatch

    r = self._call_function(**self.params)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper

    return f(dbname, *args, **kwargs)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call

    result = self.endpoint(*a, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 927, in __call__

    return self.method(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap

    response = f(*args, **kw)

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1065, in content_image

    image_base64 = self.placeholder(image='placeholder.png')  # could return (contenttype, content) in master

  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 977, in placeholder

    addons_path = http.addons_manifest['web']['addons_path']

KeyError: 'web'

2018-04-29 10:06:04,022 1 INFO BVE-demo werkzeug: 172.17.0.1 - - [29/Apr/2018 10:06:04] "GET /web/webclient/locale/nl_NL HTTP/1.1" 200 -

Avatar
Discard