This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 07-Aug-2017 16:18 Last Post By: jGromit Threads: [ Previous | Next ]
msand42

Posts: 152
Registered: 12-Feb-2006
problem with music files during build: "File missing or locked"
Posted: 07-Aug-2017 15:37
 
  Click to reply to this thread Reply
I have an album with 5 music files. Today I added some new pictures and during the build I got the attached message. I clicked OK to finish the build. When I viewed the album, the music bar appeared momentarily and then disappeared.

Also, this line in the index.html file, which appears in other albums with music, was not there:
<audio controls autoplay controlsList='nodownload'></audio></div

About half an hour later I tried the build again and it worked just fine. Strange, indeed!

Do you have any idea why this happened? The only thing I can think of is that the last time I built and viewed the album (a few days ago) I terminated it before the songs1.mp3 finished playing. However that doesn't explain why it worked this time after waiting the half hour.
jGromit

Posts: 33,160
Registered: 31-Jan-2006
Re: problem with music files during build: "File missing or locked"
Posted: 07-Aug-2017 15:41   in response to: msand42 in response to: msand42
 
  Click to reply to this thread Reply
Oh, I run into this one all the time when I'm testing stuff, and it makes me crazy. I'm actually surprised that you're the first user to mention it!

What's happening is that your browser is grabbing hold of the MP3, and locking it. Then jAlbum tries to access the file, and is blocked from doing so. The skin thinks the file is missing, gives a warning, and then doesn't include it in the album.

The cure is to close the browser after you've previewed the album, and before you try to Make album again. ;)

Edit: More accurately, the album build is trying to replace the MP3 in the output directory, but that file is still "open" in the browser, so the operating system won't let you replace it. Same cure, in any event.
msand42

Posts: 152
Registered: 12-Feb-2006
Re: problem with music files during build: "File missing or locked"
Posted: 07-Aug-2017 16:09   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thank for the quick reply! Actually I think I might have closed my browser during that half-hour interval. Glad it just wasn't my choice of songs that was the problem (50's & 60's pop) :-)
jGromit

Posts: 33,160
Registered: 31-Jan-2006
Re: problem with music files during build: "File missing or locked"
Posted: 07-Aug-2017 16:18   in response to: msand42 in response to: msand42
 
  Click to reply to this thread Reply
More Chiffons, less Pat Boone.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums