Crashes when directory contains broken symlink

Bug #125144 reported by Benjamin Rubin
14
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Undecided
Jasper Groenewegen

Bug Description

Olive appears to crash when it is run from a directory that contains a broken symlink. My home directory has a broken symlink so I cannot start Olive at all. (I have since removed the file).

Traceback (most recent call last):
  File "/usr/bin/olive-gtk", line 95, in <module>
    app = OliveGtk()
  File "/usr/lib/python2.5/site-packages/olive/__init__.py", line 217, in __init__
    self._load_right()
  File "/usr/lib/python2.5/site-packages/olive/__init__.py", line 936, in _load_right
    statinfo = os.stat(self.path + os.sep + item)
OSError: [Errno 2] No such file or directory: '/home/pcmacman/brokenlink'

Currently running 0.17.0-1 of bzr-gtk under Ubuntu Gutsy.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Are you sure? I couldn't reproduce this in any way on Olive 0.15.2...

Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

confirming this. I had this problem today, olive did not want to start:

Traceback (most recent call last):
  File "/usr/bin/olive-gtk", line 94, in <module>
    app = OliveGtk()
  File "/usr/lib/python2.5/site-packages/olive/__init__.py", line 248, in __init__
    self._load_right()
  File "/usr/lib/python2.5/site-packages/olive/__init__.py", line 982, in _load_right
    statinfo = os.stat(self.path + os.sep + item)
OSError: [Errno 2] Aucun fichier ou répertoire de ce type: '/home/jeff/RIPS'

This symbolic link was made using nautilus, alt-drag-and-dropping a folder from /media/usbdisk/foo to my home folder.
The hard drive is currently unplugged, as such the link appears broken.

Changed in olive:
status: New → Confirmed
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

seems like all olive bugs need to be reassigned to bzr-gtk to be seen

Revision history for this message
JaddJadd (triplezone3-gmail-deactivatedaccount) wrote :

Same problem here.

Revision history for this message
Jasper Groenewegen (colbrac) wrote :
Changed in bzr-gtk:
assignee: nobody → colbrac
status: Confirmed → In Progress
Revision history for this message
Jasper Groenewegen (colbrac) wrote :

Merged in trunk rev 543

Changed in bzr-gtk:
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
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.