[Bug 998179] Re: sync of groupdav contacts fails with "unknown error code 0"

Bug Watch Updater 998179 at bugs.launchpad.net
Sat Jun 2 13:08:42 UTC 2012


Launchpad has imported 17 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=299482.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-05-06T06:30:07+00:00 Mathias-homann wrote:

every 5 minutes or so I get a popup from akonadi telling me that syncing
from my owncloud calendar failed with "unknown error code 0".

Guys... return code 0 means "it worked fine", not "something went
wrong"...

I looked at the debugger output in akonadiconsole, and there are no errors showing.
prior to upgrading to kde 4.8.3 everything worked.

Reproducible: Always

Steps to Reproduce:
1. use akonadi with owncloud calendars

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/0

------------------------------------------------------------------------
On 2012-05-06T18:07:16+00:00 cattin wrote:

I have exactly the same problem. Since upgrading to KDE 4.8.3 I get this
error whenever akondi checks for updates.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/1

------------------------------------------------------------------------
On 2012-05-07T08:19:53+00:00 Mathias-homann wrote:

I updated another computer to KDE 4.8.3, and I get the same popups.
This is getting annoying.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/2

------------------------------------------------------------------------
On 2012-05-07T10:40:13+00:00 Mathias-homann wrote:

I have build a kdepim runtime package with this changeset removed:
https://projects.kde.org/projects/kde/kdepim-runtime/repository/revisions/77d63ae37d53a811785978a450e6f722dbb9655e/diff/resources/dav/protocols/carddavprotocol.cpp


the error seems to be fixed with that.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/3

------------------------------------------------------------------------
On 2012-05-07T11:06:04+00:00 Mathias-homann wrote:

(In reply to comment #3)
> I have build a kdepim runtime package with this changeset removed:
> https://projects.kde.org/projects/kde/kdepim-runtime/repository/revisions/
> 77d63ae37d53a811785978a450e6f722dbb9655e/diff/resources/dav/protocols/
> carddavprotocol.cpp
> 
> 
> the error seems to be fixed with that.

After some trying out I can confirm that removing this changeset also
removes the weird "errors".

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/4

------------------------------------------------------------------------
On 2012-05-07T20:22:07+00:00 Mathias-homann wrote:

I have two user accounts on the same computer.
User 1 is completely local, and akonadi operates on a per-user local mysql instance, and the bug happens.
The interesting part is user 2, which uses a central mysql server for akonadi because its home directory is on nfs... and the bug does **not** happen.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/5

------------------------------------------------------------------------
On 2012-05-08T14:39:14+00:00 cattin wrote:

I can confirm that removing this patch set also solved the problem for
me, although I don't know what the original intent of the introduced
change was. I forgot to mention that I'm also working with owncloud.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/6

------------------------------------------------------------------------
On 2012-05-13T21:23:39+00:00 woawa wrote:

I am experiencing a similar effect with ownCloud **contacts** (not with
calendars) on Kubuntu 12.04 with kdepim-runtime 4:4.8.3-0ubuntu0.1~ppa1.
The caldav sync works fine.  However, whenever the carddav sync kicks
in, I get this popup with the error message described above and no
contacts are synced at all.  For me downgrading to kdepim-runtime 4:4.8
.2a-0ubuntu2 helps in bringing the carddav sync with my ownCloud
instance back to working properly.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/8

------------------------------------------------------------------------
On 2012-05-14T07:35:11+00:00 Bellegarde Cedric wrote:

Same here, downgrading to kdepim-runtime 4.8.2 fix the issue...

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/9

------------------------------------------------------------------------
On 2012-05-15T11:15:33+00:00 Bellegarde Cedric wrote:

Building kdepim-runtime-4.8.3 ArchLinux package reverting
77d63ae37d53a811785978a450e6f722dbb9655e commit also fix the issue.

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/10

------------------------------------------------------------------------
On 2012-05-15T11:31:45+00:00 Greg-xrvasas wrote:

*** Bug 300047 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/11

------------------------------------------------------------------------
On 2012-05-15T11:36:51+00:00 Greg-xrvasas wrote:

I'll try to give a look into this this week. If any of you can attach to
this bug, or send me privately, a network capture of what's going on
between the resource and the server this would definitely help speed
things up. The full error message (there's a number between brackets
after "unknown error code 0"; this last number means nothing resource-
wise).

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/12

------------------------------------------------------------------------
On 2012-05-15T12:58:57+00:00 avlas wrote:

Same here I reverted kdepim-runtime to 4.8.2a in kubuntu 12.04 and it
got fixed. I also filled a bug in launchpad about this bug:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/998179

I know that this doesn't bring much information but I didn't find a good
(and easy) way of following comments on this bug, other than commenting.
It would be great if there were a button of "follow me" in bugs.kde.org

I wonder if I should fill a bug for that...

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/14

------------------------------------------------------------------------
On 2012-05-15T19:25:50+00:00 Greg-xrvasas wrote:

Git commit bec63a313160ec6dc1833029d5e99746779ed3f4 by Gregory Oestreicher.
Committed on 15/05/2012 at 21:19.
Pushed by goestreicher into branch 'KDE/4.8'.

Add a prop-filter in the CardDAV requests
FIXED-IN: 4.8.4

M  +6    -0    resources/dav/protocols/carddavprotocol.cpp

http://commits.kde.org/kdepim-
runtime/bec63a313160ec6dc1833029d5e99746779ed3f4

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/15

------------------------------------------------------------------------
On 2012-05-16T09:10:37+00:00 kaouete wrote:

Hi,

Both reverting the previous patch or applying this one on kdepim-runtime 4.8.3 does not fix the bug for me.
It should be said that I reported the bug #300047 that was marked as duplicate and that I never experienced the "unknown error code 0" message box!

Thus, I am wondering if #300047 is really a duplicate :)

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/17

------------------------------------------------------------------------
On 2012-05-16T09:20:26+00:00 Bellegarde Cedric wrote:

>I never experienced the "unknown error code 0" message box!

Same for me, message is in akonadiconsole debug tools...

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/18

------------------------------------------------------------------------
On 2012-05-16T11:23:42+00:00 kaouete wrote:

For information, I don't have this error message in the console debug
tool either, I just get what I pasted below. I am going to answer the
question on the other bug report as soon as I get the information from
the admins.

akonadi_davgroupware_resource_8 (0x1d2afb0) 1313 LSUB 411 0 (RESOURCE akonadi_davgroupware_resource_8) (ANCESTORS INF) 
akonadi_davgroupware_resource_8 (0x1d2afb0) * 411 409 (NAME "Perso" MIMETYPE (text/directory) REMOTEID "https://hostname/SOGo/dav/username/Contacts/personal/" REMOTEREVISION "" RESOURCE "akonadi_davgroupware_resource_8" CACHEPOLICY (INHERIT true INTERVAL 3 CACHETIMEOUT -1 SYNCONDEMAND false LOCALPARTS ()) ANCESTORS ((409 "akonadi_davgroupware_resource_8") (0 "")) ENTITYDISPLAY "(\"\" \"view-pim-contacts\" \"\" ())" AccessRights "a" davprotocol "1") 
akonadi_davgroupware_resource_8 (0x1d2afb0) 1313 OK List completed 
akonadi_davgroupware_resource_8 (0x1d2afb0) 1314 SELECT SILENT 411 
akonadi_davgroupware_resource_8 (0x1d2afb0) 1314 OK Completed 
akonadi_davgroupware_resource_8 (0x1d2afb0) 1315 FETCH 1:* FULLPAYLOAD ALLATTR CACHEONLY EXTERNALPAYLOAD (UID REMOTEID REMOTEREVISION COLLECTIONID FLAGS SIZE DATETIME) 
akonadi_davgroupware_resource_8 (0x1d2afb0) 1315 OK FETCH completed

Reply at: https://bugs.launchpad.net/kdepim/+bug/998179/comments/19


** Changed in: kdepim
       Status: Unknown => Fix Released

** Changed in: kdepim
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/998179

Title:
  sync of groupdav contacts fails with "unknown error code 0"

Status in KDE Personal Information Management:
  Fix Released
Status in “kdepim” package in Ubuntu:
  Confirmed

Bug description:
  a notification from akonadi indicates an error each time a sync of
  owncloud is intended (which is pretty annoying): "unknown error code
  0".

  there is an upstream bug: https://bugs.kde.org/show_bug.cgi?id=299482

  this is happening for the sync of contacts and there is a fix for it
  (it seems a kdepim patch is causing the issues and reversing it solves
  the problem, please see comments starting from #5), although in my
  opinion it didn't get enough attention and it's not fixed yet in
  current version of kdepim.

  So the workaround turns out to be great for people that compiles
  kdepim but not for kubuntu users. I would be very grateful if kubuntu
  maintainers could push the fix upstream (apparently it would take few
  minutes to solve the issue). In the meantime, it would be great if a
  modified version of kdepim was in launchpad for the people that has
  this problem.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdepim/+bug/998179/+subscriptions



More information about the Ubuntu-sponsors mailing list