Thu 29 Sep 2016 11:01:09 PM UTC, comment #12:
I made the change to filenames without spaces in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/1751d490dc2f). We want to be testing Octave, not accidentally testing the DNS configuration of the host machine.
|
Thu 29 Sep 2016 09:19:40 PM UTC, comment #11:
I agree this is a DNS or proxy issue.
curl of a regular URL does work on my system.
In the mean time this patch helps to run make check to completion.
|
Thu 29 Sep 2016 09:07:45 PM UTC, comment #10:
I just filed bug #49228 about whether non-existent files should be treated as URLs always, or only if they actually look like fully-qualified URLs.
|
Thu 29 Sep 2016 08:33:04 PM UTC, comment #9:
Yeah, I've spun up an old Ubuntu 12.04 with curl 7.22 and I don't get a hang with "curl 'one two.txt'", it doesn't seem to be something that just used to work and was fixed either.
Btw, for local files instead of host names, use
Actually now that I think of it, since it's trying to resolve the name as a host, it might be a problem in your resolver or your local DNS configuration.
Anyway, this is the way that imread is meant to work, if the file doesn't exist on the local filesystem it tries to load it as a URL. If that is taking forever to resolve with your configuration, that's probably a DNS or network-related problem.
|
Thu 29 Sep 2016 08:25:35 PM UTC, comment #8:
I tried on the command line and I get
There must be something odd with your local machine's configuration.
In any case, this doesn't appear to be an Octave problem so I'm going to close the report.
|
Thu 29 Sep 2016 07:32:59 PM UTC, comment #7:
so I upgraded my curl to 7.50.3.
To no avail. Still a hang on curl 'xx 1.jpg', but not on xx1.jpg
|
Thu 29 Sep 2016 07:22:56 PM UTC, comment #6:
will hang in [a,b,c] = urlwrite ('xx 1.jpg', 'urltmp.txt')
the command line version will hang too with a space:
curl 'xx 1.jpg'
curl xx1.jpg returns right away.
So this seems to be a curl issue.
|
Thu 29 Sep 2016 06:48:43 PM UTC, comment #5:
My version of the curl library is certainly newer (7.43.0).
Can you try the following urlwrite code at an Octave prompt and see what happens?
|
Thu 29 Sep 2016 06:03:14 PM UTC, comment #4:
./run-octave -x show it hangs in urlwrite (called in imageIO line 64)
curl version is 7.29.0
|
Thu 29 Sep 2016 05:12:49 PM UTC, comment #3:
Also not able to reproduce here (with GM 1.3.25).
If this is reproducible for you, can you provide a gdb backtrace of what Octave is doing when it looks like it's hanging?
|
Thu 29 Sep 2016 06:15:16 AM UTC, comment #2:
Works from me also with 4.2.0-rc2 on Win-7
Note that the second time takes 5.5 more.
If I switch the names, the time takes 5.5 more.
|
Thu 29 Sep 2016 02:49:28 AM UTC, comment #1:
This works for me.
gcc 5.2.1, GraphicsMagick 1.3.21, Ubuntu 15.10
|
Wed 28 Sep 2016 09:04:20 PM UTC, original submission:
on my system make check hangs on scripts/image/imfinfo test.
This can be reduced to this script
which produces
and hangs (also on 4.0.3) in the imread 'xx 1.jpg'.
gcc 4.9.3, GraphicMagick 1.3.17, RHEL 6.8
|