Hangs when configuring automatic login

Bug #151258 reported by laga
2
Affects Status Importance Assigned to Milestone
mythbuntu-control-centre (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: mythbuntu-control-centre

On my system, automatic login was disabled (probably because I purged mythbuntu-default-settings to get around another bug). Anyways, when i re-enabled it, the progress bar would hang and I'd get this backtrace:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/MythbuntuControlCentre/core.py", line 1052, in apply_pressed
    call_applicator(self,to_install,to_remove,to_reconfigure)
  File "/usr/lib/python2.5/site-packages/MythbuntuControlCentre/core.py", line 1039, in call_applicator
    apply.commit_changes()
  File "/usr/lib/python2.5/site-packages/MythbuntuControlCentre/changer.py", line 225, in commit_changes
    self.process_configuration()
  File "/usr/lib/python2.5/site-packages/MythbuntuControlCentre/changer.py", line 416, in process_configuration
    self.configure_autologin(autologin,autologin_user)
  File "/usr/lib/python2.5/site-packages/MythbuntuControlCentre/changer.py", line 623, in configure_autologin
    os.symlink('/usr/share/applications/mythtv.desktop',home + '/.config/autostart/mythtv.desktop')
OSError: [Errno 17] File exists

Once I "rm .config/autostart/mythtv.desktop", it works fine.

Revision history for this message
Mario Limonciello (superm1) wrote :

mythbuntu-control-centre (0.9-0ubuntu1) gutsy; urgency=low

  [ Zach Banks ]
  * Detect amd64 and install w64codecs instead of w32codecs.

  [ Mario Limonciello ]
  * Catch broken symlinks when making autologin. (LP: #151258)
  * Properly toggle automatic login depending on desktop's
    installed, since this was broke an upload or two ago.
  * Don't update autologin user to [Disabled]

 -- Mario Limonciello <email address hidden> Wed, 10 Oct 2007 17:24:27 -0500

Changed in mythbuntu-control-centre:
status: New → 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.