From: Chris W. <ch...@vi...> - 2006-06-13 04:39:03
|
Hi All, =20 Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 =20 I get the errors listed further below and although there is no error = message when installing, a previously functioning script which utilises = NotifyIcon now exhibits the following behaviour=85 =20 Custom icon no longer appears =91set=92 on the window entry on the task = bar. The NotifyIcon does not build and appear in the system tray. It generates an error on exit, that it cannot =93remove=94 a resource that is not = there=85 =20 Cheers =20 Chris Wearn =20 t\05_NotifyIcon_01_Constructor.....dubious Test returned status 11 (wstat 2816, 0xb00) DIED. FAILED tests 3, 5-10, 13-16 Failed 11/16 tests, 31.25% okay t\05_NotifyIcon_02_Change..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4, 7-16 Failed 12/16 tests, 25.00% okay t\05_NotifyIcon_03_OtherMethods....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4, 6-9 Failed 6/9 tests, 33.33% okay t\05_NotifyIcon_04_Remove..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 3-5, 7-9 Failed 7/9 tests, 22.22% okay t\05_NotifyIcon_05_DESTROY.........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 1, 6-7 Failed 3/13 tests, 76.92% okay =20 =20 Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------= --- --- t\05_NotifyIcon_01_Constructor.t 11 2816 16 11 68.75% 3 5-10 13-16 t\05_NotifyIcon_02_Change.t 255 65280 16 18 112.50% 2 4 = 7-16 t\05_NotifyIcon_03_OtherMethods.t 255 65280 9 10 111.11% 2 4 6-9 t\05_NotifyIcon_04_Remove.t 255 65280 9 10 111.11% 1 3-5 = 7-9 t\05_NotifyIcon_05_DESTROY.t 3 768 13 3 23.08% 1 6-7 =20 =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 41) # $W->AddNotifyIcon creates Win32::GUI::NotifyIcon object isn't = defined =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 43) # got: undef # expected: 'Win32::GUI::NotifyIcon=3DHASH(0x1be2ce0)' Use of uninitialized value in numeric gt (>) at t\05_NotifyIcon_01_Constructor.t line 46. =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 46) Use of uninitialized value in hash element at t\05_NotifyIcon_01_Constructor.t line 47. =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 47) Use of uninitialized value in hash element at t\05_NotifyIcon_01_Constructor.t line 48. Use of uninitialized value in list assignment at = C:/Perl/lib/Test/Builder.pm line 472. =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 48) # got: undef # expected: 'NI' =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 50) # got: undef # expected: 'NI' =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 51) # got: undef # expected: '29426514' =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 65) # got: undef # expected: 'Win32::GUI NotifyIcon Test Balloon Tip' =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 66) # got: undef # expected: 'Win32::GUI NotifyIcon Title' =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 67) # got: undef # expected: 'error' =20 # Failed test (t\05_NotifyIcon_01_Constructor.t at line 68) # got: undef # expected: '20000' # Looks like you failed 11 tests of 16. =20 # Failed test (t\05_NotifyIcon_02_Change.t at line 38) # $W->AddNotifyIcon creates Win32::GUI::NotifyIcon object isn't = defined =20 # Failed test (t\05_NotifyIcon_02_Change.t at line 40) # got: undef # expected: 'Win32::GUI::NotifyIcon=3DHASH(0x1c35808)' =20 # Failed test (t\05_NotifyIcon_02_Change.t at line 54) # got: undef # expected: 'Win32::GUI NotifyIcon Test Balloon Tip' =20 # Failed test (t\05_NotifyIcon_02_Change.t at line 55) # got: undef # expected: 'Win32::GUI NotifyIcon Title' =20 # Failed test (t\05_NotifyIcon_02_Change.t at line 56) # got: undef # expected: 'error' =20 # Failed test (t\05_NotifyIcon_02_Change.t at line 57) # got: undef # expected: '20000' Can't call method "Change" on unblessed reference at t\05_NotifyIcon_02_Change.t line 61. # Looks like you planned 16 tests but only ran 10. # Looks like your test died just after 10. =20 # Failed test (t\05_NotifyIcon_03_OtherMethods.t at line 39) # $W->AddNotifyIcon creates Win32::GUI::NotifyIcon object isn't = defined =20 # Failed test (t\05_NotifyIcon_03_OtherMethods.t at line 41) # got: undef # expected: 'Win32::GUI::NotifyIcon=3DHASH(0x1c354c4)' Can't call method "ShowBalloon" on an undefined value at t\05_NotifyIcon_03_OtherMethods.t line 52. # Looks like you planned 9 tests but only ran 5. # Looks like your test died just after 5. =20 # Failed test (t\05_NotifyIcon_04_Remove.t at line 34) # $W->AddNotifyIcon creates Test::NotifyIcon object isn't defined Use of uninitialized value in numeric gt (>) at = t\05_NotifyIcon_04_Remove.t line 38. =20 # Failed test (t\05_NotifyIcon_04_Remove.t at line 38) Use of uninitialized value in hash element at = t\05_NotifyIcon_04_Remove.t line 39. =20 # Failed test (t\05_NotifyIcon_04_Remove.t at line 39) Use of uninitialized value in hash element at = t\05_NotifyIcon_04_Remove.t line 40. Use of uninitialized value in list assignment at = C:/Perl/lib/Test/Builder.pm line 472. =20 # Failed test (t\05_NotifyIcon_04_Remove.t at line 40) # got: undef # expected: 'NI' Can't call method "Remove" on unblessed reference at t\05_NotifyIcon_04_Remove.t line 44. # Looks like you planned 9 tests but only ran 6. # Looks like your test died just after 6. =20 # Failed test (t\05_NotifyIcon_05_DESTROY.t at line 34) # $W->AddNotifyIcon creates Test::NotifyIcon object isn't defined Use of uninitialized value in hash element at = t\05_NotifyIcon_05_DESTROY.t line 57. =20 # Failed test (t\05_NotifyIcon_05_DESTROY.t at line 57) =20 # Failed test (t\05_NotifyIcon_05_DESTROY.t at line 58) # got: 'HASH(0x1c398ac)' # expected: 'Test::NotifyIcon=3DHASH(0x1b11d54)' Use of uninitialized value in hash element at = t\05_NotifyIcon_05_DESTROY.t line 67. # Looks like you failed 3 tests of 13. Failed 5/23 test scripts, 78.26% okay. 39/480 subtests failed, 91.88% = okay. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. =20 =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: = 12/06/2006 =20 |
From: Robert M. <rm...@po...> - 2006-06-13 22:42:35
|
Chris Wearn wrote: > Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 [snip errors from testing] OK, so the NotifyIcon constructor is returning undef, now we just need to find out why. [As an aside, more tests are passing than should, due to the constructor adding information to the parent before it finds out that creation of the notifyicon failed, and then never removing it. This is easily fixed] Chris, Can you tell me what this outputs: perl -MWin32::GUI -e "print $Win32::GUI::NotifyIcon::SHELLDLL_VERSION" Can you search you header files for shellapi.h, and tell me what values you can find in there for the following constants: NOTIFYICONDATA_V1_SIZE NOTIFYICONDATAA_V1_SIZE NOTIFYICONDATAW_V1_SIZE NOTIFYICONDATA_V2_SIZE NOTIFYICONDATAA_V2_SIZE NOTIFYICONDATAW_V2_SIZE Thanks, Rob. |
From: Robert M. <rm...@po...> - 2006-06-15 17:29:23
|
Chris Wearn wrote: > Hi All, >=20 > Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 >=20 > I get the errors listed further below and although there is no error=20 > message when installing, a previously functioning script which utilises= =20 > NotifyIcon now exhibits the following behaviour=85 >=20 > Custom icon no longer appears =91set=92 on the window entry on the task= bar.=20 > The NotifyIcon does not build and appear in the system tray. It=20 > generates an error on exit, that it cannot =93remove=94 a resource that= is=20 > not there=85 >=20 > Cheers >=20 > Chris Wearn >=20 > t\05_NotifyIcon_01_Constructor.....dubious > Test returned status 11 (wstat 2816, 0xb00) > DIED. FAILED tests 3, 5-10, 13-16 > Failed 11/16 tests, 31.25% okay > t\05_NotifyIcon_02_Change..........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2, 4, 7-16 > Failed 12/16 tests, 25.00% okay > t\05_NotifyIcon_03_OtherMethods....dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2, 4, 6-9 > Failed 6/9 tests, 33.33% okay > t\05_NotifyIcon_04_Remove..........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1, 3-5, 7-9 > Failed 7/9 tests, 22.22% okay > t\05_NotifyIcon_05_DESTROY.........dubious > Test returned status 3 (wstat 768, 0x300) > DIED. FAILED tests 1, 6-7 > Failed 3/13 tests, 76.92% okay [snip] To close this issue, Chris re-built with the latest CVS source, and=20 everything seems fine. I'm not going to pursue what went on any=20 further, unless I see similar reports again. Regards, Rob. |
From: Reini U. <ru...@x-...> - 2006-06-16 05:55:30
|
Robert May schrieb: > Chris Wearn wrote: >> Hi All, >> >> Building latest CVS source with VC++6, WindowsXP Pro SP2, Perl v5.8.7 >> >> I get the errors listed further below and although there is no error >> message when installing, a previously functioning script which utilises >> NotifyIcon now exhibits the following behaviour… >> >> Custom icon no longer appears ‘set’ on the window entry on the task bar. >> The NotifyIcon does not build and appear in the system tray. It >> generates an error on exit, that it cannot “remove” a resource that is >> not there… >> >> Cheers >> >> Chris Wearn >> >> t\05_NotifyIcon_01_Constructor.....dubious >> Test returned status 11 (wstat 2816, 0xb00) >> DIED. FAILED tests 3, 5-10, 13-16 >> Failed 11/16 tests, 31.25% okay >> t\05_NotifyIcon_02_Change..........dubious >> Test returned status 255 (wstat 65280, 0xff00) >> DIED. FAILED tests 2, 4, 7-16 >> Failed 12/16 tests, 25.00% okay >> t\05_NotifyIcon_03_OtherMethods....dubious >> Test returned status 255 (wstat 65280, 0xff00) >> DIED. FAILED tests 2, 4, 6-9 >> Failed 6/9 tests, 33.33% okay >> t\05_NotifyIcon_04_Remove..........dubious >> Test returned status 255 (wstat 65280, 0xff00) >> DIED. FAILED tests 1, 3-5, 7-9 >> Failed 7/9 tests, 22.22% okay >> t\05_NotifyIcon_05_DESTROY.........dubious >> Test returned status 3 (wstat 768, 0x300) >> DIED. FAILED tests 1, 6-7 >> Failed 3/13 tests, 76.92% okay > > [snip] > > To close this issue, Chris re-built with the latest CVS source, and > everything seems fine. I'm not going to pursue what went on any > further, unless I see similar reports again. For me the new code fixed also these issues. msvc and cygwin -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Robert M. <rm...@po...> - 2006-06-18 20:50:37
|
Reini Urban wrote: > Robert May schrieb: [snip NotifyIcon test errors] >> To close this issue, Chris re-built with the latest CVS source, and >> everything seems fine. I'm not going to pursue what went on any >> further, unless I see similar reports again. > > For me the new code fixed also these issues. > msvc and cygwin Thank you for the report. Rob. |