modification time changes after upload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I edit a file directly in the Ubuntu One folder. After saving the U1 client duly starts "Updating files...". Shortly afterwards the editor reports a file change on disk, and asks whether to load the new contents. When I print modification times (twice very shortly after saving) in the shell I get:
$ ls --full-time -c Ubuntu\ One/test.txt
-rw-r--r-- 1 peters peters 9 2009-12-29 23:58:32.000000000 +0100 Ubuntu One/test.txt
$ ls --full-time -c Ubuntu\ One/test.txt
-rw-r--r-- 1 peters peters 9 2009-12-29 23:58:35.000000000 +0100 Ubuntu One/test.txt
The upload seems to change the modification time of the file. Does that make any sense? Since a report of file modification on disk by the editor usually points to a work flow problem, ignoring this message is really difficult.
I also suspect that this is the root of a more serious problem, which I can not reproduce consistently. After some edits (saving sometimes more than once in a few seconds) the file disappears, is replaced by an empty file, or an old version and one or two conflict files appear (up to now I use Ubuntu One only from one computer, so no changes on another computer, so the appearance of conflict files is very strange). Saving is sometimes not possible any more (the file immediately disappears again after saving) until I remove the conflict files. I checked the file in the web interface at one such occasion and it was a very old version.
This is not related to bug #491777. I checked that nautilus was not open during the shell print outs above.
ProblemType: Bug
.home.peters.
.home.peters.
[bandwidth_
read_limit = 0
write_limit = 0
on = False
.home.peters.
[ubuntuone]
bookmarked = True
connected = True
connect = 0
show_applet = 0
Architecture: i386
CrashDB: ubuntuone
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: ubuntuone-client 1.1.0+r300-
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntuone-client
ThirdParty: True
Uname: Linux 2.6.28-17-generic i686
UnreportableReason: Das Paket stammt nicht von Ubuntu.
Changed in ubuntuone-client: | |
status: | Incomplete → Confirmed |
i think bug 501493 _is_ related to bug 491777, one does not really need to have Nautilus to be opened _just_ then. The DBus callback will operate on the cached data which may or may not be cleaned up by nautilus at that time.
If you would like to help us further debug the problem we would greatly appreciate it. You can do the following in order to provide important details that will help determine the root cause of this issue?
1) Quit the Ubuntu One client. R-click on the Ubuntu One applet and select 'Quit'
2) Open Applications- >Accessories- >Terminal, then run the command: ubuntuone/ log ~/.cache/ ubuntuone/ log_old && mkdir ~/.cache/ ubuntuone/ log
mv ~/.cache/
3) Run the following in a Terminal to open/create this file: ubuntuone/ syncdaemon. conf
gedit ~/.config/
#Add the following 2 lines to this file and save:
[__main__]
log_level = DEBUG
4) Open Ubuntu One Applications- >Internet- >Ubuntu One
5) Let Ubuntu One run for a bit, copy some files into your Ubuntu One Folder. Then attach the following logs to this bug: ubuntuone/ log/syncdaemon. log ubuntuone/ log/syncdaemon- exceptions. log
~/.cache/
~/.cache/
You can attach logs to this bug report by clicking the 'Add Attachment or patch' button at the bottom of the page. Thank you for filing this bug report and helping to make Ubuntu better.