Crash if LANG is not set in the environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BleachBit |
Fix Released
|
High
|
Unassigned |
Bug Description
BleachBit crashes if LANG is not set in the environment.
Steps to reproduce this behaviour:
1) ~/.config/
2) Run env -u LANG bleachbit
3) Trackeback is displayed:
Traceback (most recent call last):
File "/usr/bin/
import bleachbit.GUI
File "/var/lib/
import FileUtilities
File "/var/lib/
from Options import options
File "/var/lib/
options = Options()
File "/var/lib/
pos = lang.find('_')
AttributeError: 'NoneType' object has no attribute 'find'
Attached is a workaround for this issue (not very frequent, though).
Changed in bleachbit: | |
importance: | Undecided → High |
status: | New → Triaged |
Fix bleachbit. svn.sourceforge .net/viewvc/ bleachbit/ trunk/bleachbit /Options. py?r1=310& r2=336& view=patch
http://