syncdaemon doesn't handle 'foreign' files in partial directory

Bug #519240 reported by Waldemar Zurowski on 2010-02-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Undecided
Ubuntu One Foundations+ team
ubuntuone-client (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: ubuntuone-client

Syncdaemon doesn't handle properly a situation when a 'foreign' file sits in 'partial' directory. For example my home directory is on NFS share and in each directory there's NFS' '.nfsXXXXX' file.

The problem is located in line 373 of ubuntuone/syncdaemon/local_rescan.py file:

--|<--
mdid, realname = partial.split('.u1partial.')
--|<--

which throws an exception if split doesn't produce enough elements.

Waldemar

ProblemType: Bug
.home.waldemar..cache.ubuntuone.log.syncdaemon.exceptions.log:

.home.waldemar..config.ubuntuone.ubuntuone.client.conf:
 [ubuntuone]
 bookmarked = True
 connected = True
 connect = 1
 show_applet = 0
Architecture: i386
Date: Tue Feb 9 10:15:32 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: python-ubuntuone-client 1.0.3-0ubuntu1 [modified: usr/share/pyshared/ubuntuone/syncdaemon/local_rescan.py]
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: ubuntuone-client
Uname: Linux 2.6.31-19-generic i686

And here's is missing syncdaemons exception log.

tags: added: client desktop+
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Roberto Alsina (ralsina) on 2011-02-04
Changed in ubuntuone-client:
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Rick McBride (rmcbride) on 2011-02-11
Changed in ubuntuone-client:
status: New → Confirmed
Roman Yepishev (rye) on 2011-02-14
Changed in ubuntuone-client (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers