Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The file isn't a tar.gz:

    tony@develop-help:~$ tar tzf /mnt/hdc2/ftp/pub/cpan/authors/id/S/SK/SKUD/MasonX-StaticBuilder-0.01.tar.gz

    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors
    tony@develop-help:~$ file /mnt/hdc2/ftp/pub/cpan/authors/id/S/SK/SKUD/MasonX-StaticBuilder-0.01.tar.gz
    /mnt/hdc2/ftp/pub/cpan/authors/id/S/SK/SKUD/MasonX-StaticBuilder-0.01.tar.gz: HTML document text

    From looking at it, you've got some sort of HTML wrapper around the act

    • by Skud (28) on 2007.03.19 18:14 (#53879) Homepage Journal
      Ha! OK, that explains it. It's convoluted and stupid but I know what happened. I was working on the modules over on my hosted server, and rather than do the file upload to PAUSE as I usually do, I chucked the files in a web-accessible tmp directory and pointed PAUSE at the URL. But around that time, I'd screwed with HTML::Mason on my website to tell it to handle all files except those explicitly excluded. I excluded JPGs and CSS and crap like that, but I probably didn't explicitly exclude tarballs. So PAUSE makes an HTTP request to my webserver, webserver goes "ah, .gz, I'll handle that with Mason," barfs horribly, spits out Mason error messages, and confuses PAUSE no end. I feel like a moron, but at least the mystery is solved.
      --
      Kirrily "Skud" Robert perl@infotrope.net http://infotrope.net/