Hi, Sorry for the trouble there. This is due to stricter behavior of Session.save() in the latest SQLAlchemy. I've updated the QuickWiki tutorial and submitted a patch to fix this for the version installable from Cheeseshop. It's a one-liner though: just change
Session.save(page) in the 'save' method of the page controller to Session.save_or_update(page) and editing existing items should work as expected. Cheers, -- Ches Martin On Nov 24, 8:27 am, miniwark <[EMAIL PROTECTED]> wrote: > Sorry if i did not post in the good place, i did not have find a place > dedicaced to > the QuickWiki learning app. > > I am new to Pylons ans i am testing it now. As a total newbee i try to > follow the QuickWiki Tutorial. > I have just install Pylons + QuickWiki and sqlite and i can bind to > the default QuickWiki FrontPage. > I have then decide to change the frontpage to see what happen. With > the edit feature :http://127.0.0.1:5000/page/edit > > But when i try to update the wiki page i have an Error 500 server > error at this page > :http://127.0.0.1:5000/page/save?content=Welcome+to+the+QuickWiki+fron... > > In the same time there is a SQLAlchemy console error : > Error - <class 'sqlalchemy.exceptions.InvalidRequestError'>: Instance > '[EMAIL PROTECTED]' is already persistent > > Did i have forget something in the config setting ? > > Sincerely --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
