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

Hi Everyone!

Dear Professionals!

I am new to odoo. i have installed odoo 12e last week and today when i have started server it gives a following error. I have searched but did't solved. Kindly give me a solution. Waiting for reply. Thanks!

On Browser:

Forbidden

You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.

Liclipse Error:

Traceback (most recent call last):
  File "/home/nasir/odooe/odooe12/odooe/odoo/addons/base/models/ir_http.py", line 109, in _authenticate
    request.session.check_security()
  File "/home/nasir/odooe/odooe12/odooe/odoo/http.py", line 1065, in check_security
    if not security.check_session(self, env):
  File "/home/nasir/odooe/odooe12/odooe/odoo/service/security.py", line 25, in check_session
    if expected and odoo.tools.misc.consteq(expected, session.session_token):
TypeError: unsupported operand types(s) or combination of types: 'str' and 'NoneType'
2020-03-09 07:34:55,208 5365 INFO lcmc_production werkzeug: 127.0.0.1 - - [09/Mar/2020 07:34:55] "GET /web/database/selector HTTP/1.1" 403 - 14 0.074 3.008
2020-03-09 07:34:55,434 5365 ERROR lcmc_production odoo.sql_db: bad query: b'SELECT "ir_attachment".id FROM "ir_attachment" WHERE (((("ir_attachment"."active" = true)  AND  "ir_attachment"."res_field" IS NULL )  AND  ("ir_attachment"."type" = \'binary\'))  AND  ("ir_attachment"."url" = \'/favicon.ico\')) ORDER BY "ir_attachment"."id" DESC  limit 1'
ERROR: column ir_attachment.active does not exist
LINE 1: ..."ir_attachment".id FROM "ir_attachment" WHERE (((("ir_attach...
                                                             ^
 


Avatar
Discard
Best Answer

Hi, Nasir

Sometimes user faces this issue due to the invalid/false session in a browser. So kindly try to open your Odoo in Incognito window. 

If you still have the same issue then try to run your Odoo using cli(odoo-bin)

In case you still have the same issue then feel free to ask.


Thanks, 
Ashish Singh (Team Lead) 
Webkul Software Private Limited

Avatar
Discard
Author

Thank you So Much! Solved

Best Answer

Hi Nasir.

if Your problem is not solved yet try to restart your postgres server it's just a database problem try this and give your feed back .

Avatar
Discard
Author

Thank You! Slved

Best Answer

f

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 23
11984
0
Oct 23
33
3
Oct 23
787
1
Oct 23
569
1
Aug 23
976