Issue 71 in pywebkitgtk: which version is the best match of webkit?

34 views
Skip to first unread message

pyweb...@googlecode.com

unread,
Apr 24, 2013, 8:38:43 PM4/24/13
to pyweb...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 71 by gebing8...@gmail.com: which version is the best match of
webkit?
http://code.google.com/p/pywebkitgtk/issues/detail?id=71

I'm using centos5.2 to install pywebkitgtk, and my webkit version is
1.1.10, when I build pywebkitgtk, there are some errors like:
webkit/webkit.c: In function '_wrap_webkit_web_frame_get_security_origin':
webkit/webkit.c:1235: error: 'WebKitSecurityOrigin' undeclared (first use
in this function)
webkit/webkit.c:1235: error: (Each undeclared identifier is reported only
once
webkit/webkit.c:1235: error: for each function it appears in.)
webkit/webkit.c:1235: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_frame_get_data_source':
webkit/webkit.c:1247: error: 'WebKitWebDataSource' undeclared (first use in
this function)
webkit/webkit.c:1247: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_frame_get_network_response':
webkit/webkit.c:1259: error: 'WebKitNetworkResponse' undeclared (first use
in this function)
webkit/webkit.c:1259: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In
function '_wrap_webkit_web_frame_get_provisional_data_source':
webkit/webkit.c:1271: error: 'WebKitWebDataSource' undeclared (first use in
this function)
webkit/webkit.c:1271: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_network_response_get_uri':
webkit/webkit.c:2759: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_security_origin_get_host':
webkit/webkit.c:2830: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_security_origin_get_protocol':
webkit/webkit.c:2844: warning: assignment makes pointer from integer
without a cast
./webkit/webkit.override: In
function '_wrap_webkit_security_origin_get_all_web_databases':
./webkit/webkit.override:136: warning: assignment makes pointer from
integer without a cast
webkit/webkit.c: In
function '_wrap_webkit_web_database_get_security_origin':
webkit/webkit.c:2985: error: 'WebKitSecurityOrigin' undeclared (first use
in this function)
webkit/webkit.c:2985: error: 'ret' undeclared (first use in this function)
webkit/webkit.c: In function '_wrap_webkit_web_database_get_name':
webkit/webkit.c:3000: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_database_get_display_name':
webkit/webkit.c:3014: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_database_get_filename':
webkit/webkit.c:3050: warning: assignment makes pointer from integer
without a cast
./webkit/webkit.override: In function '_wrap_webkit_web_resource_get_data':
./webkit/webkit.override:285: warning: assignment makes pointer from
integer without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_uri':
webkit/webkit.c:3160: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_mime_type':
webkit/webkit.c:3174: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_encoding':
webkit/webkit.c:3188: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_resource_get_frame_name':
webkit/webkit.c:3202: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_web_frame':
webkit/webkit.c:3299: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In
function '_wrap_webkit_web_data_source_get_initial_request':
webkit/webkit.c:3311: warning: assignment makes pointer from integer
without a cast
webkit/webkit.c: In function '_wrap_webkit_web_data_source_get_request':
webkit/webkit.c:3323: warning: assignment makes pointer from integer
without a cast
=====================================================
I think these errors could be due to low version of webkit.

any advice for me? thanks so much!


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pyweb...@googlecode.com

unread,
Apr 25, 2013, 2:16:32 AM4/25/13
to pyweb...@googlegroups.com

Comment #1 on issue 71 by gebing8...@gmail.com: which version is the best
I searched WebKitSecurityOrigin, WebKitWebDataSource and
WebKitNetworkResponse, from source code, I seem these structs are since
webkit-1.1.14, so I install the webkit-1.1.15, and there are no errors any
more!

pyweb...@googlecode.com

unread,
Apr 27, 2013, 2:49:16 AM4/27/13
to pyweb...@googlegroups.com

Comment #2 on issue 71 by gebing8...@gmail.com: which version is the best
I use webkit-1.1.15 and install pywebkitgtk successfully, but still error,
when I try to import webkit in python, it says:
>>> import webkit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/python/lib/python2.7/site-packages/webkit/__init__.py",
line 21, in <module>
import webkit
ImportError:
/usr/local/python/lib/python2.7/site-packages/webkit/webkit.so: undefined
symbol: webkit_web_frame_get_network_response
==============================================================
I google webkit_web_frame_get_network_response, and find this is since
webkit-1.1.18, and I install webkit-1.7.1 now, but I don't know whether
there is any mistake!!!
Reply all
Reply to author
Forward
0 new messages