On first run, it takes multiple launches before moblin-media will run

Bug #192077 reported by Jessica Ji
4
Affects Status Importance Assigned to Milestone
Moblin Multimedia
Fix Released
Critical
Rusty Lynch

Bug Description

reproduced step:
1) after burn the CB image in CB platform
2) then if click the video/photo/music icon, try to launch that. then find need to click more times to launch finish.
3) if use moblin-media --mode=video etc. to launch, then pop up error message.
   need to launch three times then ok.
   find need to copy audio/photo/video folder in /mediasync path.
   but maybe copytree python function have error .

expected result:
hope to fix this issue.

Revision history for this message
Rusty Lynch (rusty-lynch-intel) wrote :

Fix has been committed to the source tree, and will be available in moblin-media v0.36

Changed in moblin-multimedia:
assignee: nobody → rusty-lynch-intel
importance: Undecided → Critical
milestone: none → m9
status: New → Fix Committed
Revision history for this message
Jessica Ji (jessica-ji) wrote :

this bug don't fix in v0.37 . so re-open it again.

Changed in moblin-multimedia:
status: Fix Committed → New
Revision history for this message
John L. Villalovos (happycamp) wrote :

So far I have been unable to duplicate this issue in xephry or on a Samsung Q1U using the image provided by QA.

I will be trying it on a Crown Beach next.

Revision history for this message
John L. Villalovos (happycamp) wrote :

Okay, I was able to duplicate this on the Crown Beach.

Error occurs on line 295 of moblin_media.py of beta3.

An exception is raised in shutil.copytree() on line 133 when it tries to check for a WindowsError exception.

It seems like the shutil.copystat() function fails on the Crown Beach platform for some reason. Not sure if that is because of the file system or what.

Revision history for this message
John L. Villalovos (happycamp) wrote :

Believe this issue is because we are storing the media on a VFAT file system and it fails because of that.

Revision history for this message
John L. Villalovos (happycamp) wrote :

Okay, have figured out that the reason this fails is that we are mounting the /mediasync/ partition with umask=000

Not sure why. Alek Du is the one who did this, trying to contact him to find out why.

Revision history for this message
John L. Villalovos (happycamp) wrote :

This has now been fixed.

Changed in moblin-multimedia:
status: New → Fix Committed
Revision history for this message
Jessica Ji (jessica-ji) wrote :

fix release in v0.37

Changed in moblin-multimedia:
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.