OpenNab 0.09 install problem

Help
Japanas
2010-09-20
2013-04-29
  • Japanas

    Japanas - 2010-09-20

    Hello all,

    I've just installed OpenNab 0.09 on my home server to take contro lof my Nabaztag V2,
    but unfortunatly, all tests failed

    Platform: Windows 2000 Pro SP4 + Apache 2.0.45 + PHP 4.4.9

    Thank you by advance for your help.
    Japanas

    All tests
    Exception: testofmisc -> testgetvalueordefault -> Unexpected PHP error  severity  in
    Exception: testofmisc -> testgetvalueordefault -> Unexpected PHP error  severity  in
    Exception: testofmisc -> testgetvalueordefault -> Unexpected PHP error  severity  in
    Fail: testofrequest -> testfilegetcontents -> Equal expectation fails at character 0 with  and  at
    Fail: testofrequest -> testfilegetcontents -> Equal expectation fails at character 0 with  and  at
    Exception: testofrequest -> testfilegetcontents -> Unexpected PHP error [file_get_contents(http://192.168.1.50:80/vl/tests/request1.txt) : failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found ] severity  in
    Exception: testofrequest -> testfilegetcontents -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Fail: testofburrow -> testsave -> at
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofpluginambient -> testambient -> Unexpected PHP error  severity  in
    Exception: testofpluginambient -> testambient -> Unexpected PHP error  severity  in
    Exception: testofpluginmyweather -> testweather -> Unexpected PHP error  severity  in
    Exception: testofpluginmyweather -> testweather -> Unexpected PHP error  severity  in
    Exception: testofpluginmyweather -> testweather -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginplsm3u -> testchangecontents -> Unexpected PHP error  severity  in
    Exception: testofpluginplsm3u -> testchangecontents -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in

    15/15 test cases complete: 433 passes, 3 fails and 100 exceptions.

     
  • Olivier Azeau

    Olivier Azeau - 2010-09-20

    The E_NOTICE errors might not be issues.
    It is better to ignore them right now.

    There's only one error that should be fixed :

    Fail: testofrequest -> testfilegetcontents -> Equal expectation fails at character
    0 with  and  at
    Fail: testofrequest -> testfilegetcontents -> Equal expectation fails at character
    0 with  and  at
    Exception: testofrequest -> testfilegetcontents -> Unexpected PHP error
    [file_get_contents(http://192.168.1.50:80/vl/tests/request1.txt) [<a
    href='function.file-get-contents'>function.file-get-contents</a>]: failed to
    open stream: HTTP request failed! HTTP/1.1 404 Not Found ] severity
    in

    It looks like the web server has a configuration issue and is not able to reply to the test URL http://192.168.1.50:80/vl/tests/request1.txt

     
  • Japanas

    Japanas - 2010-09-20

    You're right, one issue was because of no root folder
    ( "http://192.168.1.50:80/opennab/vl/…" instead of "http://192.168.1.50:80/vl/…"

    Still 1 fails.

    All tests
    Exception: testofmisc -> testgetvalueordefault -> Unexpected PHP error  severity  in
    Exception: testofmisc -> testgetvalueordefault -> Unexpected PHP error  severity  in
    Exception: testofmisc -> testgetvalueordefault -> Unexpected PHP error  severity  in
    Exception: testofrequest -> testfilegetcontents -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackunpack -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testcreatefromscratch -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testenhancedmessage -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testpackemptyblock -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Exception: testofping -> testreboot -> Unexpected PHP error  severity  in
    Fail: testofburrow -> testsave -> at
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofpluginambient -> testambient -> Unexpected PHP error  severity  in
    Exception: testofpluginambient -> testambient -> Unexpected PHP error  severity  in
    Exception: testofpluginmyweather -> testweather -> Unexpected PHP error  severity  in
    Exception: testofpluginmyweather -> testweather -> Unexpected PHP error  severity  in
    Exception: testofpluginmyweather -> testweather -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginmyradio -> testradio -> Unexpected PHP error  severity  in
    Exception: testofpluginplsm3u -> testchangecontents -> Unexpected PHP error  severity  in
    Exception: testofpluginplsm3u -> testchangecontents -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginpinginterval -> testpinginterval -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in
    Exception: testofpluginasleep -> testsleep -> Unexpected PHP error  severity  in

    15/15 test cases complete: 435 passes, 1 fails and 99 exceptions.

     
  • Olivier Azeau

    Olivier Azeau - 2010-09-20

    It looks like the remaining error comes from

    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in 

    But I do not understand this error.
    The bug might be in the test code.

    My advice would be to try the calls to the real URL used by the bunny, as defined in the readme file set e) http://my.domain.com/vl/bc.jsp?v=0.0.0.10&m=xx:xx:xx:xx:xx:xx&l=00:00:00:00:00:00&p=00:00:00:00:00:00&h=4
    and if it works fine, try to connect the bunny

     
  • Japanas

    Japanas - 2010-09-20

    Hum… will/want to try, but I don't find the correct readme file:
    what do i need to replace in m=, l=, p= ? my bunny serial number, token number, what else ?

     
  • Japanas

    Japanas - 2010-09-20

    after reinit of php.ini file, still have 1 fails but only 9 exceptions (see below)

    URL http://my.domain.com/vl/bc.jsp?v=0.0.0.10&m=xx:xx:xx:xx:xx:xx&l=00:00:00:00:00:00&p=00:00:00:00:00:00&h=4
    return following error:
    Not Found
    The requested URL /vl/bc.jsp was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.0.45 (Win32) Server at 192.168.1.50 Port 80

    Log AllTests:

    Warning: opendir(C:/PHP4/php.exe/vl/plugins) : failed to open dir: Invalid argument in D:\SitesWeb\FreeDome\vl\includes\misc.php on line 88

    Warning: readdir(): supplied argument is not a valid Directory resource in D:\SitesWeb\FreeDome\vl\includes\misc.php on line 89

    Warning: closedir(): supplied argument is not a valid Directory resource in D:\SitesWeb\FreeDome\vl\includes\misc.php on line 96

    All tests
    Fail: testofburrow -> testsave -> at
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error [fopen(C:/PHP4/php.exe/vl/burrows/test_to_delete) : failed to open stream: No such file or directory] severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in
    Exception: testofburrow -> testsave -> Unexpected PHP error  severity  in

    15/15 test cases complete: 435 passes, 1 fails and 9 exceptions.

     

Log in to post a comment.