Skip to Content
Menu
This question has been flagged
3 Replies
5906 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?

Thanks


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

execute(app)

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__

self.load_addons()

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

^


UPDATE #1

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.


Avatar
Discard

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

Author

thanks. I come back with solution.

Author Best Answer

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

Mystery

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 24
179
0
Nov 24
69
2
Jul 24
714
0
Apr 24
563
3
Mar 24
588