thgeorgiou / pPub

A simple epub reader written using python, gtk3 and webkit.
GNU General Public License v2.0
129 stars 20 forks source link

AttributeError: 'gobject.GProps' object has no attribute 'enable_webgl' #1

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hi,

Just installing today (20111031) on my Slackware/Salix system, I got this error when trying to launch it.

fredg[~]$ ppub Traceback (most recent call last): File "/usr/bin/ppub", line 677, in main = MainWindow() File "/usr/bin/ppub", line 253, in init self.viewer = Viewer() File "/usr/bin/ppub", line 467, in init settings.props.enable_webgl = False AttributeError: 'gobject.GProps' object has no attribute 'enable_webgl'

Deps installed: pygtk, pywekbitgtk, infozip

++

oylenshpeegul commented 12 years ago

I had the same problem with Ubuntu. When I commented out that line

    # settings.props.enable_webgl = False

it started and opened up a window. When I selected File->Open, it opened a file dialog. When I selected an .epub file, it expanded a whole bunch of things in /tmp and then froze. So whatever enable_webgl is, I think we need it. :)

Psycojoker commented 12 years ago

Oh, didn't saw this issue. I've send a patch via a pull request to fix this: https://github.com/sakisds/pPub/pull/3

thgeorgiou commented 12 years ago

I merged the patch from Psycojoker but I can't test it since I have no computer currently. Please test it so I can mark this as solved. And thanks again for applying a fix :)

oylenshpeegul commented 12 years ago

Yup, works for me! (I can open a different epub file than the one mentioned in my previous comment). I think this issue can be closed.

ghost commented 12 years ago

Confirmed here too. Good job guys.

++