-
Notifications
You must be signed in to change notification settings - Fork 23.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS error in web.assests_common.js #10377
Comments
Good day @japettyjohn. Could you go to the URL /web?debug=. By doing this, there won't be a web.assets_common.js, but rather many specific javascript files. That way you will see in which javascript file throws that error. |
Hi @japettyjohn. Could you find the root cause of the problem using debug mode? Or did it disappear? |
When using debug=. I get a TypeError: openerp._openerp is undefined from https://github.com/odoo/odoo/blob/9.0/addons/web/static/src/js/framework/session.js#L256 |
got the same error. any fix yet? Thats a real show-stopper guys! |
Same problem here as well |
I'm experiencing the same issue. |
Hello I am also facing this issue. Now browser console is showing Uncaught TypeError: Cannot read property 'base' of undefined in session.js on Line 256 |
I had the same issue with a new installation using Docker. I found out that the problem was I haven't created the odoo user in the server. After creating the user and assigning it admin privileges the problem went away. Hope it helps. |
Hi, I also trapped into this Problem when installing Odoo into a docker container. gbisheimer: can you explain it a little bit more detailed. The default dockerfile will create the odoo user and start the container as user odoo. |
I was having the same problem running it with Docker (Docker Compose). I don't see how it is related, but the problem seemed to be the name of the user in the PostreSQL database. Steps to reproduceIn the project's directory, Create a file version: '2'
services:
server:
image: odoo:9
links:
- db:db
environment:
- DB_PORT_5432_TCP_ADDR=db
- DB_PORT_5432_TCP_PORT=5432
- DB_ENV_POSTGRES_PASSWORD=odoo
ports:
- '8069:8069'
db:
image: postgres:9.5
environment:
- POSTGRES_PASSWORD=odoo Notice that there is no And the "entrypoint" in the Odoo assigns a default user of " Then run: docker-compose up -d After it creates the containers, go to Fill the form to create a database (for example named " After finishing importing and creating the database, enter the credentials in the login form. After that, the blank screen with the Odoo logo comes up. WorkaroundIn the project's directory, Create a file version: '2'
services:
server:
image: odoo:9
links:
- db:db
environment:
- DB_PORT_5432_TCP_ADDR=db
- DB_PORT_5432_TCP_PORT=5432
- DB_ENV_POSTGRES_PASSWORD=odoo
- DB_ENV_POSTGRES_USER=odoo
ports:
- '8069:8069'
db:
image: postgres:9.5
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo Notice that there is a Then run: docker-compose up -d After it creates the containers, go to Fill the form to create a database (for example named " Note:
After finishing importing and creating the database, enter the credentials in the login form. After that, the normal Odoo screen comes up with the apps to be installed. |
Closing as this should be solved now and there's a workaround any way. |
I installed odoo 9 with docker today and after it has completed creating the database the home page of /web/ has this JS error:
Uncaught TypeError: Cannot read property 'base' of undefined from web.assets_common.js:2660
I turned on debug_sql and do not see any errors in the log. The database is created and the tables are all there.
The text was updated successfully, but these errors were encountered: