Comment 12 for bug 1393136

Revision history for this message
Bsienn (bsienn) wrote : Re: [Bug 1393136] Re: installed and reboot variety. Not starting giving error on command line

I'll be very delighted to help with it. as soon i get back to my ubuntu box
i'll try ur suggestion.in about in 1 or 2 hours.
as far as i am understanding, i have to purge previous install and dell
variety config & install a previous version.
or will the default command will install the bugged version?

sudo add-apt-repository ppa:peterlevi/ppa
sudo apt-get update
sudo apt-get install variety

On Thu, Nov 20, 2014 at 7:25 AM, Peter Levi <email address hidden>
wrote:

> Bsienn, can you help me debug why get_wallpaper fails?
>
> The current fix fixes the Python side of the code, but we still don't
> know why and where get_wallpaper exits with a Segmentation fault
> (/home/bsienn/.config/variety/scripts/get_wallpaper: line 38: 3505
> Segmentation fault (core dumped))
>
> Please edit ~/.config/variety/scripts/get_wallpaper and put some
> debugging "echo 111", "echo 222", etc. statements between the commands
> around line 38 and run it so that we see exactly which command causes
> the error. Then once you pinpoint it, please run it separately in a
> terminal to check what happens. Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1393136
>
> Title:
> installed and reboot variety. Not starting giving error on command
> line
>
> Status in Variety wallpaper changer:
> Fix Committed
>
> Bug description:
> Ubuntu 14.04.1 64bit
>
> variety was working perfect in same box but after new installation of
> ubuntu and variety. after reboot was not auto started.
> Ran with command line and it gave error.
>
> Commandline output:
>
> WARNING: 2014-11-16 11:47:01,059: load_history() 'Could not load history
> file, continuing without it, no worries'
> /home/bsienn/.config/variety/scripts/get_wallpaper: line 38: 3505
> Segmentation fault (core dumped) gsettings get
> org.gnome.desktop.background picture-uri
> ERROR: 2014-11-16 11:47:01,190: get_desktop_wallpaper() 'Exception when
> calling get_wallpaper script'
> Traceback (most recent call last):
> File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line
> 2117, in get_desktop_wallpaper
> output = subprocess.check_output(script).strip()
> File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
> raise CalledProcessError(retcode, cmd, output=output)
> CalledProcessError: Command
> '/home/bsienn/.config/variety/scripts/get_wallpaper' returned non-zero exit
> status 139
> Traceback (most recent call last):
> File "/opt/extras.ubuntu.com/variety/bin/variety", line 41, in
> <module>
> variety.main()
> File "/opt/extras.ubuntu.com/variety/variety/__init__.py", line 134,
> in main
> window.start(arguments)
> File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line
> 164, in start
> self.update_indicator(auto_changed=False)
> File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line
> 623, in update_indicator
> logger.info("Setting file info to: " + file)
> TypeError: cannot concatenate 'str' and 'NoneType' objects
> Exception in thread Thread-2:
> Traceback (most recent call last):
> File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
> self.run()
> File "/usr/lib/python2.7/threading.py", line 1082, in run
> self.function(*self.args, **self.kwargs)
> File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line
> 1031, in _do_set_wp
> self.do_set_wp(filename, refresh_level)
> File "/opt/extras.ubuntu.com/variety/variety/VarietyWindow.py", line
> 1188, in do_set_wp
> logger.info("Calling do_set_wp with " + filename)
> TypeError: cannot concatenate 'str' and 'NoneType' objects
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/variety/+bug/1393136/+subscriptions
>

--
~ADi~
 ~~~~
(Bsienn Khan)