Problem in ubuntu tweak

Bug #696762 reported by major on 2011-01-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
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) on 2011-01-03
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
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) on 2011-01-03
Changed in ubuntu-tweak:
status: Confirmed → Fix Committed
Ding Zhou (tualatrix) on 2011-01-09
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