Odoo Help

Welcome!

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.

0

Still an 500 internal server!

By
Pascal Tremblay
on 11/4/14, 8:10 AM 773 views

Trying to install Portal on odoo v8.

I'm sure that all my last post on this forum are linked together. I'm a problem with public user. I want to completely delete it or recreate it till to days.

Here is my log :

2014-11-04 13:04:08,078 19992 INFO la_page_pt openerp.service.server: Initiating shutdown
2014-11-04 13:04:08,078 19992 INFO la_page_pt openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2014-11-04 13:04:10,105 20225 INFO ? openerp: OpenERP version 8.0-8a9027e
2014-11-04 13:04:10,105 20225 INFO ? openerp: addons paths: ['/var/lib/odoo/addons/8.0', u'/usr/lib/python2.7/dist-packages/openerp/addons']
2014-11-04 13:04:10,105 20225 INFO ? openerp: database hostname: localhost
2014-11-04 13:04:10,105 20225 INFO ? openerp: database port: 5432
2014-11-04 13:04:10,105 20225 INFO ? openerp: database user: odoo
2014-11-04 13:04:10,275 20225 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-11-04 13:04:10,280 20225 INFO la_page_pt openerp.modules.loading: loading 1 modules...
2014-11-04 13:04:10,409 20225 INFO la_page_pt openerp.modules.loading: 1 modules loaded in 0.13s, 0 queries
2014-11-04 13:04:10,432 20225 INFO la_page_pt openerp.modules.loading: loading 77 modules...
2014-11-04 13:04:10,436 20225 INFO la_page_pt passlib.registry: registered crypt handler 'pbkdf2_sha512': <class 'passlib.handlers.pbkdf2.pbkdf2_sha512'>
2014-11-04 13:04:10,436 20225 INFO la_page_pt passlib.registry: registered crypt handler 'md5_crypt': <class 'passlib.handlers.md5_crypt.md5_crypt'>
2014-11-04 13:04:10,501 20225 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
2014-11-04 13:04:10,513 20225 INFO la_page_pt openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2014-11-04 13:04:12,689 20225 INFO la_page_pt openerp.modules.loading: 77 modules loaded in 2.26s, 0 queries
2014-11-04 13:04:12,767 20225 INFO la_page_pt openerp.modules.loading: Modules loaded.
2014-11-04 13:04:29,616 20225 INFO ? openerp.http: HTTP Configuring static files
2014-11-04 13:04:29,622 20225 INFO la_page_pt_4 openerp.modules.loading: loading 1 modules...
2014-11-04 13:04:29,745 20225 INFO la_page_pt_4 openerp.modules.loading: 1 modules loaded in 0.12s, 0 queries
2014-11-04 13:04:29,895 20225 INFO la_page_pt_4 openerp.modules.loading: loading 79 modules...
2014-11-04 13:04:30,251 20225 INFO la_page_pt_4 openerp.modules.module: module auth_signup: creating or updating database tables
2014-11-04 13:04:30,325 20225 INFO la_page_pt_4 openerp.addons.auth_crypt.auth_crypt: Hashing passwords, may be slow for databases with many users...
2014-11-04 13:04:30,353 20225 INFO la_page_pt_4 openerp.modules.loading: loading auth_signup/auth_signup_data.xml
2014-11-04 13:04:30,471 20225 INFO la_page_pt_4 werkzeug: 192.168.1.10 - - [04/Nov/2014 13:04:30] "GET /login?db=la_page_pt&login=flooder@cgocable.ca&key=lsdlsd25 HTTP/1.1" 500 -
2014-11-04 13:04:30,481 20225 ERROR la_page_pt_4 werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 280, in app
    return self.app(e, s)
  File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1215, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1189, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1347, in dispatch
    ir_http = request.registry['ir.http']
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 319, in registry
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
  File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 293, in get
    update_module)
  File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 324, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 354, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 263, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 182, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 899, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 985, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 851, in parse
    self._tags[rec.tag](self.cr, rec, n, mode=mode)
  File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 765, in _tag_record
    id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 1064, in _update
    },context=context)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 237, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 332, in old_api
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3951, in create
    record = self.browse(self._create(old_vals))
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 235, in wrapper
    return new_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 464, in new_api
    result = method(self._model, cr, uid, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 4089, in _create
    tuple([u[2] for u in updates if len(u) > 2])
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ParseError: "duplicate key value violates unique constraint "ir_model_data_module_name_uniq"
DETAIL:  Key (name, module)=(default_template_user_res_partner, auth_signup) already exists.
" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/auth_signup/auth_signup_data.xml:6, near
<record id="default_template_user" model="res.users">
            <field name="name">Template User</field>
            <field name="login">portaltemplate</field>
            <!-- No password: this template user doesn't need to log in -->
            <field name="password"/>
            <field name="active" eval="False"/>
            <!-- Avoid auto-including this user in any default group, just like a typical portal member -->
            <field name="groups_id" eval="[(6, 0,  [ref('base.group_portal')])]"/>
            <!-- allow signuped users to have a alias -->
            <field name="alias_name">_usertemplate</field>
        </record>

Any idea? Thanks

 

0

Pascal Tremblay

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


Pascal Tremblay
On 11/4/14, 8:18 AM

I have deleted the line in the table ir_model_data via pgadmin. 

« 3848    1    2014-09-27 01:08:05.922484    2014-09-27 01:08:05.922484    1    t    default_template_user_res_partner    2014-09-27 01:08:06    2014-09-27 01:08:06    auth_signup    res.partner    5 »

 

 

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)

Stats

Asked: 11/4/14, 8:10 AM
Seen: 773 times
Last updated: 3/16/15, 8:10 AM