Judging from the extension .gz the command to use is gzip not tar. For 
compressed tar I'd expect extension .tgz or .tar.gz. Try 'gzip apt.dat' 
instead.


Jari


On 1/19/10 11:51 AM, Andrew Gillanders wrote:
> Hello all,
>
> I am having trouble with an updated apt.dat file. I think it is with
> compressing it. I used the command 'tar cfz apt.dat.gz apt.dat'. Is
> this correct?
>
> When I put the compressed file into FG, but there were problems
> loading. First, it fell over on line 2 (the version number and
> copyright), so I removed that. It then gets through the file, but
> seems to get stuck in an infinite loop, not recognising the end of
> the file. The log looks like this:
>
> Logging priority is bulk
> Setting geometry to 1280x800
>
> Finished command line arguments
> Initializing splash screen
> Reading image "/Applications/Games/FlightGear191/FlightGear.app/
> Contents/Resources/data/Aircraft/SenecaII/splash.rgb"
> Intel GMA 950 OpenGL Engine
> Max texture size = 2048
> Depth buffer bits = 24
> Splash screen progress reading aircraft list
> Splash screen progress reading airport&  navigation data
> Loading Airport Database ...
> #1 './._apt.dat'
> #2 ''
> #3 '1    3799 0 1 E46  02 Ranch'
> Next airport = E46 3799
>
> [snip]
>
> #367972 '1       1 0 0 EHYB [X] Ypenburg The Hague'
> Next airport = EHYB 1
> Adding NV26 pos = -115.069, 36.0791 elev = 1913
> #367973 '10  52.053471  004.341159 22x 222.00  7020 0000.0000
> 0000.0000   148 343243  2 0 2 0.25 0 0300.0300'
> #367974 '10  52.053955  004.339983 xxx 100.00   800 0.0 0.0   110
> 161161  1 0 0 0.25 0 '
> #367975 '10  52.046864  004.329772 xxx 132.00   702 0.0 0.0   176
> 161161  1 0 0 0.25 0 '
> #367976 '10  52.060818  004.350292 xxx 132.00   702 0.0 0.0   180
> 161161  1 0 0 0.25 0 '
> #367977 '10  52.054977  004.338323 xxx  42.00  1000 0.0 0.0   400
> 111111  1 0 0 0.25 0 '
> #367978 '10  52.053928  004.339871 xxx  42.00  6690 0.0 0.0   130
> 111111  1 0 0 0.25 0 '
> #367979 '10  52.054462  004.338961 xxx 222.00  7000 0.0 0.0   125
> 161161  1 0 0 0.25 0 '
> #367980 '10  52.053768  004.339871 xxx 356.00   880 0.0 0.0   110
> 161161  1 0 0 0.25 0 '
> #367981 '99'
> End of file reached
> #367982 ''
> #367983 ''
> #367984 ''
> #367985 ''
>
> and thus it continues indefinitely. The text it is reading from the
> file is correct, so it seems to be some subtle character set encoding
> thing, perhaps?
>
> Thanks
> Andrew
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to