Ciao Roberto,

I'm afraid it doesn't work...

What I can't understand is why:

   - update to user name is not committed
   - update to item name is committed

both use DBSesion.merge

Also:

   - new item is committed
   - new user is not committed

and both use DBSession.add

I have MySQL query log full of

60 Query     rollback
61 Query     rollback

but I don't do anything that could raise an exception nor I know a way to
know why these rollbacks were issued.

Sometimes editing user hangs then I get:

OperationalError: (OperationalError) (1205, 'Lock wait timeout exceeded; try
restarting transaction') 'UPDATE users SET name=%s WHERE users.id = %s'
('Userqq', 1L)

Francamente non so che pesci pigliare...

Ciao
Renzo


On Wed, Oct 19, 2011 at 12:58 PM, Roberto De Ioris <[email protected]> wrote:

>
> Il giorno 19/ott/2011, alle ore 12:30, neurino ha scritto:
>
> > Ok then, I'll drop mod_wsgi for some other.
> >
> > thank you
>
>
> Before doing something so drastic (and maybe useless) try setting the
> number of threads in mod_wsgi to 1 (instead of 4).
>
>
> >
> > On Wed, Oct 19, 2011 at 12:19 PM, Chris McDonough <[email protected]>
> wrote:
> > On Wed, 2011-10-19 at 09:31 +0200, neurino wrote:
> > > What do you mean with _missing_?
> >
> > I mean missing, as in "not there", "not present", "absent" wrt runtime.
> >
> > > `repoze.tm2` is in my production.ini pipeline
> > >
> > > [pipeline:main]
> > > pipeline =
> > >     egg:WebError#evalerror
> > >     tm
> > >     bmhandbook
> > >
> > > [filter:tm]
> > > use = egg:repoze.tm2#tm
> > > commit_veto = repoze.tm:default_commit_veto
> >
> >
> > Really don't know, sorry.
> >
> > -
>
> --
> Roberto De Ioris
> http://unbit.it
> JID: [email protected]
>
> --
> 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.
>
>

-- 
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.

Reply via email to