[webkit-gtk] Bug#749251: Bug#749251: cyclograph-gtk2: depends on python-webkit which is deprecated

Federico Brega charon.66 at gmail.com
Sat Jul 19 14:36:41 PDT 2014


Hello,

sorry for the late reply.

> hmm, there is a JavaScriptCore GIR file which has:
>
>     <record name="GlobalContext" c:type="JSGlobalContextRef" foreign="1"/>
>     <record name="Value" c:type="JSValueRef" foreign="1"/>
>
> That is not sufficient from what you're saying? In Debian the gir file is on
> the jsc dev package and the typelib in gir1.2-javascriptcoregtk-1.0.

Tank you for your suggestion but it doesn't solve the issue.
I added the following two lines at top of the example file:

from gi.repository import JavaScriptCore
print JavaScriptCore.Value

The result is:

<class 'gi.repository.JavaScriptCore.Value'>
Traceback (most recent call last):
  File "example.py", line 9, in get_res
    v = result_js.get_value()
TypeError: Couldn't find conversion for foreign struct 'JavaScriptCore.Value'



More information about the webkit-gtk mailing list