Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5765 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: DropBox exception on symlinks

Reported by: jamoore Owned by: cblackburn
Priority: minor Milestone: OMERO-Beta4.3
Component: OmeroFs Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-16 (14)

Description

While testing #5726, I symlinked dv files into DropBox/jmoore and got the following:

2011-06-02 21:14:34,670 WARNI [                                  stderr] (Thread-2  ) Exception in thread Thread-2:
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMac-10-5-Monitor.py", line 143, in run
    FSEvents.CFRunLoopRun()
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsMac-10-5-Monitor.py", line 203, in callback
    new, old, chg = dir.getChangedFiles(eventPaths[i])
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsDirectory.py", line 360, in getChangedFiles
    newTree, oldTree = self.patchTree(pathString)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsDirectory.py", line 211, in patchTree
    oldTree = oldTree.getSubDir(part)
  File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/fsDirectory.py", line 628, in getSubDir
    return self.children[dirName]
KeyError: '..'

Change History (2)

comment:1 Changed 13 years ago by cblackburn

  • Milestone changed from Unscheduled to OMERO-Beta4.3
  • Remaining Time set to 0.1
  • Sprint set to 2011-06-16 (14)

comment:2 Changed 13 years ago by Colin Blackburn <C.Blackburn@…>

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [b141f63360ec78453f20be053bc82a70ecc8bd37/ome.git] on branch develop) Ignore symlinks in Mac directory parsing. Fixed #5765

For now ignore symlinks as they present a host of challenges.
The docs should explain this.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66198 sec.)

We're Hiring!