Webfrontend #555

Error when rebuilding database: LINE 1: ...ate" FROM "ir_module_module" AS "a" WHERE ("a"."name" IN ())

Added by Thomas Mielke over 3 years ago. Updated about 2 years ago.

Status:ErledigtStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:Repertoire 1) Testing phase I

Description

portal_1 | Traceback (most recent call last):
portal_1 | File "/usr/local/bin/pserve", line 11, in
portal_1 | sys.exit(main())
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 58, in main
portal_1 | return command.run()
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 328, in run
portal_1 | global_conf=vars)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/pyramid/scripts/pserve.py", line 363, in loadapp
portal_1 | return loadapp(app_spec, name=name, relative_to=relative_to, **kw)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
portal_1 | return loadobj(APP, uri, name=name, **kw)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
portal_1 | return context.create()
portal_1 | File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
portal_1 | return self.object_type.invoke(self)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
portal_1 | return fix_call(context.object, context.global_conf, **context.local_conf)
portal_1 | File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
portal_1 | val = callable(*args, **kw)
portal_1 | File "/ado/src/collecting_society.portal/collecting_society_portal/init.py", line 83, in main
portal_1 | Tdb.init()
portal_1 | File "/ado/src/collecting_society.portal/collecting_society_portal/models/base.py", line 70, in init
portal_1 | Pool().init()
portal_1 | File "/ado/src/trytond/trytond/pool.py", line 151, in init
portal_1 | lang=lang)
portal_1 | File "/ado/src/trytond/trytond/modules/init.py", line 421, in load_modules
portal_1 | load_modules()
portal_1 | File "/ado/src/trytond/trytond/modules/
init.py", line 383, in load_modules
portal_1 | load_module_graph(graph, pool, update, lang)
portal
1 | File "/ado/src/trytond/trytond/modules/
init.py", line 210, in load_module_graph
portal_1 | where=ir_module.name.in
(modules)))
portal_1 | File "/ado/src/trytond/trytond/backend/postgresql/database.py", line 317, in execute
portal_1 | return self.cursor.execute(sql)
portal_1 | psycopg2.ProgrammingError: syntax error at or near ")"
portal_1 | LINE 1: ...ate" FROM "ir_module_module" AS "a" WHERE ("a"."name" IN ())

column marker is on "))"

Associated revisions

Revision 885aa9af
Added by Thomas Mielke over 3 years ago

fixes #556, fixes #555: locking between api and portal during database creation

History

#1 Updated by Thomas Mielke over 3 years ago

  • Status changed from Neu to Erledigt
  • % Done changed from 0 to 100

Applied in changeset commit:c3s_ado_repertoire|885aa9afeaec75b372c202803fb1dce27bd6b0a2.

#2 Updated by Alexander Blum about 2 years ago

  • Target version changed from 1) Testing phase I to Repertoire 1) Testing phase I

#3 Updated by Alexander Blum about 2 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF