New venus showing only random selection of posts [runtests.py errors]

Mikael Nilsson mikael at nilsson.name
Fri May 21 15:20:31 EST 2010


Shown:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:planet="http://planet.intertwingly.net/">
  <id>http://www.piratnytt.nu/component/content/frontpage</id>
  <link href="http://www.piratnytt.nu/component/content/frontpage" rel="alternate" type="text/html"/>
  <link href="http://www.piratnytt.nu/index.php?format=feed&type=rss" rel="self" type="application/rss+xml"/>
  <subtitle>Piratnytt.nu - En del av Pirate Media Group</subtitle>
  <title>Piratnytt - Nu, Tidigare, F&#xF6;rst med piratnyheter</title>
  <updated planet:format="2010-05-20 21:32:51">2010-05-20T21:32:51Z</updated>
  <planet:format>rss20</planet:format>
  <planet:locale>sv_SE.UTF-8</planet:locale>
  <planet:pirat>True</planet:pirat>
  <planet:sourceid>piratnytt</planet:sourceid>
  <planet:http_last_modified>Thu, 20 May 2010 21:32:38 GMT</planet:http_last_modified>
  <planet:content_hash>499cdce09aee0f8483ba44e0ef2cf100</planet:content_hash>
  <planet:bozo>false</planet:bozo>
  <planet:encoding>utf-8</planet:encoding>
  <planet:items_per_page>48</planet:items_per_page>
  <planet:css-id>piratnytt</planet:css-id>
  <planet:face>piratnytt.png</planet:face>
  <planet:name>Piratnytt</planet:name>
  <planet:feed>/rss20.xml</planet:feed>
  <planet:link>http://www.piratnytt.nu/</planet:link>
  <planet:http_status>200</planet:http_status>
</feed>

Not shown:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:planet="http://planet.intertwingly.net/">
  <updated planet:format="2010-05-20 21:33:29">2010-05-20T21:33:29Z</updated>
  <planet:pirat>True</planet:pirat>
  <planet:bozo>false</planet:bozo>
  <planet:sourceid>ershag</planet:sourceid>
  <planet:css-id>ershags-eskapader</planet:css-id>
  <planet:items_per_page>48</planet:items_per_page>
  <planet:http_last_modified>Wed, 19 May 2010 21:45:08 GMT</planet:http_last_modified>
  <planet:content_hash>17901e96e735fd0d9f2a9c1780048419</planet:content_hash>
  <planet:face>ershag.png</planet:face>
  <planet:name>Ershags eskapader</planet:name>
  <planet:feed>/rss20.xml</planet:feed>
  <planet:http_etag>"beef0bba5b7dbcaa4943647b1a3deb77"</planet:http_etag>
  <planet:http_status>304</planet:http_status>
  <planet:encoding>utf-8</planet:encoding>
  <planet:locale>sv_SE.UTF-8</planet:locale>
</feed>

(both run through xmllint --format)

Spontaneously, the 304 is suspicious:
  <planet:http_status>304</planet:http_status>

it could very well explain why it works the first time and not the second.

Grepping through the sources it does seem *all shown sources* do NOT
have the 304 line, while all not shown have it. Bingo!

/Mikael



tor 2010-05-20 klockan 18:19 -0400 skrev Sam Ruby:
> On 05/20/2010 05:39 PM, Mikael Nilsson wrote:
> > Right, so with your latest commit the "links" error is gone, replaced by
> > *lots* of debug prints like
> >
> > DEBUG:planet.runner:missing self link for http://magnihasa.blogspot.com/feeds/posts/default/-/Piratrelaterat?alt=rss
> > DEBUG:planet.runner:missing html link for http://magnihasa.blogspot.com/feeds/posts/default/-/Piratrelaterat?alt=rss
> > DEBUG:planet.runner:missing self link for http://christianengstrom.wordpress.com/feed/
> > DEBUG:planet.runner:missing html link for http://christianengstrom.wordpress.com/feed/
> > DEBUG:planet.runner:missing self link for http://ershag.se/feed/
> > DEBUG:planet.runner:missing html link for http://ershag.se/feed/
> >
> > which seem to coincide with the sources not being shown.
> >
> > The corresponding feeds do exist on disk, even the individual posts are
> > generated in the cache directory. Something is wrong in the reloading of
> > the posts.
> 
> Inside the cache directory, there is a subdirectory named sources. 
> There should be one file there per subscription.  Can you visually 
> compare one of the ones that is skipped against one that matches a 
> source that is being shown to see if there is any obvious difference? 
> Feel free to post (or send me directly) one of each (these files are 
> typically only a kilo-byte or two).
> 
> Also, in the output is there any output that starts with the word 
> "Skipping:"?
> 
> > /Mikael
> 
> - Sam Ruby
> 




More information about the devel mailing list