Processed: Fwd: Re: Sqlite akonadi transaction mode fix

2015-01-31 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 775990 -moreinfo
Bug #775990 [akonadi-backend-sqlite] [akonadi-backend-sqlite] Akonadi reports 
deadlocks
Removed tag(s) moreinfo.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
775990: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775990
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.c.142274128123557.transcr...@bugs.debian.org



Bug#775990: Fwd: Re: Sqlite akonadi transaction mode fix

2015-01-31 Thread Sandro Knauß
tag 775990 -moreinfo
thanks

Hey,

thanks for the further information. But please if you have some information to 
bugs, attach them to the bugreport. It is much easier to follow a specific 
discussion instead of switching between different lists...

did you checked if there is a matching upstream bug?  This one should go 
upsteam. Can you check for a matching bug (bugs.kde.org) - if there is none 
create a new one. Afterwards please let us know the bugnr.

regads,

sandro

--  Weitergeleitete Nachricht  --

Betreff: Re: Sqlite akonadi transaction mode fix
Datum: Montag, 26. Januar 2015, 09:45:03
Von: David Goodenough 
An: debian-...@lists.debian.org

On Wednesday 21 January 2015 09:49:18 David Goodenough wrote:
> I use KdePIM and thus akonadi with SqLite.  I am running unstable and am
> up to date with fixes.
> 
> Looking in the KDE bug database I found:-
> 
> http://osdir.com/ml/kde-commits/2014-07/msg02228.html
> 
> which seems to address the repeated dialog boxes I get while filters run on
> my mailboxes, and the log messages of which:-
> 
> DATABASE ERROR:
>   Error code: 6
>   DB error:  "database is deadlocked"
>   Error text: "database is deadlocked Unable to fetch row"
>   Query: "UPDATE PimItemTable SET atime = ? WHERE ( ( PimItemTable.id = ? )
> )"
> 
> is an example.  All the errors I get currently are deadlock errors.
> 
> I don't think this fix is in the current build, and I realise that Debian is
> getting ready for a new release and thus it is unlikely that this fix will
> be able to be slotted in any time soon.  Can I simply get the source, add
> this one patch and rebuild, or is it more complicated.  Also which
> package(s) would I have to rebuild?  Is it just akonadi-backend-sqlite?
> 
> David
Well having loaded the source and looked at it, this patch is already in
the system.

What this says is that some of the database statements are being executed
not in an explicit transaction.  If you use transactions it is required that 
ALL statements are done this way, otherwise the DB will add put default
transactions around the unbounded statements and they will not be
in the right mode (in this case IMMEDIATE).  Normally this will not be a
problem, and quite possibly other DBs will get away with this, but SqLite
has a non-standard way of doing the locking (this IMMEDIATE mode in the
BEGIN TRANSACTION) and my guess is that this is the root of the problem.

When I have time I will look at the specific SQL statements that are failing
and see if that finds some of the missing beginTransaction calls.

David


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1796778.UFKC3oLe24@tabin.local



Bug#763020: libakonadiprotocolinternals1: akonadi fails sync imap folders after sleep resume

2015-01-31 Thread Sandro Knauß
Hi,

can you add logging for kdepim/akonadi and the resources? Set the logging via 
kdebugdialog (search for kdepim, akonadi, resources) and aktivate them.

Afterwards the log is hopefully better to say, what was going on while going 
to sleep. Btw. please also mark the position where you get to sleep.

Regads,

sandro

--
Am Donnerstag, 29. Januar 2015, 09:38:23 schrieb Kai Michael Hamich:
> Hi,
> 
> i had this problem too the last days ...
> 
> i dont know if this message is related to this bug, but after resuming,
> akonadi print out these lines:
> 
> 
> QObject::startTimer: QTimer cannot have a negative interval
> QObject::startTimer: QTimer cannot have a negative interval
> QObject::startTimer: QTimer cannot have a negative interval
> QObject::startTimer: QTimer cannot have a negative interval
> SEARCH:
> Query: "{ "limit" : -1, "negated" : false, "rel" : 1, "subTerms" : [
> { "cond" : 0, "key" : "email", "negated" : false, "value" :
> "b...@sandroknauss.de" } ] }"
> MimeTypes: ("text/directory")
> Collections: QVector(3, 3, 1391, 1392, 1391, 1392)
> Remote: false
> Recursive true
> Executing search "kmail2-1620836711-SearchSession"
> Search done "kmail2-1620836711-SearchSession" (without remote search)
> Result: 0 matches
> QObject::startTimer: QTimer cannot have a negative interval
> QObject::startTimer: QTimer cannot have a negative interval
> QObject::startTimer: QTimer cannot have a negative interval
> QObject::startTimer: QTimer cannot have a negative interval
> 
> 
> Regards,
> 
> Kai
> 
> Am Donnerstag, 29. Januar 2015, 03:13:54 schrieb Sandro Knauß:
> > tags 763020 +moreinfo
> > thanks
> > 
> > Hey,
> > 
> > > Atfer resuming (sleep mode), akonadi hangs on a folder, unable to sync
> > 
> > I can't reproduce this behaviour.
> > * What kinds of resources do you use?
> > * Is there a active network connection while going to sleep?
> > * Can you run akonadi restart in a console and attach the output with a
> > sleep in between?
> > 
> > Regads,
> > 
> > sandro


--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/3671772.eAtUgtiUcO@tabin.local



Bug#730048: kmail does not properly quote From field when replying

2015-01-31 Thread Sandro Knauß
Hey,

can you help me how i do get to this on my own kmail? What I have to do to see 
this behaviour? I tried to set the name in the identity to Knauß, Sandro 
(without quotes) and it updates the email adress after save correctly to
"Knauß, Sandro" 

Maybe opening the edit dialog of the identity and close it afterwards helps...

Regards,

sandro
--
Am Donnerstag, 29. Januar 2015, 09:32:06 schrieb LeJacq, Jean Pierre:
> On Thursday 29 January 2015 02:28:02 Sandro Knauß wrote:
> > tags 730048 +moreinfo
> > thanks
> > 
> > I tried to reproduced this issue but failed. Do you see this behaviour
> > only
> > for some emailadresses or for all and/or with the current version?
> 
> Hi Sandro,
> 
> Thanks for maintaining the package and in particular investigating this bug.
> 
> I still see the issue with version 4.14.2. I've attached two screen-shots
> with and without the identity set to sticky. Only when the identity is set
> to sticky is the proper quoting working.
> 
> Our policy is to have the From address formatted as "Family, Given" which is
> why the quotes are necessary.


--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2591717.XEDFBYrGV4@tabin.local