Comment 3 for bug 1098151

Kevin (kupiakos) wrote :

I have the exact same problem you have with the Outlook Web App. After analyzing the code, here are instructions for a workaround:

Navigate to /opt/extras.ubuntu.com/fogger
Open fogger/FoggerWindow.py for editing as root.
Insert the following line after Line 152 (on mine, it is self.websettings.props.enable_plugins = True):
self.websettings.props.user_agent = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0'
(make sure to insert spaces so it matches the line above)
Save and close the file.

You may not have to do these next few steps, but for some reason it fixed a hanging problem I had:
Open fogger_lib/DB.py for editing as root.
Add # to the beginning of line 94 to turn this line:
self._con.commit()
into this:
#self._con.commit()
Save and close the file.
I'm not sure what negative affect this has on the webapp (I'm not exactly a PyGtk guru here)

I should probably put this as a patch, but I'm a little rusty with diff and I don't want to break anything. Hopefully this solves your problem for now. Also keep in mind this useragent and other settings will be applied for *all* webapps.