Odoo Help


This community 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.


Unable to add a static folder to my module?????

Pascal Tremblay
on 2/19/16, 11:29 AM 459 views

Hello all,

I don't know what I did wrong in my custom module. Mystery....

I have isolated all the files of my module. I have restarted and updated it 100 times...

As soon as I put the static folder in the module, even empty, I get this error :

If I delete the static folder, I can restart the server and update my module without error.

What is the problem?


2016-02-19 16:23:11,282 6065 ERROR ? werkzeug: Error on request:

Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 159, in run_wsgi


File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 146, in execute

application_iter = app(environ, start_response)

File "/home/odoo-test/odoo-8.0-20160219/openerp/service/server.py", line 290, in app

return self.app(e, s)

File "/home/odoo-test/odoo-8.0-20160219/openerp/service/wsgi_server.py", line 216, in application

return application_unproxied(environ, start_response)

File "/home/odoo-test/odoo-8.0-20160219/openerp/service/wsgi_server.py", line 202, in application_unproxied

result = handler(environ, start_response)

File "/home/odoo-test/odoo-8.0-20160219/openerp/http.py", line 1289, in __call__


File "/home/odoo-test/odoo-8.0-20160219/openerp/http.py", line 1304, in load_addons

manifest = ast.literal_eval(open(manifest_path).read())

File "/usr/lib/python2.7/ast.py", line 49, in literal_eval

node_or_string = parse(node_or_string, mode='eval')

File "/usr/lib/python2.7/ast.py", line 37, in parse

return compile(source, filename, mode, PyCF_ONLY_AST)

File "<unknown>", line 42



I have commented all the line in my __init__.py file.

I have remove all the depends and all data in my __openerp__.py file.

Still impossible to add a static folder without error.

No reason for that, check the permissions of the module folder or post your module to github or something

Axel Mendoza
on 2/19/16, 1:51 PM

thanks. I come back with solution.

Pascal Tremblay
on 2/19/16, 1:52 PM

Pascal Tremblay

--Pascal Tremblay--
| 5 2 7
Alma, Canada
--Pascal Tremblay--

Pascal Tremblay
On 2/19/16, 2:33 PM

I have uninstalled my module.

I have created a new module with a new name. 

I have built a new __openerp__.py file.

I have transferred all the files from the old module to the new one.

Now it works... 


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/19/16, 11:29 AM
Seen: 459 times
Last updated: 2/19/16, 2:33 PM