when clicking on impress bug appears, and does not let presentation load

Bug #672164 reported by Joshua Miller
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenLP
Invalid
Undecided
Jonathan Corwin

Bug Description

Lately i've been using a impress to show the text i need since the font Base02 is not supported. So i went to show it live during service and the following bug occured:

Traceback (most recent call last):
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 283, in slide
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 99, in slide
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 83, in activate
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 239, in load_presentation
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 162, in get_com_desktop
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/win32com.client.dynamic", line 512, in __getattr__
AttributeError: com.sun.star.ServiceManager.createInstance

All i did to make this happen:
1.) add the impress presentation to service
2.) double clicked to show live on screen(i also tried right-clicking, and saying send live produced same error)

Revision history for this message
Joshua Miller (milleja46) wrote :

Also when importing(since i just tried re-importing since i organized the files on my computer) i got this error for the presentations:
Traceback (most recent call last):
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.lib.mediamanageritem", line 362, in onFileClick
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.mediaitem", line 197, in loadList
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 239, in load_presentation
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 162, in get_com_desktop
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/win32com.client.dynamic", line 512, in __getattr__
AttributeError: com.sun.star.ServiceManager.createInstance

Revision history for this message
John Cegalis (jseagull1) wrote :

This is happening to me also build1150 kubuntu

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/messagelistener.py", line 283, in slide
    self.live_handler.slide(slide)
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/messagelistener.py", line 99, in slide
    self.activate()
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/messagelistener.py", line 85, in activate
    self.doc.start_presentation()
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/impresscontroller.py", line 405, in start_presentation
    self.presentation.start()
AttributeError: 'NoneType' object has no attribute 'start'

Revision history for this message
John Cegalis (jseagull1) wrote :

I have a new bug and Impress still will not start.
bzr1153

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/messagelistener.py", line 263, in startup
    file = os.path.join(item.get_frame_path(),
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/serviceitem.py", line 400, in get_frame_path
    return self._raw_frames[row][u'path']
IndexError: list index out of range

Changed in openlp:
assignee: nobody → Jonathan Corwin (j-corwin)
Revision history for this message
Albert Steiner (aljsteiner) wrote :

Interestinly at revision 1152 impress came up on windows 7 with no problem. Unfortunately, although I could see the slides in impress, they did not show up in the bottom window of the go live, and did not show up in the display window. only the blank default theme showed up
aljsteiner

Revision history for this message
Tim Bentley (trb143) wrote :

Did you have the blank / theme icon selected as this is known to be an existing bug.

Revision history for this message
Albert Steiner (aljsteiner) wrote :

At revision 1164 impress came up without problem on windows 7. Unfortunately while it showed in the live preview, and changed pictures, the live display remained black, even when I tried to change blank.

I used the command python openlp.pyw -l debug

The log file is at:
https://docs.google.com/leaf?id=0B1ItqVaNujn0ZDc1ZDAwMDctYTZlOS00ZGE4LWIzNTAtZjJhNDQ4NTdkMjg3&hl=en&authkey=CLnovO0N

the pptx file is at:
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B1ItqVaNujn0OGY1YmY2ZDgtMzUzYy00YWE0LWE4YTUtMGYxMmVjM2U3NDQ3&hl=en&authkey=COC3mKAC

Revision history for this message
Albert Steiner (aljsteiner) wrote :

When I edited the file in Impress I could only store the file as a .ppt file, because impress always aborted after being called up, and then impress aborted.
When I added the file with revision 1164 I got a similar error on windows 7.
When I tried to load the Advent3.ppt, I got the following abort.
Traceback (most recent call last):
File "C:\Projects\trunk3\openlp\core\lib\mediamanageritem.py", line 356, in onFileClick
self.loadList(files)
File "C:\Projects\trunk3\openlp\plugins\presentations\lib\mediaitem.py", line 197, in loadList
doc.load_presentation()
File "C:\Projects\trunk3\openlp\plugins\presentations\lib\impresscontroller.py", line 239, in load_presentation
desktop = self.controller.get_com_desktop()
File "C:\Projects\trunk3\openlp\plugins\presentations\lib\impresscontroller.py", line 162, in get_com_desktop
return self.manager.createInstance(u'com.sun.star.frame.Desktop')
File "<COMObject com.sun.star.ServiceManager>", line 2, in createInstance
com_error: (-2147023174, 'The RPC server is unavailable.', None, None)

Revision history for this message
Albert Steiner (aljsteiner) wrote :

I tested the downloaded of version 1.9.3, on windows 7 64bit, and on Vista 32 bit. I had no trouble with impress loading a presentation either .ppt or .pptx

It previewed fine, showing correctly in the preview panel. When I went to the live panel, it loaded and display in my display as another application. I could display the application using Alt-tab to move between applications.

However the live panel did not show the display like the preview panel. I don't know if that is a feature or a bug. When I blanked the screen, in on screen mode, the blank window covered enough of the display so that I had to use esc to kill the display. At that point clicking the blank button unblanked the display.I

It also displayed fine from the service panel.

I would say this works well enough to use in our church on Sunday morning, although that is not my decision. We use presentation to provide slides with blank lines and multiple fonts as part of the liturgy presentation.

Revision history for this message
John Cegalis (jseagull1) wrote :

If I open OpenLP, go to media manager/Presentations and Show Live a presentation, not hooked to a 2nd monitor, I get this error below now.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/mediamanageritem.py", line 469, in onLiveClick
    self.parent.liveController.addServiceItem(serviceItem)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 524, in addServiceItem
    self._processItem(item, slideno)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 566, in _processItem
    self._forceUnblank()
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 1060, in _forceUnblank
    if self.DesktopScreen.isChecked:
AttributeError: 'SlideController' object has no attribute 'DesktopScreen'

Revision history for this message
John Cegalis (jseagull1) wrote :

Jonathan,
1184 kubuntu
I didn't realize openlp logs even without the debug. I found this in the log file. Maybe this will give you a hint why I can't show a presentation with Impress in OpenLP.
Thanks
john

2011-01-03 20:03:18,914 openlp.plugins.presentations.lib.impresscontroller ERROR Unable to find running instance
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/impresscontroller.py", line 134, in get_uno_desktop
    + u'urp;StarOffice.ComponentContext')
com.sun.star.connection.NoConnectException: Connector : couldn't connect to pipe openlp_pipe(10)
2011-01-03 20:03:18,950 openlp.plugins.presentations.lib.impresscontroller ERROR Unable to find running instance
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/impresscontroller.py", line 134, in get_uno_desktop
    + u'urp;StarOffice.ComponentContext')
com.sun.star.connection.NoConnectException: Connector : couldn't connect to pipe openlp_pipe(10)
2011-01-03 20:03:18,972 openlp.plugins.presentations.lib.impresscontroller ERROR Unable to find running instance
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/impresscontroller.py", line 134, in get_uno_desktop
    + u'urp;StarOffice.ComponentContext')
com.sun.star.connection.NoConnectException: Connector : couldn't connect to pipe openlp_pipe(10)
2011-01-03 20:03:18,993 openlp.plugins.presentations.lib.impresscontroller ERROR Failed to get UNO desktop
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/impresscontroller.py", line 144, in get_uno_desktop
    self.manager = ctx.ServiceManager
AttributeError: 'NoneType' object has no attribute 'ServiceManager'
2011-01-03 20:03:18,994 openlp.plugins.presentations.lib.impresscontroller ERROR Failed to terminate OpenOffice
None

Revision history for this message
John Cegalis (jseagull1) wrote :

I found the file in /usr/bin ooffice was non-existent. openoffice.org is linked and points to that file which openlp uses to start Impress. I got the ooffice file from another computer and put it in /usr/bin and everything is working again. I tried to link openoffice.org with soffice, which is the same thing, different version, but it did not work. As far as I can tell, ooffice is being used in 3.2 and soffice in 3.3. I have never seen ooffice file before but I usually install the latest beta version of openoffice through the CLI.

Revision history for this message
Tim Bentley (trb143) wrote :

#3 has been resolved by only allowing presentations to start if all the slides have valid previews.
The core problems still remain.

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Tim, John, Albert, is this still an issue?

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

I'm struggling to duplicate this on either Windows 7 or Linux (Mint 10). Neither fails with OpenOffice.
(Note Libreoffice not supported yet, although no idea if it works or not yet)

Let post a comment if anyone is still having problems.

Changed in openlp:
status: New → Incomplete
Revision history for this message
Rygle (rygle) wrote :
Download full text (3.2 KiB)

I'm wondering whether the OP had the "Sun Presenter Console", now called "Oracle Presenter Console", plugin installed in OpenOffice\LibreOffice. It's found here (http://extensions.services.openoffice.org/project/presenter-screen) I find that presentations run fine using LibreOffice, except when the Presenter Screen plugin is installed. Basically you have both the Presenter Console and OpenLP trying to remote control Impress at the same time, and there ain't enough room in this town for both of them. I tried to use it with the Presenter Console extension installed but disabled, but get the same problem, but once I uninstalled it everything works find.

FYI I'm using Windows 7 Home Professional, OpenLP 1.9.4 build bzr1341, LibreOffice 3.3.2 RC2 - I had to choose not to install the Oracle Presenter Console while installing LibreOffice - I think I did that by choosing "Custom Install", and then when it asks about which components to install there's a section on Extensions toward the bottom. You can then install the Presenter Console extension plugin manually later, but for some reason if it's installed as part of the main installation Windows locks it and you can't uninstall it - I think it even appears with a padlock on the right side of the extension list if installed automatically with the main program.

Error message I get is;
Traceback (most recent call last):
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 275, in startup
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 68, in add_handler
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 397, in start_presentation
AttributeError: 'NoneType' object has no attribute 'Presentation'

then...

Traceback (most recent call last):
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 284, in slide
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 99, in slide
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 85, in activate
  File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 397, in start_presentation
AttributeError: 'NoneType' object has no attribute 'Presentation'

etc.

I find if I'm quick, before the first error comes up I can click on the Impress icon on the taskbar and it actually launches an instance of the Presenter Console from OpenLP and everything is relatively happy, but you have to be very quick. When running properly from OpenLP I see the Impress icon but clicking on...

Read more...

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

I've fixed a few problems with Impress now (It will be in the next nightly build r1505 or later) and I'm not getting any problems.
I've tried the Presenter Console, and although it gets in the way it seems to work OK with it, at least in LibreOffice 3.3. My recommendation however is to disable this when controlling from OpenLP!

Changed in openlp:
status: Incomplete → Invalid
Revision history for this message
Joshua Miller (milleja46) wrote :

Ok delete my newer bug report on this, with openoffice.org 3.3 it still causes a crash as described orginally with the newest windows version. Unless i've missed a update to openoffice, or this it still doesn't work

Revision history for this message
Joshua Miller (milleja46) wrote :

Still evident so not invalid and still shown

Changed in openlp:
status: Invalid → Incomplete
Revision history for this message
Jonathan Corwin (j-corwin) wrote :

The two bugs are different. They have different stack traces. Do you still get an error with this stack trace, i.e. containing a "in load_presentation" and "in get_com_desktop" ?

Revision history for this message
Joshua Miller (milleja46) wrote : Re: [Bug 672164] Re: when clicking on impress bug appears, and does not let presentation load

I don't recall i'd have to recall the error which i can't since i'm
not at home, i'd have to be at home to recall if that error was on
there...

On Mon, May 2, 2011 at 11:56 AM, Jonathan Corwin
<email address hidden> wrote:
> The two bugs are different. They have different stack traces. Do you
> still get an error with this stack trace, i.e. containing a "in
> load_presentation" and "in get_com_desktop" ?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/672164
>
> Title:
>  when clicking on impress bug appears, and does not let presentation
>  load
>
> Status in OpenLP - Worship Presentation Software:
>  Incomplete
>
> Bug description:
>  Lately i've been using a impress to show the text i need since the
>  font Base02 is not supported. So i went to show it live during service
>  and the following bug occured:
>
>  Traceback (most recent call last):
>    File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 283, in slide
>    File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 99, in slide
>    File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 83, in activate
>    File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 239, in load_presentation
>    File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.impresscontroller", line 162, in get_com_desktop
>    File "c:\Documents and Settings\raoul\My Documents\My Projects\openlp\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/win32com.client.dynamic", line 512, in __getattr__
>  AttributeError: com.sun.star.ServiceManager.createInstance
>
>  All i did to make this happen:
>  1.) add the impress presentation to service
>  2.) double clicked to show live on screen(i also tried right-clicking, and saying send live produced same error)
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openlp/+bug/672164/+subscribe
>

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

Not a problem, don't feel you have to reply immediately to these comments, I'm happy to wait until you're in a position to give a suitable answer!

Revision history for this message
Joshua Miller (milleja46) wrote :

Ok so maybe i was wrong, though there was a second bug that popped up when doing the other and i don't remember if it was this or something else because it look different than the first it showed and i thought it was this code yet again. I may have to check it...

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

Lets keep this bug closed since it contains other things which have been fixed. Any new info put on https://bugs.launchpad.net/bugs/775235

Changed in openlp:
status: Incomplete → Invalid
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.