You are not logged in.

#1 2011-10-27 11:03:21

Reki
Member
Registered: 2011-10-27
Posts: 59

Quivi can't view images

Hey guys, just trying to figure out how to run Quivi to get working on my machine. In case you don't know, it's a comic/manga reader I've been using ever since I used Ubuntu. It is outdated, which is also stated in the AUR page, but I haven't had problems with using it in past distros, until now. Anyway, I've followed the steps in Quivi's AUR page and installed it without errors. I can run it fine, but the problem is it can't display any images, which sucks. I ran quivi from the terminal and tried opening the image, and this was the message I got:

[reki@ws2 ~]$ quivi Pictures/blackmatagi.png

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/quivilib/gui/main.py", line 216, in on_panel_paint
    Publisher.sendMessage('canvas.painted', (dc, painted_region))
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/core/arg1/publisher.py", line 37, in sendMessage
    topicObj.publish(data)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/core/arg1/publishermixin.py", line 23, in publish
    self._publish(data)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/core/topicobj.py", line 340, in _publish
    self.__sendMessage(data, self, iterState)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/core/topicobj.py", line 359, in __sendMessage
    self._mix_callListener(listener, data, iterState)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/core/arg1/publishermixin.py", line 34, in _mix_callListener
    listener(self, data)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub/core/arg1/listenerimpl.py", line 41, in __call__
    cb(msg, **kwargs)
  File "/usr/lib/python2.7/site-packages/quivilib/control/canvas.py", line 51, in on_canvas_painted
    self.canvas.paint(dc)
  File "/usr/lib/python2.7/site-packages/quivilib/model/canvas.py", line 274, in paint
    self.img.paint(dc, self.left, self.top)
  File "/usr/lib/python2.7/site-packages/quivilib/model/image/cairo.py", line 109, in paint
    ctx = wxcairo.ContextFromDC(dc)
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/lib/wxcairo.py", line 124, in ContextFromDC
    ctx = pycairoAPI.Context_FromContext(ctxptr, pycairoAPI.Context_Type, None)
AttributeError: 'Pycairo_CAPI' object has no attribute 'Context_FromContext'

Also, I noticed that when I try to open an image using Ctrl+O, images are greyed out, so I can't open them. I've also tried setting the default program to quivi, but no luck there either.

I'm guessing it has something to do with Pycairo, since it looks like that's the only error after skimming through it. I have both python-cairo and python2-cairo installed, so I really don't know what's the problem. Replies are greatly appreciated.

Offline

#2 2011-10-27 20:33:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Quivi can't view images

These errors come from wxpython (not python cairo) but I don't know what could be the cause.

Offline

Board footer

Powered by FluxBB