Program crashes when trying to use a custom image as an indicator

Bug #1401014 reported by Yusuf Mohammed Habeeb
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Variety
Fix Released
High
Unassigned

Bug Description

As said in the summary, the program crashes while trying to change the indicator icon to a custom image from the preferences > customize tab.

Version of variety: 0.4.20

Enviroment: Unity

Ubutntu 14.04 LTS x64 on a macbook pro

Variety Log when producing the bug:

INFO: 2014-12-10 10:30:49,657: apply() 'Applying preferences'
ERROR: 2014-12-10 10:30:49,664: apply() 'Error while applying preferences'
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/variety/variety/PreferencesVarietyDialog.py", line 815, in apply
    file = _u(self.ui.icon_chooser.get_filename())
  File "/opt/extras.ubuntu.com/variety/variety/__init__.py", line 23, in _u
    return unicode(s, 'utf8')
TypeError: coercing to Unicode: need string or buffer, NoneType found

(variety:16158): Gdk-ERROR **: The program 'variety' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 11405 error_code 9 request_code 130 (MIT-SHM) minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

the problem happens every time I try to do this, no matter if doing it after the system start up or when launching variety manually,

Peter Levi (peterlevi)
Changed in variety:
status: New → Fix Committed
importance: Undecided → High
Peter Levi (peterlevi)
Changed in variety:
milestone: none → 0.5.0
status: Fix Committed → Fix Released
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.