Bug 31731

Summary: Mageiasync progress bar is inactive, and the download speed always says 0 kB/s
Product: Mageia Reporter: Thomas Andrews <andrewsfarm>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, geiger.david68210, yvesbrungard
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Screenshot of mageiasync showing it's working for me
Screenshot of M9 Mageiasync

Description Thomas Andrews 2023-03-30 01:40:29 CEST
Description of problem:
While attempting to sync the Cauldron Beta2 Round 1 isos with Mageiasync, I ran into two issues. The progress bar is inactive, always reading 0%. The download speed box always reads 0 kB/s. 

The byte counter is updating, and the "Remaining" box is changing, so it appears that it is syncing OK, but I don't really know this for sure yet because it's still syncing at this moment. I will report back when it has finished - or crashed.
Comment 1 Dave Hodgins 2023-03-30 02:47:43 CEST
Created attachment 13756 [details]
Screenshot of mageiasync showing it's working for me

Redid the xfce4 i586 live iso to be sure. As shown in the attached screenshot,
it's working fine here. Running on an m8 plasma x86_64 install.

CC: (none) => davidwhodgins

Comment 2 Dave Hodgins 2023-03-30 03:00:19 CEST
That screenshot was after I'd deleted the beta2 iso locally. I cancelled that
and re-copied my still saved beta1 iso and redid mageiasync. Much faster.
Still working ok showing the progress bar and speed.
Comment 3 Thomas Andrews 2023-03-30 03:11:21 CEST
Created attachment 13757 [details]
Screenshot of M9 Mageiasync

Screenshot showing it not working in Cauldron for me. Redid the i586 Live Xfce iso to get this shot. MGA9-64 Plasma, fully updated as of about an hour ago.
Comment 4 Thomas Andrews 2023-03-30 03:18:13 CEST
It finished the downloads and said the checksums were OK, so that part is probably all right. 

But, when it was all done, the "Remaining" timer showed it had about 8 minutes to go. Watching on the first run, the timer reached zero as it should each time.
Comment 5 papoteur 2023-03-30 23:18:28 CEST
A release 0.4.5 is coming in testings.
The bug affects only who have non US locale, because number are no more displayed by rsync with comma for separating thousands or dot for the speed.
The update force the usage of LC_ALL=C for rsync commands.
I have added also a check for available space before the sync of each selected ISO image.

CC: (none) => yves.brungard_mageia

Comment 6 Thomas Andrews 2023-03-31 01:42:13 CEST
(In reply to papoteur from comment #5)
> A release 0.4.5 is coming in testings.
> The bug affects only who have non US locale, 

Um... I'm in the US, New York State to be specific, and I'm affected.
Comment 7 David GEIGER 2023-03-31 08:43:50 CEST
Tested mageiasync-0.4.5-1.mga9 but now give a crash when I click on "Do sync":

$ mageiasync 
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mageiaSync/mageiaSyncExt.py", line 129, in run
    _, _, free = shutil.disk_usage(self.destination)
AttributeError: 'syncThread' object has no attribute 'destination'

CC: (none) => geiger.david68210

Comment 8 Thomas Andrews 2023-05-03 17:35:33 CEST
Using Mageiasync 0.4.6 to get the Beta2 Round 3 isos at this moment, and this issue appears to have been fixed.

Marking the bug accordingly.

Resolution: (none) => FIXED
Status: NEW => RESOLVED