Hi all,
Been using OpenLP this Christmas season and it's going pretty well. However, I've come across a few bugs which are hard to reproduce and I'd like to see if it's happened to anyone else or if I'm going crazy. I'll file a proper bug report later when I'm able to consistently reproduce the problems.
First issue is that our pastor's .ppt presentations seem to behave differently if I launch them from within OpenLP or from Powerpoint itself. He has some animations where some text arrives from off-screen and slides into position. If I launch the slideshow from Powerpoint by hitting F5, the text goes to the right place, but if I double click on the presentation from the service manager, then the text appears in the corner of the slide in the wrong position. In both cases, I'm using the same file and moving through it by going left and right with the arrows, and I think I'm also using the same instance of Powerpoint. The focus is also on the Powerpoint window, so I am not moving through the slides from OpenLP (known to be buggy with the animations). But in one case the slideshow is started by Powerpoint itself (F5) and in the other it's started by OpenLP via remote control (or whatever you call it).
The second issue is that from time to time, under certain circumstances (not quite clear yet), OpenLP will raise an exception about not being able to communicate with Powerpoint. This might be if I've closed Powerpoint before closing OpenLP for instance. It's an unnecessary error because OpenLP is quite capable of restarting Powerpoint when required and it does it quite well. I was going to submit a bug report but was unable to reproduce the problem. Then it happened to me again a few days later.
I'll try to figure out the exact sequence of events that cause these things to happen, but I'd like to hear if this has happened to anyone else. This has happened to me on Windows 7 with MS Office 2007 and the official OpenLP 2.0 release.
Merry Christmas to all!
Comments
I have heard of (and seen) various of these "can't communicate with PowerPoint" exceptions coming through, but I've never been able to trace where they're happening, and often the core error is some arbitrary Windows error, which makes it even more difficult to determine what is going on.
If you're able to track down exactly what causes that, I'm sure the guys who handle the presentation stuff will only be too happy to fix that bug too.
As for your other issue, I'm afraid I haven't a clue.
http://support.openlp.org/issues/166
...as you will see we were having problems and eventually we discovered it was linked to moving out of powerpoint (to a song or anything else) during a transition although it is not obvious until you need to use powerpoint again in the same session when you get some errors. As you will see from the history I sent some files which caused the error but it was never repeatable at the developers end. I have just checked on the latest 2.0 version and the same bug still exists and is repeatable (from my laptop) in the same way.
I have since moved from the church I was at then (as minsiter in training) to pastor a different church which has another bit of software (boo). For my own interest I periodically check back here to look at OpenLP. I had hoped to look into the bug myself (I used to be a developer before training as a minister) but unfortunately have never had the time.
Bye for now
Systems like most Linux distributions which are based on central repositories often mean that if you have a particular distribution, what you have and what the developers have, will be nearly identical, providing you update within a few hours of each other.
This would work in a ground up Unix application, because the mechanism is much simpler, OLP would call fork() then wait(). The child process would then call exec to run PPT, PPT would be told to play a slide show and then quit when the show is done. OLP the parent process (OLP) then waits for a signal that the child process has completed. The OS wakes up OLP and it continues on. Even MacOSX should work with this kind of process, as it's really is BSD Unix at heart.
Windows doesn't have the fork() system call, so it becomes a lot more complicated for applications that need to support Windows. Even CreateProcess doesn't help because PPT doesn't have a command line interface either. You need the complex OLE system, which means that instead of a simple child process you have 7 different layers of processes and 6 that don't like each other.
What I do know of how the presentations are run from within OpenLP is that OpenLP just calls the "next" method in PowerPoint, which is supposed to run through the animations. I don't know what that entails, nor how PowerPoint implements that method.
Further to this little niggle. I also have widows 7 and office 2007 as Carl does and have same problem.
I have just installed OpenLP onto the church laptop that has windows7 and office 2010 on. The problem does not exist on this laptop and all presentations work even animated ones.
So I wonder if office 2007 Powerpoint just doesn't like OpenLP??
Thought you'd like to know Carl.
Minor comment: when double clicking a new presentation with the screen blanked, first the desktop shows briefly, then the presentation shows briefly, then it goes blank as it was before. After that everything works as it should. This isn't new in your build, I think Powerpoint always flashes up on the screen even when it's blanked.
Can I revert to 2.1.3 to solve issue?
Also see PowerPoint going through the slides saving images when it goes live.
I attempted to post a screen shot of the error message we receive. In testing this evening to get the error message for you, the power point slide show is now projecting to my second screen while the error message is displayed. That didn't happen last time. I clicked OK on the error message and the slide show is looping on the second screen. But then when I re-started the Powerpoint slide show it doesn't display on the second screen.
The error message displayed in a blue border dialog box reads: " An error occurred in the Powerpoint integration and the presentation will be stopped. Restart the presentation if you wish to present it."
I Hope this helps.
I am also perplexed with the PP slide show continuing to run even though another item in the service, such as a video or song screen set, is selected for display. If after the video has ended and we want to blank the screen to the desktop or theme, the PP slide show re-appears as if it never quit running. At that point we have to physically go to the laptop, select the PP program and stop the slide show with the esc key. I have a laser presenter remote coming to allow that control from a distance but I didn't know if y'all were aware of that bug.
Thanks again.
I haven't seen the issue you report about the Powerpoint window not closing. What Powerpoint version are you using?
Could you post a debug log? See how on our wiki.