ValueError: Incorrect out state when files are edited in Ubuntu One directory

Bug #567953 reported by Roman Yepishev
56
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Facundo Batista
ubuntuone-client (Ubuntu)
Fix Released
High
dobey

Bug Description

While editing the files in Ubuntu One directories with vim. The following exception appears:
2010-04-21 19:00:24,674 - ubuntuone.SyncDaemon.sync - ERROR - T:LOCAL:F dbfdcda6-9fe1-4361-81a3-6bbb8a05dca8 ['root'::'8178e523-e5d5-4265-a775-978271b7d61b'] ''Ubuntu One/Test Webpage/html.html'' | in state {u'is_directory': u'F', u'changed': u'LOCAL', u'has_metadata': u'T'} with event FS_FILE_CREATE:{}, out state is:{u'is_directory': u'F', u'changed': u'LOCAL', u'has_metadata': u'T'} and should be {u'has_metadata': u'*', u'changed': u'*', u'is_directory': u'*'}
2010-04-21 19:00:24,675 - ubuntuone.SyncDaemon.sync - ERROR - unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/sync.py", line 310, in on_event
    **kwargs)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/fsm/fsm.py", line 160, in on_event
    raise ValueError("Incorrect out state")

This prevents the changes in the edited file from being uploaded:

2010-04-21 19:00:24,688 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F dbfdcda6-9fe1-4361-81a3-6bbb8a05dca8 ['root'::'8178e523-e5d5-4265-a775-978271b7d61b'] ''Ubuntu One/Test Webpage/html.html'' | Called calculate_hash (In: T:LOCAL:F)
2010-04-21 19:00:24,699 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F dbfdcda6-9fe1-4361-81a3-6bbb8a05dca8 ['root'::'8178e523-e5d5-4265-a775-978271b7d61b'] ''Ubuntu One/Test Webpage/html.html'' | Called reput_file (In: T:LOCAL:F)
2010-04-21 19:00:43,748 - ubuntuone.SyncDaemon.ActionQueue - WARNING - Upload share:'' node:'8178e523-e5d5-4265-a775-978271b7d61b' Upload(share_id="''", hash="'sha1:cf9e718942e042772b05dcf1de460c1f534e36c5'", fileobj_factory='<bound method FSKey.open_file of <ubuntuone.syncdaemon.sync.FSKey object at 0x9f77464>>', node_id="'8178e523-e5d5-4265-a775-978271b7d61b'", crc32='3620308765L', previous_hash="'sha1:d1f15510a3ba9b8f1e49b858d31869e01bfc3ad4'", size='571') failure CANCELLED
2010-04-21 19:00:43,753 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F dbfdcda6-9fe1-4361-81a3-6bbb8a05dca8 ['root'::'8178e523-e5d5-4265-a775-978271b7d61b'] ''Ubuntu One/Test Webpage/html.html'' | Called nothing (In: T:LOCAL:F)
---
Architecture: i386
CheckboxSubmission: b16b943d4712f4613c50f12b0ffe0cc5
CheckboxSystem: 1fd1d69a420d7665c5bbb30cf0881c53
CrashDB: ubuntuone
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
Package: ubuntuone-client 1.2.0-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.utf8
 LANGUAGE=en_US:en
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid
ThirdParty: True
UbuntuOneUserSyncdaemonConfig:
 [bandwidth_throttling]
 read_limit = 2097152
 write_limit = -1
 on = False
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm libvirtd lp lpadmin mythtv plugdev sambashare video www-data

Related branches

Revision history for this message
Roman Yepishev (rye) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Roman Yepishev (rye) wrote : UbuntuOneClientPackages.txt

apport information

Revision history for this message
Roman Yepishev (rye) wrote : UbuntuOneSyncdaemonExceptionsLog.txt

apport information

Changed in ubuntuone-client:
assignee: nobody → Facundo Batista (facundo)
Revision history for this message
Roman Yepishev (rye) wrote :
Changed in ubuntuone-client:
status: Confirmed → In Progress
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Revision history for this message
Peter Hansen (peterih) wrote :

Has this fix been published? I suffer from the described problem with a freshly installed 10.04 Lucid Lynx.

dobey (dobey)
Changed in ubuntuone-client (Ubuntu):
milestone: none → lucid-updates
status: New → Triaged
dobey (dobey)
Changed in ubuntuone-client:
importance: Critical → High
Changed in ubuntuone-client (Ubuntu):
assignee: nobody → Rodney Dawes (dobey)
importance: Undecided → High
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
AdamOutler (adamoutler) wrote :

Fix confirmed working.
Steps to correct

1. Terminal :$> update-manager
2. click apply
3. Do happy dance.

Changed in ubuntuone-client:
status: Fix Committed → Fix Released
dobey (dobey)
Changed in ubuntuone-client (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.