Problem in ubuntu tweak

Bug #696762 reported by major
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Low
Ding Zhou

Bug Description

Distribution: Ubuntu 10.10 maverick
Application: Ubuntu Tweak 0.5.9
Desktop: gnome

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/mainwindow.py", line 433, in setup_notebook
    page = module()
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/sourceeditor.py", line 369, in __init__
    self.textview = SourceView(SOURCES_LIST)
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/sourceeditor.py", line 233, in __init__
    self.update_content()
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/sourceeditor.py", line 262, in update_content
    content = open(self.path).read()
IOError: [Errno 2] No such file or directory: '/etc/apt/sources.list'

major (tamer-solieman)
summary: - Distribution: Ubuntu 10.10 maverick Application: Ubuntu Tweak 0.5.9
- Desktop: gnome Traceback (most recent call last): File
- "/usr/lib/python2.6/dist-packages/ubuntutweak/mainwindow.py", line 433,
- in setup_notebook page = module() File "/usr/lib/python2.6/dist-
- packages/ubuntutweak/modules/sourceeditor.py", line 369, in __init__
- self.textview = SourceView(SOURCES_LIST) File
- "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/sourceeditor.py",
- line 233, in __init__ self.update_content() File
- "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/sourceeditor.py",
- line 262, in update_content content = open(self.path).read()
- IOError: [Errno 2] No such file or directory: '/etc/apt/sources.list'
+ Problem in ubuntu tweak
Revision history for this message
Ding Zhou (tualatrix) wrote :

OMG! Your sources.list is lost.

Please open your terminal and create it by the following command:

  sudo touch /etc/apt/sources.list

After this step, run Ubuntu Tweak again.

Changed in ubuntu-tweak:
status: New → Confirmed
milestone: none → 0.5.10
importance: Undecided → Low
assignee: nobody → Tualatrix Chou (tualatrix)
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
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.