mythnews claims mythbrowser is not installed when it is

Bug #446861 reported by Blackpaw
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mythplugins (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: mythplugins

Have installed MythNews and MythBrowser vie mythbuntu-control-center

The slash dot news feed download article titles and summarys in the righthand list with no problems
However when attempting to access articles I get the following error message:

"No browser command set! MythNews needs MythBrowser to be installed."

The console log does not show any errors (started with "-v most")

ProblemType: Bug
Architecture: i386
Date: Fri Oct 9 11:30:42 2009
DistroRelease: Ubuntu 9.10
Package: mythnews 0.22.0~trunk22304-0ubuntu1
ProcEnviron:
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
SourcePackage: mythplugins
Uname: Linux 2.6.31-12-generic i686
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1737): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (polkit-gnome-authentication-agent-1:2345): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (xfce4-terminal:2482): Terminal-WARNING **: Unable to load terminal preferences.
 (polkit-gnome-authentication-agent-1:3270): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (xfce4-terminal:3284): Terminal-WARNING **: Unable to load terminal preferences.

Revision history for this message
Blackpaw (blackpaw) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :

Setting to medium since it is a trade-off between being easy to work around and fix, but annoying to new users:

Work-around: go into setup -> setup -> info center -> web settings and change the value of the browser to anything, and change the text zoom to anything. Select OK to exit the screen. Now go back into the screen and change the values back to Internal and 1.4 (assuming you'd like a zoom level of 1.4).

The actual problem is that "WebBrowserCommand" and "WebBrowserZoomLevel" (and their default values of Internal and 1.4) are completely missing from the Mythbuntu database:

mysql> select * from `settings` where value = 'WebBrowserCommand';
Empty set (0.00 sec)
mysql> select * from `settings` where value = 'WebBrowserZoomLevel';
Empty set (0.00 sec)

After performing the above steps, we now have:

mysql> select * from `settings` where value = 'webbrowserzoomlevel';
+---------------------+------+----------+
| value | data | hostname |
+---------------------+------+----------+
| WebBrowserZoomLevel | 1.4 | pippi |
+---------------------+------+----------+
1 row in set (0.00 sec)

mysql> select * from `settings` where value = 'webbrowsercommand';
+-------------------+----------+----------+
| value | data | hostname |
+-------------------+----------+----------+
| WebBrowserCommand | Internal | pippi |
+-------------------+----------+----------+
1 row in set (0.00 sec)

Changed in mythplugins (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-9.10
status: New → Triaged
Revision history for this message
MarcRandolph (mrand) wrote :

I must have missed hitting the "OK" button when I tried to do it the previous time, or else I hit <ESC> rather than <ENTER>, but regardless, it was correctly pointed out to me that you don't have to change the values to anything - just go into that screen, then tab over to "OK" and then hit <ENTER>. This will populate the database.

Revision history for this message
Blackpaw (blackpaw) wrote :

 Thanks for the feedback guys, I can confirm the bug still exists in mythbuntu 9.10RC1 but the workaround does work.

MarcRandolph (mrand)
tags: added: database
Revision history for this message
buzzlightyear (lp-dewet) wrote :

I can confirm the bug, as well as the workaround on 9.10.

MarcRandolph (mrand)
tags: added: mythtv-database
removed: database
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.