imread does not work on octave-3.0.2 on cygwin

View: New views
6 Messages — Rating Filter:   Alert me  

imread does not work on octave-3.0.2 on cygwin

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

A inquiry for imread in image package has been carried out one of the thread of octave in Japan

***********
im=imread('im1.bmp');

convert: unable to open image `/cygwin/tmp/oct-22d688.0.ppm': No such file
or directory.
error: imread: error running ImageMagick's 'convert'
error: evaluating if command near line 113, column 5
error: called from `imread' in file
`/home/tosiyuki/octave/image-1.0.8/imread.m'
error: evaluating assignment expression near line 1, column 5
********


I also have tried it
************
octave:12> pkg list
Package Name       | Version | Installation directory
-------------------+---------+-----------------------
            image *|   1.0.8 | /usr/share/octave/packages/image-1.0.8

octave:13> im=imread('test.bmp');
convert: unable to open image `/programs/cygwin/tmp/oct-22d944.3.ppm': No such file or directory.
error: imread: error running ImageMagick's 'convert'
error: evaluating if command near line 113, column 5
error: called from `imread' in file `/usr/share/octave/pack
*************


The same error happens.

Any suggestions?

Regards

Tatsuro

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread does not work on octave-3.0.2 on cygwin

by Marco atzeri-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Tatsuro MATSUOKA  ha scritto:

> Hello
>
> A inquiry for imread in image package has been
> carried out one of the thread of octave in Japan
>
> ***********
> im=imread('im1.bmp');
>
> convert: unable to open image
> `/cygwin/tmp/oct-22d688.0.ppm': No such file
> or directory.

Hi Tatsuro,

it is not a fault of image.

I don't know for wich reason on cygwin
the TMPDIR enviroment is set to
C:/CYGWIN/TMP  instead of /TMP

see src/sysdep.cc call to
cygwin32_conv_to_full_win32_path

Probably is for old compatibility with non cygwin
programs, but it confuse cygwin programs like
convert of ImageMagick.

As workound is possible to

  setenv ("TMPDIR","/tmp")
before
  im=imread('im1.bmp');


I will try to remove the issue on the next
octave cygwin release.

Regards  
Marco



      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread does not work on octave-3.0.2 on cygwin

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marco

Thanks!!

Regards

Tatsuro


--- Marco Atzeri <marco_atzeri@...> wrote:

> --- Tatsuro MATSUOKA  ha scritto:
>
> > Hello
> >
> > A inquiry for imread in image package has been
> > carried out one of the thread of octave in Japan
> >
> > ***********
> > im=imread('im1.bmp');
> >
> > convert: unable to open image
> > `/cygwin/tmp/oct-22d688.0.ppm': No such file
> > or directory.
>
> Hi Tatsuro,
>
> it is not a fault of image.
>
> I don't know for wich reason on cygwin
> the TMPDIR enviroment is set to
> C:/CYGWIN/TMP  instead of /TMP
>
> see src/sysdep.cc call to
> cygwin32_conv_to_full_win32_path
>
> Probably is for old compatibility with non cygwin
> programs, but it confuse cygwin programs like
> convert of ImageMagick.
>
> As workound is possible to
>
>   setenv ("TMPDIR","/tmp")
> before
>   im=imread('im1.bmp');
>
>
> I will try to remove the issue on the next
> octave cygwin release.
>
> Regards  
> Marco
>
>
>
>       Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta
> dello sport:
> http://www.flickr.com/groups/iofotografoevideo
>


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread does not work on octave-3.0.2 on cygwin

by Marco atzeri-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


--- Tatsuro MATSUOKA  ha scritto:

> Hello Marco
>
> Thanks!!
>
> Regards
>
> Tatsuro
>

I built a preliminary version of 3.0.3
without that issue.
 
http://matzeri.altervista.org/cygwin-gcc4/octave/

Could you give a test ?

Regards
Marco


>
> --- Marco Atzeri  wrote:
>
> > --- Tatsuro MATSUOKA  ha scritto:
> >
> > > Hello
> > >
> > > A inquiry for imread in image package has been
> > > carried out one of the thread of octave in Japan
> > >
> > > ***********
> > > im=imread('im1.bmp');
> > >
> > > convert: unable to open image
> > > `/cygwin/tmp/oct-22d688.0.ppm': No such file
> > > or directory.
> >
> > Hi Tatsuro,
> >
> > it is not a fault of image.
> >
> > I don't know for wich reason on cygwin
> > the TMPDIR enviroment is set to
> > C:/CYGWIN/TMP  instead of /TMP
> >
> > see src/sysdep.cc call to
> > cygwin32_conv_to_full_win32_path
> >
> > Probably is for old compatibility with non cygwin
> > programs, but it confuse cygwin programs like
> > convert of ImageMagick.
> >
> > As workound is possible to
> >
> >   setenv ("TMPDIR","/tmp")
> > before
> >   im=imread('im1.bmp');
> >
> >
> > I will try to remove the issue on the next
> > octave cygwin release.
> >
> > Regards  
> > Marco
> >
> >
>



      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread does not work on octave-3.0.2 on cygwin

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Marco

--- Marco Atzeri <marco_atzeri@...> wrote:
> I built a preliminary version of 3.0.3
> without that issue.
>  
> http://matzeri.altervista.org/cygwin-gcc4/octave/
>
> Could you give a test ?


My network environment at home is poor. I will try to it at University on Monday.

Thank you for your effots for octave-3.0.3 on cygwin.


Regards

Tatsuro

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: imread does not work on octave-3.0.2 on cygwin

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

--- Marco Atzeri  wrote:
> I built a preliminary version of 3.0.3
> without that issue.
>
> http://matzeri.altervista.org/cygwin-gcc4/octave/
>
> Could you give a test ?
>
> Regards
> Marco

MMMMMMM

I have installed 3.0.3 binaries.

$ ls -l /bin/octave.exe
lrwxrwxrwx 1 Tatsu none 16 Nov 18 18:45 /bin/octave.exe -> octave-3.0.3.exe


Tatsu@Shiro ~
$ /bin/octave    

Tatsu@Shiro ~
$

octave was not be executed.

I have tried ./rebaseall but the problem did not be solved.

Regards

Tatsuro

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev