Bug 497475

Summary: media-video/kaffeine-2.1.0_pre20241125 corrupt epgdata.dvb
Product: [Applications] kaffeine Reporter: info
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: REPORTED ---    
Severity: normal CC: chmooreck, Manfred.Knick
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: corrupted epgdata.dvb

Description info 2024-12-14 22:20:18 UTC
SUMMARY

After fetching EPG data, when closing the programm, it writes the file /home/username/.local/share/kaffeine/epgdata.dvb to preserve the data.

starting with kaffeine >2.0.18-r3 (also happened with 2.0.19), when starting kaffeine afterwards, it throws the following warning:

[Warning ] kaffeine.epg: Corrupt data 
 home/username/.local/share/kaffeine/epgdata.dvb

and there is no data at all in the grogram guide. 
The file exists and the size fits with the ones produced in earlier versions.
As long as kaffeine runs after EPG data is fetched, the program guide works as expected, but after closing and starting it again, the warning is shown and the program guide is empty.

STEPS TO REPRODUCE
1.  start kaffeine
2.  wait for EPG data fetched
3.  close and restart 

OBSERVED RESULT

EPG data islost

EXPECTED RESULT

EPG data is preserved and loaded from epgdata.dvb

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version:  6.2.4
KDE Frameworks Version: 
Qt Version:  6.8.1

ADDITIONAL INFORMATION
Comment 1 Piotr 2025-04-02 15:44:55 UTC
Created attachment 179940 [details]
corrupted epgdata.dvb

This is saved epgdata.dvb which is corrupted on load.
Polish TVP1 data, some polish characters for sure.
Comment 2 Manfred Knick 2025-06-06 14:27:08 UTC
@ Mauro Carvalho Chehab

Hi, Mauro,
with 129 bugs open, dating back since 2016-08-21 ,
this latest one with not even one comment at all for half a year,
may I humbly ask if you feel responsibility for kaffeine
of should it be better honestly buried as "unmaintained upstream"?

Kind regards
Respectfully yours
"Old (gentoo) fogey"      Manfred