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

By
Pascal Tremblay
on 11/3/14, 1:17 PM 1,664 views

Unable to resolve this « 500 internal server error ».

I have got this error log.

So I have deleted the line in ir_rule containing «issue_user_rule».

But the same error appear even if this line is deleted in ir_rule.

I have restarted the server.

An idea?

2014-11-03 18:11:22,049 2686 INFO ? openerp: OpenERP version 8.0-8a9027e
2014-11-03 18:11:22,049 2686 INFO ? openerp: addons paths: ['/var/lib/odoo/addons/8.0', u'/usr/lib/python2.7/dist-packages/openerp/addons']
2014-11-03 18:11:22,049 2686 INFO ? openerp: database hostname: localhost
2014-11-03 18:11:22,049 2686 INFO ? openerp: database port: 5432
2014-11-03 18:11:22,049 2686 INFO ? openerp: database user: odoo
2014-11-03 18:11:22,219 2686 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-11-03 18:11:22,224 2686 INFO la_page_pt openerp.modules.loading: loading 1 modules...
2014-11-03 18:11:22,353 2686 INFO la_page_pt openerp.modules.loading: 1 modules loaded in 0.13s, 0 queries
2014-11-03 18:11:22,386 2686 INFO la_page_pt openerp.modules.loading: loading 82 modules...
2014-11-03 18:11:22,390 2686 INFO la_page_pt passlib.registry: registered crypt handler 'pbkdf2_sha512': <class 'passlib.handlers.pbkdf2.pbkdf2_sha512'>
2014-11-03 18:11:22,390 2686 INFO la_page_pt passlib.registry: registered crypt handler 'md5_crypt': <class 'passlib.handlers.md5_crypt.md5_crypt'>
2014-11-03 18:11:22,454 2686 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
2014-11-03 18:11:22,465 2686 INFO la_page_pt openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2014-11-03 18:11:23,956 2686 INFO la_page_pt openerp.modules.module: module portal_project_issue: creating or updating database tables
2014-11-03 18:11:23,963 2686 INFO la_page_pt openerp.modules.loading: loading portal_project_issue/security/portal_security.xml
2014-11-03 18:11:24,071 2686 CRITICAL la_page_pt openerp.service.server: Failed to initialize database `la_page_pt`.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/service/server.py", line 901, in preload_registries
    registry = RegistryManager.new(dbname, update_module=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 698, in _tag_record
    self._test_xml_id(rec_id)
  File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 289, in _test_xml_id
    assert modcnt == 1, """The ID "%s" refers to an uninstalled module""" % (xml_id,)
ParseError: "The ID "project_issue.issue_user_rule" refers to an uninstalled module" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/portal_project_issue/security/portal_security.xml:20, near
<record model="ir.rule" id="project_issue.issue_user_rule">
            <field name="name">Project/Issue: employees: public, portal, employee or (followers and following)</field>
            <field name="domain_force">['|',
                                            ('project_id.privacy_visibility', 'in', ['public', 'portal', 'employees']),
                                            '&amp;',
                                                ('project_id.privacy_visibility', '=', 'followers'),
                                                ('message_follower_ids', 'in', [user.partner_id.id]),
                                        ]</field>
        </record>

I also tried this : « openerp-server -c /etc/odoo/openerp-server.conf -i portal -i portal_project_issue --stop-after-init -i portal_anonymous » still the same error.

Thanks!

I've got the same issue. Could you check what version of Odoo you are working on by clicking on About Odoo? You need to insure that your git repository of Odoo is pointing and up-to-date with 8.0 branch in Github (not master). master branch is the version 9.0. If you have not updated your repository since official release, you might have the same issue with a "corrupted" database.

Savoir-Faire Linux, Pierre Gault
on 11/3/14, 4:33 PM

Version 8.0-8a9027e

Pascal Tremblay
on 11/3/14, 4:35 PM

To verify that i'm pointing to the right repository, are you talking about the file /etc/apt/sources.list? thanks

Pascal Tremblay
on 11/3/14, 4:39 PM

No. Have you installed Odoo from github?

Savoir-Faire Linux, Pierre Gault
on 11/3/14, 4:42 PM

I installed Odoo with apt-get. Thanks

Pascal Tremblay
on 11/3/14, 4:44 PM
0

gunnar

--gunnar--
1153
| 6 7 8
Germany
--gunnar--

born

gunnar
On 12/21/14, 5:41 AM
0

Pascal Tremblay

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


Pascal Tremblay
On 11/3/14, 2:08 PM

In my database, I have put all the « Portal » entries to uninstalled. I have restart the server. At least, now, Odoo starts in my browser. I can login.

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

2 follower(s)

Stats

Asked: 11/3/14, 1:17 PM
Seen: 1664 times
Last updated: 3/16/15, 8:10 AM