Bug 362848

Summary: packagekit gets angry about amount of transactions
Product: [Applications] Discover Reporter: Harald Sitter <sitter>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Harald Sitter 2016-05-09 09:21:03 UTC
If I go to the updates page (with 272 updates), packagekit gets angry with discover and starts shouting

muondiscover(26943)/(default) PackageKitResource::fetchDetails()::<lambda: error fetching details "could not create transaction /4569_deeeaaab: failed to allocate /4569_deeeaaab as uid 1000 already has 501 transactions in progress"

doesn't seem to have any adverse effect other than the spam in terminal. I think there might be need for a bit of rate limiting though as to reduce stdout flooding.

Reproducible: Always
Comment 1 Aleix Pol 2016-05-19 11:27:09 UTC
Git commit b9515062feefb00b993e873cccd9ab34008e4ae7 by Aleix Pol.
Committed on 19/05/2016 at 11:20.
Pushed by apol into branch 'master'.

Request all changelogs in the same API call

Instead of using per-resource API, offer more fine-grained API to the
backend.

M  +1    -4    libdiscover/UpdateModel/UpdateModel.cpp
M  +3    -2    libdiscover/backends/PackageKitBackend/PackageKitResource.h
M  +24   -1    libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
M  +5    -1    libdiscover/backends/PackageKitBackend/PackageKitUpdater.h
M  +8    -0    libdiscover/resources/AbstractBackendUpdater.cpp
M  +2    -0    libdiscover/resources/AbstractBackendUpdater.h
M  +7    -0    libdiscover/resources/ResourcesUpdatesModel.cpp
M  +1    -0    libdiscover/resources/ResourcesUpdatesModel.h

http://commits.kde.org/discover/b9515062feefb00b993e873cccd9ab34008e4ae7