Opened 15 years ago
Closed 15 years ago
#4639 closed defect (duplicate)
Mythweather only displays blank screen
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | trivial | Milestone: | 0.22 |
Component: | mythweather | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
Recently, mythweather stopped displaying weather information. I have removed all of my weather screens, and added them all back in, and to no avail. In Global settings, if I do not select background retrieval of images, then it segfaults
Attachments (3)
Change History (11)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
Changed 15 years ago by
Attachment: | weathersourcesettings.sql added |
---|
mythconverg weathersourcesettings dump file
comment:2 Changed 15 years ago by
I will truncate those tables and set it up again, and will let you know how it goes. Thanks.
Changed 15 years ago by
Attachment: | weathersourcesettings.new.sql added |
---|
WeatherSourcesettings? after truncating and reconfiguring mythweather
comment:3 Changed 15 years ago by
I truncated the 3 tables and reconfigured the weather screens. Seems to work now, although I have not yet reconfigured on host gandalf yet.
comment:4 Changed 15 years ago by
Priority: | minor → trivial |
---|---|
Severity: | medium → low |
Status: | assigned → started |
Seems like mythweather doesn't handle old scripts being removed very well. I'll see what needs to be done to fix that.
comment:5 Changed 15 years ago by
Milestone: | 0.21 → 0.22 |
---|---|
Status: | started → assigned |
comment:6 Changed 15 years ago by
I also had this problem around the time the scripts were moved. Following the advice listed I truncated all 3 mythweather tables and re-added the screens. This worked fine and stopped the segfaulting.
I've just tried to view the weather just now and I'm seeing that same behavior again, even though I haven't touched the mythweather scripts, or changed any screens again since.
Last lines of the mythfrontend log are...
2008-02-21 18:27:03.688 Starting update of BBC-Current-XML 2008-02-21 18:27:03.697 Starting update of BBC-3day-XML 2008-02-21 18:27:03.708 Starting update of Animated-Map-Download 2008-02-21 18:27:03.744 XMLParse::LoadTheme? using /usr/local/share/mythtv/themes/default/weather-ui.xml QPainter::begin: Cannot paint null pixmap QPainter::setPen: Will be reset by begin() Segementation fault
Running 16178 using the Retro theme.
I can't manage to get the seg fault under gdb as when it gets to that point it just shows the blank theme of mythweather. Where it would normally crash at that point, instead it just freezes forever.
I've attached the gdb.txt output I got in case it is still useful.
comment:7 Changed 15 years ago by
comment:8 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
I'll address the issue of handling missing scripts as part of the mythweather tasks ticket.
Could you attached a dump of the weathersourcesettings table?
Could you also try the following and then re-add the screens?: TRUNCATE weathersourcesettings; TRUNCATE weatherscreens; TRUNCATE weatherdatalayout;
The segfault is probably related but I'll deal with it separately. A backtrace would be nice, but may not be needed.