Bug #2360

duktape complains about page.metadata.childTilesX

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:InvalidStart date:11/13/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

0%

Category:API
Target version:4.8
Found in version:4.7.486 Platform:Linux

Description

To reproduce:
1. install icecast and rad.io plugins.
2. in searcher type test and press enter.

you will see in the log:

navigator       [INFO ]: Opening search:test
rad.io          [ERROR]: TypeError (invalid base value) at zip://file:///root/.hts/showtime/installedplugins/rad.io.zip/rad.io.js:31
rad.io          [ERROR]: STACK DUMP: TypeError: invalid base value
                             duk_hobject_props.c:2000
                             setPageHeader zip://file:///root/.hts/showtime/installedplugins/rad.io.zip/rad.io.js:31
                             anon zip://file:///root/.hts/showtime/installedplugins/rad.io.zip/rad.io.js:288
                             anon showtime/page:240 preventsyield
icecast         [ERROR]: TypeError (invalid base value) at zip://file:///root/.hts/showtime/installedplugins/icecast.zip/icecast.js:29
icecast         [ERROR]: STACK DUMP: TypeError: invalid base value
                             duk_hobject_props.c:2000
                             setPageHeader zip://file:///root/.hts/showtime/installedplugins/icecast.zip/icecast.js:29
                             anon zip://file:///root/.hts/showtime/installedplugins/icecast.zip/icecast.js:325
                             anon showtime/page:240 preventsyield

That is on code:

            page.options.createInt('childTilesX', 'Number of X Child Tiles', 6, 1, 10, 1, '', function (v) {
                page.metadata.childTilesX = v;
            }, true);

Also if you press Alt+F4 you will see something strange in the log:

core            [DEBUG]: Shutdown requested, returncode = 0
core            [DEBUG]: Caches flushed
core            [DEBUG]: arch stop=0
p����          [DEBUG]: Unloaded
P�                [DEBUG]: Unloaded
                [DEBUG]: Unloaded
昤�          [DEBUG]: Unloaded
�H            [DEBUG]: Unloaded
��$��          [DEBUG]: Unloaded
 ��          [DEBUG]: Unloaded
`o���          [DEBUG]: Unloaded
 ���          [DEBUG]: Unloaded
�w              [DEBUG]: Unloaded
(null)          [DEBUG]: Unloaded
`S��          [DEBUG]: Unloaded
�>��          [DEBUG]: Unloaded
`F�            [DEBUG]: Unloaded
y��          [DEBUG]: Unloaded
�E���          [DEBUG]: Unloaded
�7�            [DEBUG]: Unloaded
�"    ��          [DEBUG]: Unloaded
��    ��          [DEBUG]: Unloaded
0�y��          [DEBUG]: Unloaded
�~�            [DEBUG]: Unloaded
(null)          [DEBUG]: Unloaded
��r��          [DEBUG]: Unloaded
0a�            [DEBUG]: Unloaded
                [DEBUG]: Unloaded
(null)          [DEBUG]: Unloaded
core            [DEBUG]: API group finished
core            [DEBUG]: Playqueue finished
core            [DEBUG]: Audio finished
core            [DEBUG]: Navigator finished
core            [DEBUG]: Backend finished
core            [DEBUG]: Slow shutdown hooks finished
core            [DEBUG]: Blobcache finished
core            [DEBUG]: Metadb finished
core            [DEBUG]: Showtime terminated normally

History

#1 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Invalid

Just don't access page.options on search queries.

Also available in: Atom PDF