Ticket #314 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

kdepim plugin generates spurious QFile::writeBlock error

Reported by: Graham Cobb Owned by: ehabkost
Priority: low Milestone:
Component: Plugin: kdepim Version: 0.X
Severity: minor Keywords:


Whenever I perform a synchronisation which includes kdepim I see the following error logged in the output a couple of times near the end:

QFile::writeBlock: Write operation not permitted

The error seems to cause no problem -- the entries seem to be written -- but it is confusing for new users, particularly if they are trying to track down a problem.

Change History

comment:1 Changed 8 years ago by Graham Cobb

I have just realised what may be causing this. In my Kontact setup I have several calendar resources and several contacts resources. Of these, most are marked read-only.

I get these errors reported for every attempt to modify an entry in the read-only resources, which is not unreasonable (although a more meaningful error would be good -- maybe kdepim could check if the resource is read-only before attempting the update?).

However, I also get two of these errors even when the synchronisation involves no updates to entries in these resources (or, indeed, any changes at all on the kdepim side). Maybe kdepim-plugin is doing some sort of update to the resource even when nothing has changed?

comment:2 Changed 8 years ago by ehabkost

  • Status changed from new to closed
  • Resolution set to fixed

The message is confusing and shows a problem (because libkabc is trying to do the wrong thing). But this has no problems other than showing that message, fortunately.

The problem was fixed on KDE svn. See commit and related ticket.

Note: See TracTickets for help on using tickets.