Hey guys,
just got some ticket requests my Video player Stack isn’t working anymore.
I am pretty sure it worked a few weeks ago as I tested all my stacks…
This happens:
Drag and drop my bigbuckbunny.m4v video file onto the resources part of RW.
Setting my file link of my Stack to that resource
Result: No video is playing
Expected behaviour: Video is playing
This gives the inspector: <video class="video" width=" 150 " height=" auto " x-webkit-airplay="allow"> <source src="" type="video/webm"> <source src="" type="video/ogg"> <source src="resources/trailer_iphone.m4v" type="video/mp4"> <source src="" type="video/mp4"> </video>
clicking onto the video file in the inspector brings me this:
@dan it seems the video file during preview is only an alias to the main video file which lies in the .rw file.
It seems somehow the video cannot be played then. Could someone please help me?
@dan & @simon:
This bug is oddly intermittent and very temperamental but I have been able to reproduce it after spending quite a bit of time trying various things. I suspect there is a race condition here – so I would guess that even though this procedure works 100% of the time for me, it may not work on every machine – but it’s a good starting place.
Launch RapidWeaver
New Project
New Styled Text page.
Drag an image into the Resources area of the sidebar.
Click on the resource.
note that at this point the resource seems fine in every way showing its image preview appropriately.
Click Copy Macro
Switch back to the Styled Text page.
Add some content to show off the image. I used <img src='%resource(GpWZtCn.gif)%'> and did a Cmd-V to paste in the macro contents in the src section of the tag.
Preview the page by by typing Cmd-R
note at this point the preview is fine and everything seems A-OK.
Cmd-R again to leave preview
Cmd-P to open a browser preview. Now the page is broken
The image shows the missing image ? and shows now content.
Back in RapidWeaver click on the resource in the sidebar. Now the resource is broken
The resource shows a blank icon instead of the expected image preview.
Choose Show Server Logs from the View menu. With Terminal or your favorite ninja skillz open a Finder window to the listed path. Look inside the resources folder.
At this point sometimes i find file and sometimes i don’t. When I do find a file, it’s a link/alias. And attempting to quick look it generates the “This is a broken alias would you like to fix it” dialog.
I know this is a long an involved procedure. I’m sorry I couldn’t find a way to simplify it and still make the bug come to light. If you are unable to make it happen, let me know, I seem to have a pretty solid procedure down for my machine, I can run through it and gather data for you if needed.
We’re looking at these issues at the moment - for the video issue described above: I’ve managed to replicate it, and I’m fairly certain I know where the issue is coming from (it’s inside RapidWeaver).
@isaiah: yours seems like a different issue. First of all, can you confirm that you’ve got Smart Quotes disabled or that you’ve selected all text and chosen Format -> Clear Smart Quotes? If you’ve done that, could you send me a project file to look at please? From your description, it sounds like some other things are happening here too…
@simon – please read the report again. I believe that question is well answered.
Note that the first time I preview the page it works fine. (step 9)
And also that the resource display itself is broken (step 12)
And that the file is missing/broken (step 13)
All of these things indicate that it has nothing to do with the code i entered (which is why i included them).
@tpbradley suspects that it’s related to the issue he was speaking with you about recently (where a bug in OS X is causing some scoped bookmarks to never be released).
Have you rebooted since seeing the issue? Does it happen now? (I’d suspect that it doesn’t, looking at that output)
Going back to the issue raised by @barz-stacks, we think it’s because RapidWeaver’s web server doesn’t support ranged HTTP requests right now. I think we’ve got everything we need to fix that one.
@simon: since there’s some doubt as to whether this even happens or not – i made a movie. it shows me doing the bookmarks command. then following the above procedure.
it behaves exactly as reported:
the preview starts working, then fails, then the resource is broken and the preview folder shows no file.
also worth mentioning: as usual when making a movie i kept forgetting to do various things – so i restarted 3 times. each time the behavior was identical. following this procedure the bug is 100% repeatable for me.
@barz-stacks: nope, I think we’ve got everything we need for this one - thanks. I can’t say whether @tpbradley will have it done in time for 7.0.2 but I know it’s definitely being worked on.
I’ve heard from a number of different developers who seem to be getting support email about this one. Seems pretty widespread. might be worth considering holding the next release to make sure this gets in.