Advertising
- Mine
- Thursday, May 17th, 2012 at 8:18:10am MDT
- [Thu May 17 16:17:43 2012] INFO:modules:product:init product.template
- [Thu May 17 16:17:43 2012] ERROR:sql:Wrong SQL: ALTER TABLE `product_template` ADD CONSTRAINT `product_template_category_fkey` FOREIGN KEY (`category`) REFERENCES `product_category` (id) ON DELETE SET NULL None
- Traceback (most recent call last):
- File "/usr/bin/trytond", line 105, in <module>
- trytond.server.TrytonServer(options).run()
- File "/usr/lib/python2.7/dist-packages/trytond/server.py", line 138, in run
- Pool(db_name).init(update=update, lang=lang)
- File "/usr/lib/python2.7/dist-packages/trytond/pool.py", line 120, in init
- lang=lang)
- File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 397, in load_modules
- load_module_graph(graph, pool, lang)
- File "/usr/lib/python2.7/dist-packages/trytond/modules/__init__.py", line 227, in load_module_graph
- obj.init(module)
- File "/usr/lib/python2.7/dist-packages/trytond/modules/product/product.py", line 61, in init
- super(Template, self).init(module_name)
- File "/usr/lib/python2.7/dist-packages/trytond/model/modelsql.py", line 146, in init
- table.add_fk(field_name, ref, field.ondelete)
- File "/usr/lib/python2.7/dist-packages/trytond/backend/mysql/table.py", line 235, in add_fk
- (self.table_name, conname, column_name, reference, on_delete))
- File "/usr/lib/python2.7/dist-packages/trytond/backend/mysql/database.py", line 274, in execute
- raise exception
- _mysql_exceptions.OperationalError: Can't create table 'tryton.#sql-76b8_9d4' (errno: 150)
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.