Bug 497475 - media-video/kaffeine-2.1.0_pre20241125 corrupt epgdata.dvb
Summary: media-video/kaffeine-2.1.0_pre20241125 corrupt epgdata.dvb
Status: REPORTED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-14 22:20 UTC by info
Modified: 2025-04-02 15:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
corrupted epgdata.dvb (40.12 KB, application/octet-stream)
2025-04-02 15:44 UTC, Piotr
Details

Note You need to log in before you can comment on or make changes to this bug.
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.