File download interuption problem...version problem?

Asked by fengqiang@mwi.com.sg

hello,

I am reading your file downloading problem discussion, in fact I am also face this problem and it seems to be a major issue as we are going to use broadband on the device and this happens always.

I am using client which I downloaded using command: bzr branch lp:xibo. and I am using server version 1.2RC. Are they compatible?

Fro my observation, there are two causes for file downloading corruption:

(1) When a video files has not been fully downloaded ( still being downloaded chunk by chunk), but the schedule for that video to play has been started. The Windows Media player start to play the video and locks the video file. Although the downloading is still going on, the new downloaded chunks cannot append to the media file. is it possible?

(2) When the video files are big enough, just as in my case, file size are from 50M - 200M, asynchronous call webservice getFile are canceled, this cause another file corruption, in fact, most files are 0 bytes. How to avoid cancellation of asynchrous call of service getFile?

Could you explain some reason for me?

Best Regards
Feng Qiang

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
fengqiang@mwi.com.sg
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

No those versions are not at all compatible.

We're looking at the problem now and when it's fixed it will be marked in the release notes.

With regards to large files, the webservice call only downloads 512k at a time so the size of the file makes no difference to the success or not of those calls.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
fengqiang@mwi.com.sg (fengqiang) said :
#2

If I try to use Xibo server 1.2RC, which version of Xibo client shall I use?
Best Regards

Revision history for this message
Alex Harrington (alexharrington) said :
#3

1.0.7. You'll find that information in the release notes.

1.2.0-rc2 will have its own client which is the code you have downloaded however it's not complete yet.

Alex

"<email address hidden>" <email address hidden> wrote:

Question #120303 on Xibo changed:
https://answers.launchpad.net/xibo/+question/120303

    Status: Answered => Open

<email address hidden> is still having a problem:
If I try to use Xibo server 1.2RC, which version of Xibo client shall I use?
Best Regards

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Alex Harrington (alexharrington) said :
#4
Revision history for this message
fengqiang@mwi.com.sg (fengqiang) said :
#5

FileCollector.cs method xmdsFile_GetFileCompleted(), when error happen there is a statement:
                   if (_currentFileList.retrys < 5)
                    {
                        // Increment the Retrys
                        _currentFileList.retrys++;

                        GetFile();
                    }
I think this GetFile() calling should be removed, otherwise will generate :Unique state object is required for multiple asynchronous simultaneous operations to be outstanding for GetFile function

Revision history for this message
Alex Harrington (alexharrington) said :
#6

If you remove that then the client won't retry downloading the file.

I've seen similar behaviour with the client getting locked like that when you don't have .net 3.5 sp1 installed.

While we don't use 3.5 it updates some of the methods in v2.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer