[sugar] convert_profile crashes on ubuntu

Simon Schampijer simon at schampijer.de
Mon Oct 13 10:55:56 EDT 2008


Tomeu Vizoso wrote:
> Hi, I suspect this issue is related to sugar-jhbuild running on Ubuntu:
> 
> Traceback (most recent call last):
>   File "/home/tomeu/sugar-jhbuild/install/bin/sugar-session", line 95,
> in <module>
>     main()
>   File "/home/tomeu/sugar-jhbuild/install/bin/sugar-session", line 62, in main
>     intro.check_profile()
>   File "/home/tomeu/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/intro/__init__.py",
> line 16, in check_profile
>     profile.convert_profile()
>   File "/home/tomeu/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/profile.py",
> line 157, in convert_profile
>     volume = int(cp.get('Sound', 'Volume'))
> ValueError: invalid literal for int() with base 10: '81.0'
> 
> Regards,
> 
> Tomeu

Thanks for the report. Fixed in master. I simply had a profile laying 
around where the volume was int already from playing with the profile 
code :/ So no food for the ubuntu/fedora discussion :)

Best,
    Simon


More information about the Sugar mailing list