Windows: Inifite loop between upload started -> upload error (TRY_AGAIN)

Bug #803984 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Natalia Bidart

Bug Description

Looks like the issue is:

2011-06-30 15:39:39,927 - ubuntuone.SyncDaemon.StorageClient - TRACE - start - processMessage: id: 3265 type: ERROR error { type: TRY_AGAIN comment: "Error -3 while decompressing: invalid distance too far back" }

(complete logs were sent to foundation's team member)

Related branches

tags: added: u1-zomg-windows
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Part of bug #803618.

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Facundo pointed our the following problems in our code re: file management:

* platform/windows/os_helpers.py:404

open_file has a default mode of 'r', shall that be 'rb'? (not clear to me)

* syncdaemon/action_queue.py:2473

self.tempfile = open(self.tempfile.name)

shall we pass 'rb' to that open?

Revision history for this message
Facundo Batista (facundo) wrote :

Actually, the two items are:

- maybe open_file() default for windows mode should be 'rb' .... if not, an explicit 'rb' must be added when calling open_file() in hash_queue.py

- in AQ, 'rb' *must* be used when opening the tempfile... what is needed to decide if to use open() there (and just add the 'rb') or to use platform's open_file.

Changed in ubuntuone-client:
assignee: Ubuntu One Foundations+ team (ubuntuone-foundations+) → Manuel de la Pena (mandel)
Changed in ubuntuone-client:
status: Triaged → In Progress
Changed in ubuntuone-client:
assignee: Manuel de la Pena (mandel) → Natalia Bidart (nataliabidart)
Changed in ubuntuone-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 1.7.1
dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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