SettingsGUI on Freerunner

sparky mat max at sparkymat.net
Sun Jul 27 15:32:24 CEST 2008


On Sun, Jul 27, 2008 at 5:38 PM, ritz <khadgaray at gmail.com> wrote:

> On Sun, 2008-07-27 at 10:28 +0530, sparky mat wrote:
> > Has someone tried the SettingsGUI on the Freerunner? I keep getting
> > the following error:
> >
> > valueError: invalid literal for int() with base 10: 'on\n'
>
> root at om-gta02:~# DISPLAY=:0.0 settings
> 0.1: 0.129661083221
> 0.2: 0.785246133804
> 0.3: 1.2897901535
> 1: 1.29346108437
> 2: 1.383934021
> Traceback (most recent call last):
>  File "/usr/lib/python2.5/site-packages/settingsgui/SettingsGUI.py",
> line 107, in create_UI
>    self.add_notebook_page(AudioPanel(), "moko-speaker")
>  File "/usr/lib/python2.5/site-packages/settingsgui/AudioPanel.py",
> line 35, in __init__
>    self.create_notebook_page()
>  File "/usr/lib/python2.5/site-packages/settingsgui/AudioPanel.py",
> line 143, in create_notebook_page
>    init_volume = self.get_volume(channel[1])
>  File "/usr/lib/python2.5/site-packages/settingsgui/AudioPanel.py",
> line 99, in get_volume
>    return int(amix_out.split('=')[1])
> ValueError: invalid literal for int() with base 10: 'on\n'
>
> seems that we are using amixer to control the volume settings in a
> rather hackish manner. The easiest (hack) workaround would be to comment
> out line 98 and 99. This will disable volume control.
>

Yup.. that worked!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080727/9ab1c5c4/attachment.htm 


More information about the support mailing list