Janitor tab is empty

Bug #1001551 reported by Valezan on 2012-05-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Medium
Ding Zhou

Bug Description

Hello,
I’m using Ubuntu 12.04 (upgrade from Oneiric) and I have Ubuntu Tweak 0.7.2 installed. Since a recent update, the janitor tab is just... empty, only a white frame.
When using Ubutnu Tweak on a terminal, here is what I have:

Backend : ini
Integration : true
Profile : default
Adding plugins
Initializing core options...done
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 395, in setup_ui_tasks
    self.update_model()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 837, in update_model
    loader = ModuleLoader('janitor')
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/__init__.py", line 57, in __init__
    self.do_folder_import(m.__path__[0])
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/__init__.py", line 186, in do_folder_import
    self.do_single_import(f, mark_user)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/__init__.py", line 173, in do_single_import
    self._insert_moduel(k, v, mark_user)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/__init__.py", line 193, in _insert_moduel
    v.is_active():
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/__init__.py", line 159, in is_active
    return cls.__utactive__ and os.path.exists(cls.get_path())
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/janitor/mozilla_plugin.py", line 18, in get_path
    profile_id = config.get_value('General', 'StartWithLastProfile')
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/common.py", line 78, in get_value
    value = getfunc(section, option)
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'General'

I have already try a complete uninstall/reinstall, it's the same. Any idea?
Regards

Related branches

Valezan (ssuzan) wrote :
Ding Zhou (tualatrix) wrote :

Do you use the Firefox?

Could you check if this file is exits: ~/.mozilla/firefox/profiles.ini

If you could upload the file, it would be better, thanks.

Changed in ubuntu-tweak:
milestone: none → 0.7.2
assignee: nobody → Ding Zhou (tualatrix)
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Fix Committed
Valezan (ssuzan) wrote :

Hi Ding Zhou,
Yes, I use Firefox. See attached file for my ~/.mozilla/firefox/profiles.ini.
Thank you for your help.

Ding Zhou (tualatrix) wrote :

thanks. the next testing version will fix this bug, please wait for the update.

Ding Zhou (tualatrix) on 2012-06-03
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers