After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733257 - Incorrect args check in grl.fetch()
Incorrect args check in grl.fetch()
Status: RESOLVED DUPLICATE of bug 733289
Product: grilo
Classification: Other
Component: plugins
git master
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2014-07-16 14:55 UTC by Bastien Nocera
Modified: 2014-07-17 09:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2014-07-16 14:55:47 UTC
The number of arguments is incorrectly checked in grl.fetch() leading to errors like this one with the grl-hotmovies.lua script:

(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-factory] grl-lua-factory.c:1100: grl_lua_factory_source_resolve
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:966: Fetching search page http://www.hotmovies.com/search.php?words=New&search_in=video_title
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:860: grl.fetch() -> 'http://www.hotmovies.com/search.php?words=New&search_in=video_title'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [wc] grl-net-wc.c:283: cache up
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'tonumber'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'tostring'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'os'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'rawlen'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'table'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'getmetatable'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'grl'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'rawset'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'minutes'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'math'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'loadfile'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'dofile'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'loadstring'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'module'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'pairs'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'grl_source_resolve'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'pcall'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'ipairs'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'seconds'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'grl-lua-operation-spec-21'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'grl-lua-operation-spec-14'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'error'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'hours'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'unpack'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'xpcall'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'print'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'grl-lua-operation-spec-7'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'fetch_page_cb'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'type'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'string'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'source'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'coroutine'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'collectgarbage'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: '_G'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'debug'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'bit32'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'select'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'HOTMOVIES_DEFAULT_QUERY'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'io'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'setmetatable'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'grl-lua-operation-spec'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'rawequal'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'assert'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: '_VERSION'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'package'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'rawget'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'load'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'require'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'next'
(grilo-test-ui-0.2:21842): Grilo-DEBUG: [lua-library] grl-lua-library.c:553: GrlNetWc property not know: 'fetch_results_cb'
Comment 1 Bastien Nocera 2014-07-17 09:11:42 UTC

*** This bug has been marked as a duplicate of bug 733289 ***