Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] 2.4.5 > Warning: document '...' has no content

From: Brad Bauer <bbauer(at)not-real.telstate.com>
Date: Thu Jul 24 2008 - 15:16:21 GMT
Let me clarify that:  Changing the line got content to show up, but it still
encoded.



B Bauer

-----Original Message-----
From: users-bounces@lists.swish-e.org
[mailto:users-bounces@lists.swish-e.org] On Behalf Of Brad Bauer
Sent: Thursday, July 24, 2008 11:11 AM
To: 'Swish-e Users Discussion List'
Subject: Re: [swish-e] 2.4.5 > Warning: document '...' has no content

In spider.pl there is a line similar to $content = $response.decoded;  If I
changed this line to $content = $response.content the content showed up
correctly.  There is obviously some sort of conflict between the new
spider.pl and our server.

Since spider.pl is an independent 'prog', it dawned on me that I could run
the old version of spider along with the new version of swish-e.  So that is
the route I ended up taking.  It's not the most glamorous solution, but I
don't have time to debug code I know little about.


B Bauer



-----Original Message-----
From: users-bounces@lists.swish-e.org
[mailto:users-bounces@lists.swish-e.org] On Behalf Of Bill Moseley
Sent: Thursday, July 17, 2008 11:01 AM
To: Swish-e Users Discussion List
Subject: Re: [swish-e] 2.4.5 > Warning: document '...' has no content

On Wed, Jul 16, 2008 at 05:30:12PM -0400, Brad Bauer wrote:
> Hi,
>  
> I have upgraded from 2.2.1 to 2.4.5, but now I get a 'Warning: 
> document
...
> has no content' error when attempting to index run the spider.pl.
>  
> I found a similar issue mentioned once in the archives, but the fixes 
> mentioned didn't have an effect.
>  
>  
>  
> Stuff I have tried:
>  
> # every conceivable variation possible on swish-e and spider.pl.
>  
> # Remarking the "Accept-encoding" in spider.pl. does not help
>  
> $ wget  <http://www.yahoo.com/> http://www.yahoo.com > 
> /home/username/content.html # works
>  
> $ ./spider.pl default  <http://www.yahoo.com> http://www.yahoo.com > 
> /home/username/content.html  # produces the result

What's "<http://www.yahoo.com>"?

I assume that was just in posting and not really in your command.

> Any ideas as to where I should look, or what I might test would be 
> greatly appreciated!

I guess I'd enable some debugging and see if the reveals anything.


--
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Jul 24 11:16:45 2008