Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LXF182 code samples [Solved]

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Magazine and coverdiscs
View previous topic :: View next topic  
Author Message
timl



Joined: Mon Feb 28, 2011 9:05 pm
Posts: 12

PostPosted: Mon Apr 07, 2014 9:07 am    Post subject: LXF182 code samples [Solved] Reply with quote

Hi, I downloaded the code for 182 and I got a file in .tgz format. Try as I might I can not unpack this file. Any suggestions?

Cheers
Back to top
View user's profile Send private message
dandnsmith
LXF regular


Joined: Fri Apr 15, 2005 11:01 am
Posts: 307
Location: Berks, UK

PostPosted: Mon Apr 07, 2014 12:36 pm    Post subject: Reply with quote

That should be a gzipped tar file.
Modern tar implementations can unpack this in one go (something like tar -gzf ) or you can do it as 2 stages - gunzip it first and then tar the result.

What did you try?
_________________
Derek
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Mon Apr 07, 2014 12:55 pm    Post subject: Reply with quote

That's because the file you get is not a tarball, but an HTML error message. Something is wrong with the server setup.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
timl



Joined: Mon Feb 28, 2011 9:05 pm
Posts: 12

PostPosted: Mon Apr 07, 2014 9:46 pm    Post subject: Reply with quote

Apologies for not posting my attempts although I think nelz may be on the money:

Quote:
[tim@beiderbeck Downloads]$ tar -gzf LXF182.code.tgz
tar: You must specify one of the `-Acdtrux' or `--test-label' options
Try `tar --help' or `tar --usage' for more information.
[tim@beiderbeck Downloads]$ gunzip LXF182.code.tgz

gzip: LXF182.code.tgz: not in gzip format
[tim@beiderbeck Downloads]$ tar -xvf LXF182.code.tgz
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[tim@beiderbeck Downloads]$
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Mon Apr 07, 2014 9:53 pm    Post subject: Reply with quote

Well, your tar syntax is wrong, it should be
Code:
tar xf LXF182.code.tgz
but that won't work for the aforementioned reason.

Code:
file LXF182.code.tgz
tells the real story.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
thorsen



Joined: Fri Mar 30, 2012 8:21 pm
Posts: 2

PostPosted: Mon Apr 21, 2014 12:11 pm    Post subject: Reply with quote

problems go back to 180; 179 is the last valid TGZ I could download.

180 - file consists of HTML string:

<br />
<b>Warning</b>: readfile(/var/www/files/pdfs/LXF180.code.tgz) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: Permission denied in <b>/usr/share/drupal5/includes/download.php</b> on line <b>71</b><br />

181 - seems to download for ever: killed it at ~60MB

182 - like 180
183 - like 180

Really surprised this hasn't been fixed in 4 months. Does anyone responsible for this stuff ever check the forum?

http://is.gd/OY8oaV
Back to top
View user's profile Send private message
ChrisThornett
Site admin


Joined: Thu Jun 06, 2013 9:43 am
Posts: 64
Location: Bath

PostPosted: Tue Apr 22, 2014 12:45 pm    Post subject: Reply with quote

We haven't be able to replicate the problem, but we're checking the Drupal setup now to see if this is the cause. Thanks!
Back to top
View user's profile Send private message Visit poster's website
ChrisThornett
Site admin


Joined: Thu Jun 06, 2013 9:43 am
Posts: 64
Location: Bath

PostPosted: Tue Apr 22, 2014 12:49 pm    Post subject: Reply with quote

Files are going to the right place, but Drupal is spitting out an error when supplying them. Possibly a permissions problem. Again, we're checking.
Back to top
View user's profile Send private message Visit poster's website
ChrisThornett
Site admin


Joined: Thu Jun 06, 2013 9:43 am
Posts: 64
Location: Bath

PostPosted: Tue Apr 22, 2014 12:53 pm    Post subject: Reply with quote

Okay, permission issue it was. You should be able to download the source files without a problem. All credit to Jonni B.
Back to top
View user's profile Send private message Visit poster's website
thorsen



Joined: Fri Mar 30, 2012 8:21 pm
Posts: 2

PostPosted: Thu Apr 24, 2014 7:05 pm    Post subject: Reply with quote

ChrisThornett wrote:
Okay, permission issue it was. You should be able to download the source files without a problem. All credit to Jonni B.


Hey there. Thanks.

I Tried 180 to 185 and only 181 still gives me problems.... unless it really is over 250 MB in size, because that's where I killed the download assuming it had gone wrong. (using Firefox)

(Perhaps you can include the sizes in the download page?)

PS. I just tried a 2nd time and it gave a failed message after a few seconds .....
Back to top
View user's profile Send private message
ChrisThornett
Site admin


Joined: Thu Jun 06, 2013 9:43 am
Posts: 64
Location: Bath

PostPosted: Fri Apr 25, 2014 5:34 pm    Post subject: Reply with quote

Er, would you believe the source code is 306MB for 181... Sorry.
Back to top
View user's profile Send private message Visit poster's website
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Magazine and coverdiscs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast