Reinicie postgres y el servidor y me deja hacer la compilacion, pero al
instalar el modulo sale_pos me sale lo siguiente:
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 169, in dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/wizard/wizard.py", line 218, in execute
return wizard._execute(state_name)
File "/trytond/wizard/wizard.py", line 249, in _execute
result = self._execute(transition())
File "/trytond/ir/module/module.py", line 494, in transition_upgrade
pool.init(update=True, lang=lang)
File "/trytond/pool.py", line 151, in init
lang=lang)
File "/trytond/modules/__init__.py", line 399, in load_modules
load_module_graph(graph, pool, lang)
File "/trytond/modules/__init__.py", line 235, in load_module_graph
cls.__register__(module)
File "/trytond/modules/sale/sale.py", line 270, in __register__
super(Sale, cls).__register__(module_name)
File "/trytond/model/modelsql.py", line 107, in __register__
default_fun, field_size, string=field.string)
File "/trytond/backend/postgresql/table.py", line 270, in add_raw_column
(column_format(default),))
File "/trytond/backend/postgresql/database.py", line 309, in execute
return self.cursor.execute(sql, params)
InternalError: transacción abortada, las órdenes serán ignoradas hasta el
fin de bloque de transacción
El lunes, 30 de diciembre de 2013 20:00:32 UTC-3, Luis Deiana escribió:
>
> Buenas tardes, al intentar instalar el modulo sale_pos me pide como
> dependencia el modulo sale_shop, pero no se terminan de instalar y siempre
> estan en estado: "para instalar". compile nuevamente y me tira el siguiente
> error:
>
> [Mon Dec 30 19:16:02 2013] INFO:modules:sale_shop
> [Mon Dec 30 19:16:02 2013] INFO:modules:sale_shop:register sale.shop
> [Mon Dec 30 19:16:03 2013] INFO:modules:sale_shop:register
> sale.shop-res.user
> [Mon Dec 30 19:16:03 2013] INFO:modules:sale_shop:register sale.sale
> Traceback (most recent call last):
> File "Tryton/tryton3.0/trytond/bin/trytond", line 111, in <module>
> trytond.server.TrytonServer(options).run()
> File "/home/luis/Tryton/tryton3.0/trytond/trytond/server.py", line 124,
> in run
> Pool(db_name).init(update=update, lang=lang)
> File "/home/luis/Tryton/tryton3.0/trytond/trytond/pool.py", line 151, in
> init
> lang=lang)
> File "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/__init__.py",
> line 399, in load_modules
> load_module_graph(graph, pool, lang)
> File "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/__init__.py",
> line 235, in load_module_graph
> cls.__register__(module)
> File "/home/luis/Tryton/tryton3.0/trytond/trytond/modules/sale/sale.py",
> line 270, in __register__
> super(Sale, cls).__register__(module_name)
> File "/home/luis/Tryton/tryton3.0/trytond/trytond/model/modelsql.py",
> line 107, in __register__
> default_fun, field_size, string=field.string)
> File
> "/home/luis/Tryton/tryton3.0/trytond/trytond/backend/postgresql/table.py",
> line 270, in add_raw_column
> (column_format(default),))
> File
> "/home/luis/Tryton/tryton3.0/trytond/trytond/backend/postgresql/database.py",
> line 309, in execute
> return self.cursor.execute(sql, params)
> psycopg2.InternalError: transacción abortada, las órdenes serán ignoradas
> hasta el fin de bloque de transacción
>
> Saludos. Gracias.
>