[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: invalid character `' (ASCII 0) near line 164, column 2
From: |
Ben Abbott |
Subject: |
Re: error: invalid character `' (ASCII 0) near line 164, column 2 |
Date: |
Sat, 26 Dec 2009 12:37:29 -0500 |
On Dec 25, 2009, at 4:24 PM, Ben Abbott wrote:
> Is anyone else seeing this?
>
> ../../run-octave -f -q -H -p . --eval "geometryimages ('voronoi', 'txt');"
> warning: invalid character `' (ASCII 0) near line 92, column 2
> error: invalid character `' (ASCII 0) near line 164, column 2
> parse error near line 164 of file
> /Users/bpabbott/Development/mercurial/local_clone/scripts/set/unique.m
>
> syntax error
>
> error: called from:
> error:
> /Users/bpabbott/Development/mercurial/local_clone/scripts/optimization/__all_opts__.m
> at line 56, column 11
> error:
> /Users/bpabbott/Development/mercurial/local_clone/scripts/optimization/PKG_ADD
> at line 1, column 0
>
> make[3]: *** [voronoi.txt] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Ben
Line 92 is empty, and there are only 163 lines in the file unique.m, so 164
does not exist. My octave does run, so I took a look at the characters in
unique.m.
octave:3> fid = fopen('unique.m')
fid = 4
octave:4> str = fread (fid, "char=>char").';
octave:5> fclose(fid)
ans = 0
octave:6> unique(double(str))
ans =
Columns 1 through 16:
10 32 33 34 35 37 38 39 40 41 42 43 44
45 46 47
Columns 17 through 32:
48 49 50 51 52 53 54 55 56 57 58 59 60
61 62 64
Columns 33 through 48:
65 66 67 69 70 71 72 73 74 75 76 77 78
79 80 82
Columns 49 through 64:
83 84 85 87 89 91 92 93 95 97 98 99 100
101 102 103
Columns 65 through 80:
104 105 106 107 108 109 110 111 112 113 114 115 116
117 118 119
Columns 81 through 85:
120 121 122 123 125
octave:7> disp(char(unique(double(str))))
!"#%&'()*+,-./0123456789:;<=>@ABCEFGHIJKLMNOPRSTUWY[\]_abcdefghijklmnopqrstuvwxyz{}
I don't see anything usual.
Ben
- error: invalid character `' (ASCII 0) near line 164, column 2, Ben Abbott, 2009/12/25
- Re: error: invalid character `' (ASCII 0) near line 164, column 2,
Ben Abbott <=
- Re: error: invalid character `' (ASCII 0) near line 164, column 2, Ben Abbott, 2009/12/26
- Re: error: invalid character `' (ASCII 0) near line 164, column 2, John W. Eaton, 2009/12/27
- Re: error: invalid character `' (ASCII 0) near line 164, column 2, Ben Abbott, 2009/12/27
- Re: error: invalid character `' (ASCII 0) near line 164, column 2, Ben Abbott, 2009/12/31
- Re: error: invalid character `' (ASCII 0) near line 164, column 2 (problem avoided), Ben Abbott, 2009/12/31
- Re: error: invalid character `' (ASCII 0) near line 164, column 2 (problem avoided), Michael D Godfrey, 2009/12/31
- Re: error: invalid character `' (ASCII 0) near line 164, column 2 (problem avoided), Joel LeBlanc, 2009/12/31