what database?

On May 10, 6:22 pm, Oscar <oscar.m...@gmail.com> wrote:
> Hi Massimo,
>
> I´m using your plugin_wiki for build a Wiki, so I had found a lot of
> issues, I don´t know if these are bugs or a simple messed up
> plugin_wiki installation.
>
> Before describe my problem I must state that all DB are set as
> migrate_enabled=False
>
> I had created some pages in the Wiki, after few days I wanted to erase
> some pages, but it can't. Web2Py returns the following error:
>
> Traceback (most recent call last):\n  File "/home/dotcloud/current/
> gluon/restricted.py", line 181, in restricted\n    exec ccode in
> environment\n  File "/home/dotcloud/ec5e653/applications/init/
> controllers/plugin_wiki.py", line 324, in <module>\n  File "/home/
> dotcloud/current/gluon/globals.py", line 133, in <lambda>\n
> self._caller = lambda f: f()\n  File "/home/dotcloud/current/gluon/
> tools.py", line 2302, in f\n    return action(*a, **b)\n  File "/home/
> dotcloud/ec5e653/applications/init/controllers/plugin_wiki.py", line
> 72, in page_edit\n    next=URL(r=request,f=\'page\',args=request.args))
> \n  File "/home/dotcloud/current/gluon/tools.py", line 2915, in update
> \n    callback(onaccept,form,table._tablename)\n  File "/home/dotcloud/
> current/gluon/tools.py", line 53, in callback\n    [action(form) for
> action in actions]\n  File "/home/dotcloud/current/gluon/tools.py",
> line 2809, in archive\n    id = archive_table.insert(**new_record)\n
> File "/home/dotcloud/current/gluon/dal.py", line 4487, in insert\n
> return self._db._adapter.insert(self,self._listify(fields))\n  File "/
> home/dotcloud/current/gluon/dal.py", line 772, in insert\n    raise e
> \nIntegrityError: insert or update on table "plugin_wiki_page_archive"
> violates foreign key constraint
> "plugin_wiki_page_archive_current_record_fkey"\nDETAIL:  Key
> (current_record)=(40) is not present in table "plugin_wiki_page".\n\n'
> p4724
>
> I checked the plugin_wiki_page table and all looks fine.
>
> If you can give me some lights about this issue it will be apreciated.
>
> Oscar.

Reply via email to