Invalid sym link makes olive fail

Bug #125932 reported by Thanos Lefteris on 2007-07-14
4
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Low
Szilveszter Farkas

Bug Description

If olive-gtk is started from a directory that contains a non valid sym link, olive-gtk fails to start.

To reproduce:

~$ ln -s test test

~$ ls -l test
lrwxrwxrwx 1 thanos thanos 4 2007-07-14 10:38 test -> test

~$ olive-gtk
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 40] Too many levels of symbolic links: '/home/thanos/test'

Using bzr, bzr-gtk 0.17 in ubuntu 7.04

Am Samstag, den 14.07.2007, 07:38 +0000 schrieb Athanasios Lefteris:
> Public bug reported:
>
> If olive-gtk is started from a directory that contains a non valid sym
> link, olive-gtk fails to start.

Szilveszter, any chance you can have a look at this?

Cheers,

Jelmer

  status triaged
  importance low

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Jelmer Vernooij (jelmer) wrote :

  tags +olive
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Changed in bzr-gtk:
importance: Undecided → Low
status: New → Triaged

Fix committed to trunk.

Changed in bzr-gtk:
assignee: nobody → phanatic
milestone: none → 0.94.0
status: Triaged → Fix Committed

Am Montag, den 03.03.2008, 18:34 +0000 schrieb Szilveszter Farkas:
> Fix committed to trunk.
Looks good to me

bb:approve
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Jasper Groenewegen (colbrac) wrote :

Released in 0.94.0

Changed in bzr-gtk:
status: Fix Committed → Fix Released
Skully (skully) wrote :

I have a similar problem with the debian/lenny version 0.94.
I have links to folders in my home to directories which are on a truecrypt volume.
When that volume isnt mounted, then i get the following error on startup:

Traceback (most recent call last):
  File "/usr/bin/olive-gtk", line 94, in <module>
    app = OliveGtk()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/olive/__init__.py", line 254, in __init__
    self._load_right()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/olive/__init__.py", line 1065, in _load_right
    statinfo = os.stat(self.path + os.sep + item)
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/JohnDoe/xxx'
(translation: File or Directory not found)
where xxx is the folder which isnt mounted.

I have to mount the volume, to be able to start olive.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers