Announcement

Collapse
No announcement yet.

Z-Wave Interface Backup Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by zwolfpack View Post
    Missed this earlier - see below
    Hiding in plain sight
    HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

    Comment


      #17
      Originally posted by zwolfpack View Post
      I have to confess, my web programming skills are firmly rooted in the 1990's. That CLOSE button isn't a normal HTML form element -- its dynamically created by some sort of modern magic.
      That being said, setting the action widget to (blank) seems to yield the same result... so try the attached. Again, it takes one or more form ID's on the command line, or if none provided it looks them up and runs them all in sequence.
      I made a quick check using the script with nothing on the command line - no backups. Then I tried the first of the ids with
      Code:
      perl "C:\Program Files (x86)\HomeSeer HS3\scripts\zwbkup.pl" localhost 27E33F441720
      no good.
      Code:
      Microsoft Windows [Version 10.0.14393]
      (c) 2016 Microsoft Corporation. All rights reserved.
      
      C:\Users\Randy>perl "C:\Program Files (x86)\HomeSeer HS3\scripts\zwbkup.pl"
      GET http://localhost/ZWaveControllers
      200 OK
      Form ID(s): 27E33F441720,489ED7854F04,F1A4B1F6610A
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_27E33F441720 => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_27E33F441720 => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_27E33F441720 => 0
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_489ED7854F04 => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_489ED7854F04 => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_489ED7854F04 => 0
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_F1A4B1F6610A => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_F1A4B1F6610A => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_F1A4B1F6610A => 0
      ]
      200 OK
      
      C:\Users\Randy>perl "C:\Program Files (x86)\HomeSeer HS3\scripts\zwbkup.pl" localhost 27E33F441720
      Form ID(s): 27E33F441720
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_27E33F441720 => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_27E33F441720 => 24
      ]
      200 OK
      GET http://localhost/ZWaveControllers
      200 OK
      POST http://localhost/ZWaveControllers
      [
        OpSelect_27E33F441720 => 0
      ]
      200 OK
      
      C:\Users\Randy>
      I'm heading out for the day. I'll do some more testing later today.
      HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

      Comment


        #18
        Darn. When you get a chance, try running one of the ids twice in a row.

        Comment


          #19
          Originally posted by zwolfpack View Post
          Darn. When you get a chance, try running one of the ids twice in a row.
          It worked on the second pass, but would not work on the third. Each still works if I disable/enable the Z-Wave plug-in between passes.

          This is an ugly set of events, but works for now. With each event I disable the Z-Wave plug-in, wait 15 seconds and enable it using Jon00's script. Then I wait 1:30, because it takes about a minute for the controllers to initialize. Then a master event runs the backup for the primary. 3 minutes later I do the same for the Garage interface and another 3 minutes later, the Shed. Tested and working.

          Click image for larger version

Name:	Capture.jpg
Views:	1
Size:	90.7 KB
ID:	1188751

          I can always revise the events if we get the script to work with multiple interfaces, but for now, this has me on a backup routine.
          HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

          Comment


            #20
            Good deal!

            Comment


              #21
              OOPS - Not so fast...

              I'm sorry to report that this script isn't working after all. It only produces the backup when there is also a browser opened to the ZWave Controller Management page (/ZWaveControllers). More investigation to come...

              Edit: turns out it works, but only the 1st time after the plugin is started. Just like Randy found in the multiple interface case...
              Last edited by zwolfpack; February 1, 2017, 12:56 AM.

              Comment


                #22
                Bit of a breakthru - seems that the page counts on the browser requesting the 1/second time update as the secret sauce to keep the wheels running smoothly... Randy if you get a chance please try the 'r2' update in post #1.

                Comment


                  #23
                  Trying this. Had to get Perl configured. . .taking a long time. . .will try to continue tomorrow.

                  Comment


                    #24
                    Originally posted by zwolfpack View Post
                    Bit of a breakthru - seems that the page counts on the browser requesting the 1/second time update as the secret sauce to keep the wheels running smoothly... Randy if you get a chance please try the 'r2' update in post #1.
                    I missed this post when you first made it. My kludge of events has run every Friday without fail.

                    Trying r2, here it is run from a command line:
                    Code:
                    Microsoft Windows [Version 10.0.14393]
                    (c) 2016 Microsoft Corporation. All rights reserved.
                    
                    C:\Users\Randy>perl "C:\Program Files (x86)\HomeSeer HS3\scripts\zwbkup.pl"
                    GET http://localhost/ZWaveControllers
                    200 OK
                    Form ID(s): 27E33F441720,489ED7854F04,F1A4B1F6610A
                    GET http://localhost/ZWaveControllers
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      OpSelect_27E33F441720 => 24
                    ]
                    200 OK
                    GET http://localhost/ZWaveControllers
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      OpSelect_27E33F441720 => 24
                    ]
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      action => updatetime
                    ]
                    200 OK
                    GET http://localhost/ZWaveControllers
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      OpSelect_489ED7854F04 => 24
                    ]
                    200 OK
                    GET http://localhost/ZWaveControllers
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      OpSelect_489ED7854F04 => 24
                      File_489ED7854F04 => ZNet_Garage_D19C4C54_2017-02-26_09.26.51.ZWave
                      id => GO_489ED7854F04-24_ID598385
                      name => GO_489ED7854F04-24
                      type => submit
                    ]
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      action => updatetime
                    ]
                    200 OK
                    GET http://localhost/ZWaveControllers
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      OpSelect_F1A4B1F6610A => 24
                    ]
                    200 OK
                    GET http://localhost/ZWaveControllers
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      OpSelect_F1A4B1F6610A => 24
                    ]
                    200 OK
                    POST http://localhost/ZWaveControllers
                    [
                      action => updatetime
                    ]
                    200 OK
                    
                    C:\Users\Randy
                    This was the Third pass. The first pass it backed up 2 of the 3 (Primary, Shed), the second pass backed up the Primary and this third backed up the Garage controller.

                    Then I disabled the portions of my events that disable and enable the Z-Wave plug-in and I got one backup of the Garage, the second try I got backups of the Primary and the Shed, skipping the Garage.

                    It still runs fine with my kludge events disabling/enabling the Z-Wave plug-in before each backup.

                    Let me know if I can do anything else.
                    HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                    Comment


                      #25
                      Ok. So I tried it. Unfortunately, it looks like something in my perl setup isn't as expected.

                      Code:
                      root@HomeTrollerZeeS2:/usr/local/HomeSeer/scripts# /usr/bin/perl HS3_ZWave_Backup.pl 
                      Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at HS3_ZWave_Backup.pl line 12.
                      BEGIN failed--compilation aborted at HS3_ZWave_Backup.pl line 12.
                      Is this pointing to anything obvious?

                      Comment


                        #26
                        Hi Randy, thanks for the feedback. Seems like I'm still missing something in the multi-interface case...

                        First off, when testing, please ensure that you don't have a browser page opened on the ZWaveControllers page. I found that that the once/second time update it provides is necessary (hence the addition of post action => updatetime), so don't want to give the script any artificial help.

                        Looking at you results, it seems that it was successful every other time for the most part. (Not exactly, but possibly something intervened between the runs).

                        Can you try manually running it for a single controller several times in a row? By that I mean specify the formid after the hostname on the command line, as you have done in your kludge.

                        Next, please run each of the three controllers individually, but wait several seconds between each run. That way we can see if its a timing issue or something else.

                        Thanks!

                        Comment


                          #27
                          Originally posted by TechFan View Post
                          Ok. So I tried it. Unfortunately, it looks like something in my perl setup isn't as expected.

                          Code:
                          root@HomeTrollerZeeS2:/usr/local/HomeSeer/scripts# /usr/bin/perl HS3_ZWave_Backup.pl 
                          Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at HS3_ZWave_Backup.pl line 12.
                          BEGIN failed--compilation aborted at HS3_ZWave_Backup.pl line 12.
                          Is this pointing to anything obvious?
                          Yes, see the original post on setting up for Linux -- the LWP library isn't installed by default.
                          Were you able to do the "sudo cpan" followed by "install Bundle::LWP"? If so, please run that again and if it still doesn't work post a transcript of the install attempt.

                          Comment


                            #28
                            Originally posted by zwolfpack View Post
                            Yes, see the original post on setting up for Linux -- the LWP library isn't installed by default.
                            Were you able to do the "sudo cpan" followed by "install Bundle::LWP"? If so, please run that again and if it still doesn't work post a transcript of the install attempt.
                            Yes. I did that last night. . .and it ran and ran and ran. . .finally went to bed. . .today it was at the span prompt again, so I exited and tried to run the script.

                            Comment


                              #29
                              Originally posted by TechFan View Post
                              Yes. I did that last night. . .and it ran and ran and ran. . .finally went to bed. . .today it was at the span prompt again, so I exited and tried to run the script.
                              I obviously didn't read above the cpan prompt :

                              Code:
                              # Looks like your test died just after 1.
                              t/cz-08encoding.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
                              Failed 29/29 subtests 
                              t/cz-14gzopen.t ................. 1/264 
                              #     Failed test (t/cz-14gzopen.t at line 25)
                              #     Tried to use 'Compress::Zlib'.
                              #     Error:  Compress::Raw::Zlib version 2.074 required--this is only version 2.033 at /root/.cpan/build/IO-Compress-2.074-SLrJQO/blib/lib/Compress/Zlib.pm line 11.
                              # BEGIN failed--compilation aborted at t/cz-14gzopen.t line 25.
                              # Compilation failed in require at (eval 31) line 2.
                              # BEGIN failed--compilation aborted at (eval 31) line 2.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 57.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 61.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 64.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 67.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 74.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 104.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 107.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 110.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 114.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 122.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 122.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 128.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 129.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 507.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 508.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 526.
                              Global symbol "$gzerrno" requires explicit package name at t/cz-14gzopen.t line 529.
                              Bareword "Compress::Zlib::zlib_version" not allowed while "strict subs" in use at t/cz-14gzopen.t line 34.
                              Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at t/cz-14gzopen.t line 34.
                              Bareword "Z_FINISH" not allowed while "strict subs" in use at t/cz-14gzopen.t line 108.
                              Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/cz-14gzopen.t line 121.
                              Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/cz-14gzopen.t line 122.
                              Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/cz-14gzopen.t line 469.
                              Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/cz-14gzopen.t line 484.
                              Bareword "Z_SYNC_FLUSH" not allowed while "strict subs" in use at t/cz-14gzopen.t line 663.
                              Bareword "Z_OK" not allowed while "strict subs" in use at t/cz-14gzopen.t line 663.
                              Bareword "Z_SYNC_FLUSH" not allowed while "strict subs" in use at t/cz-14gzopen.t line 664.
                              Bareword "Z_OK" not allowed while "strict subs" in use at t/cz-14gzopen.t line 664.
                              Bareword "Z_SYNC_FLUSH" not allowed while "strict subs" in use at t/cz-14gzopen.t line 679.
                              Bareword "Z_OK" not allowed while "strict subs" in use at t/cz-14gzopen.t line 679.
                              Bareword "Z_SYNC_FLUSH" not allowed while "strict subs" in use at t/cz-14gzopen.t line 680.
                              Bareword "Z_OK" not allowed while "strict subs" in use at t/cz-14gzopen.t line 680.
                              Execution of t/cz-14gzopen.t aborted due to compilation errors.
                              # Looks like you planned 264 tests but only ran 2.
                              # Looks like your test died just after 2.
                              t/cz-14gzopen.t ................. Dubious, test returned 255 (wstat 65280, 0xff00)
                              Failed 263/264 subtests 
                              t/globmapper.t .................. ok     
                              
                              Test Summary Report
                              -------------------
                              t/000prereq.t                 (Wstat: 4864 Tests: 31 Failed: 19)
                                Failed tests:  1-5, 9-10, 12-13, 15, 18-21, 24-28
                                Non-zero exit status: 19
                              t/001bzip2.t                  (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 841 tests but ran 0.
                              t/001zlib-generic-deflate.t   (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/001zlib-generic-gzip.t      (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/001zlib-generic-rawdeflate.t (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/001zlib-generic-zip.t       (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/002any-deflate.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/002any-gzip.t               (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/002any-rawdeflate.t         (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/002any-transparent.t        (Wstat: 65280 Tests: 2 Failed: 1)
                                Failed test:  1
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 15 tests but ran 2.
                              t/002any-zip.t                (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/004gziphdr.t                (Wstat: 65280 Tests: 4 Failed: 2)
                                Failed tests:  3-4
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 918 tests but ran 4.
                              t/005defhdr.t                 (Wstat: 65280 Tests: 5 Failed: 2)
                                Failed tests:  2-3
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 595 tests but ran 5.
                              t/006zip.t                    (Wstat: 65280 Tests: 2 Failed: 2)
                                Failed tests:  1-2
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 101 tests but ran 2.
                              t/010examples-bzip2.t         (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/010examples-zlib.t          (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/050interop-gzip.t           (Wstat: 65280 Tests: 2 Failed: 2)
                                Failed tests:  1-2
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 7 tests but ran 2.
                              t/100generic-bzip2.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/100generic-deflate.t        (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/100generic-gzip.t           (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/100generic-rawdeflate.t     (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/100generic-zip.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/102tied-bzip2.t             (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/102tied-deflate.t           (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/102tied-gzip.t              (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/102tied-rawdeflate.t        (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/102tied-zip.t               (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/103newtied-bzip2.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/103newtied-deflate.t        (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/103newtied-gzip.t           (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/103newtied-rawdeflate.t     (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/103newtied-zip.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/104destroy-bzip2.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/104destroy-deflate.t        (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/104destroy-gzip.t           (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/104destroy-rawdeflate.t     (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/104destroy-zip.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/105oneshot-bzip2.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/105oneshot-deflate.t        (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/105oneshot-gzip-only.t      (Wstat: 65280 Tests: 2 Failed: 2)
                                Failed tests:  1-2
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 70 tests but ran 2.
                              t/105oneshot-gzip.t           (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/105oneshot-rawdeflate.t     (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/105oneshot-zip-only.t       (Wstat: 65280 Tests: 2 Failed: 2)
                                Failed tests:  1-2
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 216 tests but ran 2.
                              t/105oneshot-zip.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/106prime-bzip2.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/106prime-deflate.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/106prime-gzip.t             (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/106prime-rawdeflate.t       (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/106prime-zip.t              (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/107multi-bzip2.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/107multi-deflate.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/107multi-gzip.t             (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/107multi-rawdeflate.t       (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/107multi-zip.t              (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/108anyunc-bzip2.t           (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/108anyunc-deflate.t         (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/108anyunc-gzip.t            (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/108anyunc-rawdeflate.t      (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/108anyunc-zip.t             (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/109merge-deflate.t          (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/109merge-gzip.t             (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/109merge-rawdeflate.t       (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/110encode-bzip2.t           (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/110encode-deflate.t         (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/110encode-gzip.t            (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/110encode-rawdeflate.t      (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/110encode-zip.t             (Wstat: 512 Tests: 0 Failed: 0)
                                Non-zero exit status: 2
                                Parse errors: No plan found in TAP output
                              t/111const-deflate.t          (Wstat: 65024 Tests: 5 Failed: 5)
                                Failed tests:  1-5
                                Non-zero exit status: 254
                                Parse errors: Bad plan.  You planned 355 tests but ran 5.
                              t/cz-01version.t              (Wstat: 65280 Tests: 1 Failed: 1)
                                Failed test:  1
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 2 tests but ran 1.
                              t/cz-03zlib-v1.t              (Wstat: 65280 Tests: 3 Failed: 2)
                                Failed tests:  1, 3
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 471 tests but ran 3.
                              t/cz-05examples.t             (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/cz-06gzsetp.t               (Wstat: 65280 Tests: 0 Failed: 0)
                                Non-zero exit status: 255
                                Parse errors: No plan found in TAP output
                              t/cz-08encoding.t             (Wstat: 65280 Tests: 1 Failed: 1)
                                Failed test:  1
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 29 tests but ran 1.
                              t/cz-14gzopen.t               (Wstat: 65280 Tests: 2 Failed: 1)
                                Failed test:  1
                                Non-zero exit status: 255
                                Parse errors: Bad plan.  You planned 264 tests but ran 2.
                              Files=87, Tests=308, 52 wallclock secs ( 1.81 usr  0.44 sys + 33.63 cusr  2.87 csys = 38.75 CPU)
                              Result: FAIL
                              Failed 74/87 test programs. 42/308 subtests failed.
                              Makefile:909: recipe for target 'test_dynamic' failed
                              make: *** [test_dynamic] Error 255
                                PMQS/IO-Compress-2.074.tar.gz
                                /usr/bin/make test -- NOT OK
                              //hint// to see the cpan-testers results for installing this module, try:
                                reports PMQS/IO-Compress-2.074.tar.gz
                              Running make install
                                make test had returned bad status, won't install without force
                              utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
                              utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
                              utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
                              utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
                              utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
                              Failed during this command:
                               RJBS/PathTools-3.62.tar.gz                   : make NO
                               MSHELOR/Digest-SHA-5.96.tar.gz               : make NO
                               PHRED/Archive-Zip-1.59.tar.gz                : make_test NO
                               SHAY/libnet-3.10.tar.gz                      : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 65280
                               BINGOS/ExtUtils-MakeMaker-7.24.tar.gz        : make NO cannot resolve circular dependency
                               SMUELLER/Data-Dumper-2.161.tar.gz            : make NO cannot resolve circular dependency
                               JSTOWE/TermReadKey-2.37.tar.gz               : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 65280
                               LEONT/Module-Build-0.4220.tar.gz             : make_test NO
                               PMQS/Compress-Raw-Zlib-2.074.tar.gz          : make NO
                               PMQS/Compress-Raw-Bzip2-2.074.tar.gz         : make NO
                               PMQS/IO-Compress-2.074.tar.gz                : make_test NO

                              Comment


                                #30
                                Originally posted by TechFan View Post
                                Yes. I did that last night. . .and it ran and ran and ran. . .finally went to bed. . .today it was at the span prompt again, so I exited and tried to run the script.
                                Yeah it does go on a bit -- if you still have that window opened, post the run, otherwise try it again and post that.
                                Since the run could be longer than the length of your terminal buffer, before you start, enter this command:
                                script cpan_run.log
                                Then do the sudo cpan and install Bundle::LWP. Then exit cpan and once back at the bash command line, type exit again. that will terminate the script command and you can post the contents of the cpan_run.log file.

                                Comment

                                Working...
                                X