Opened 18 years ago
Closed 18 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 by , 18 years ago
| Status: | new → assigned |
|---|
by , 18 years ago
| Attachment: | weathersourcesettings.sql added |
|---|
mythconverg weathersourcesettings dump file
comment:2 by , 18 years ago
I will truncate those tables and set it up again, and will let you know how it goes. Thanks.
by , 18 years ago
| Attachment: | weathersourcesettings.new.sql added |
|---|
WeatherSourcesettings after truncating and reconfiguring mythweather
comment:3 by , 18 years ago
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 by , 18 years ago
| 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 by , 18 years ago
| Milestone: | 0.21 → 0.22 |
|---|---|
| Status: | started → assigned |
comment:6 by , 18 years ago
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 by , 18 years ago
comment:8 by , 18 years ago
| 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.