pkg install hangs

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

pkg install hangs

S Crombie
I am running Octave 5.1.0 in Windows 7 and trying to install the image
acquisition package but this always hangs and never completes.

I have used

          pkg install -verbose image-acquisition-0.2.2.tar.gz

and I can see from the verbose output that the install is getting stuck
after the untar command.

Here is a segment from install.m which is used in the pkg process. I have
added in a couple of printf statements for debugging

        ## Uncompress the package.
        if (verbose)
          printf ("untar (%s, %s)\n", tgz, tmpdir);
        endif
        untar (tgz, tmpdir);
        if (verbose)
          printf ("untar completed");
        endif

        ## Get the name of the directories produced by tar.
        if (verbose)
          printf ("Getting directory list");
        endif
       
        [dirlist, err, msg] = readdir (tmpdir);

When I run the install it prints "untar completed" but never prints "Getting
directory list" although it looks to me as if these are consecutive items.

I would be grateful for any ideas as to why this is not working.

Thanks



Reply | Threaded
Open this post in threaded view
|

Re: pkg install hangs

Andreas Weber-6
Am 07.06.19 um 18:29 schrieb S Crombie:
> I am running Octave 5.1.0 in Windows 7 and trying to install the image
> acquisition package but this always hangs and never completes.

https://wiki.octave.org/Image_acquisition_package

...image-acquisition will not work on Windows as far as there is not
port of v4l2 (standing for Video for Linux 2)...

HTH, Andy


Reply | Threaded
Open this post in threaded view
|

RE: pkg install hangs

S Crombie
Many thanks for pointing that out. I hadn't picked that up in the documentation.

Simon

-----Original Message-----
From: Andreas Weber [mailto:[hidden email]]
Sent: 07 June 2019 19:45
To: S Crombie; [hidden email]
Subject: Re: pkg install hangs

Am 07.06.19 um 18:29 schrieb S Crombie:
> I am running Octave 5.1.0 in Windows 7 and trying to install the image
> acquisition package but this always hangs and never completes.

https://wiki.octave.org/Image_acquisition_package

...image-acquisition will not work on Windows as far as there is not
port of v4l2 (standing for Video for Linux 2)...

HTH, Andy



Reply | Threaded
Open this post in threaded view
|

Re: pkg install hangs

siko1056
In reply to this post by S Crombie
On 6/7/19 6:29 PM, S Crombie wrote:

> I am running Octave 5.1.0 in Windows 7 and trying to install the image
> acquisition package but this always hangs and never completes.
>
> I have used
>
>  pkg install -verbose image-acquisition-0.2.2.tar.gz
>
> and I can see from the verbose output that the install is getting stuck
> after the untar command.
>
> Here is a segment from install.m which is used in the pkg process. I have
> added in a couple of printf statements for debugging
>
>         ## Uncompress the package.
>         if (verbose)
>           printf ("untar (%s, %s)\n", tgz, tmpdir);
>         endif
>         untar (tgz, tmpdir);
>         if (verbose)
>           printf ("untar completed");
>         endif
>
>         ## Get the name of the directories produced by tar.
>         if (verbose)
>           printf ("Getting directory list");
>         endif
>        
>         [dirlist, err, msg] = readdir (tmpdir);
>
> When I run the install it prints "untar completed" but never prints "Getting
> directory list" although it looks to me as if these are consecutive items.
>
> I would be grateful for any ideas as to why this is not working.
>
> Thanks
>
The image acquisition package does not work on MS Windows.  Please see
the previous discussion:

https://lists.gnu.org/archive/html/help-octave/2019-05/msg00201.html

HTH,
Kai