Last modified: 2011-01-25 01:08:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24937, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22937 - display of my wordpress.com blog on Planet Wikimedia is broken
display of my wordpress.com blog on Planet Wikimedia is broken
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-24 02:19 UTC by Daniel Arnold
Modified: 2011-01-25 01:08 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Arnold 2010-03-24 02:19:46 UTC
My blog is listed on de.planet.wikimedia.org with http://arnomane.wordpress.com/category/wiki-de/feed/

1. The blog title URL does not link to the blog entry on my blog but just is empty.
2. Older blog entries of mine dispear although much older entries of others are still listed.

My blog feed seems to be perfectly okay. At least it can be displayed in my personal feed reader without any troubles. As well the feed URL follows the Meta wiki recommendations for feed URLs of wordpress.com blogs.
Comment 1 Bawolff (Brian Wolff) 2010-03-24 02:36:49 UTC
Just looking at what is different between your feed and the others, maybe planet doesn't handle 301 redirects properly (just a random uninformed guess, probably wrong).

p.s. Anyone else find the "x-nanana: nocache" header that wordpress sends funny?
Comment 2 Tim Landscheidt 2010-06-09 17:16:46 UTC
Ziko's blog seems to show the same symptoms as Arnomane's (at least the empty links). As I already said at <URI:http://meta.wikimedia.org/wiki/Planet_Wikimedia#Problems>, I installed Planet 2.0 locally on my box and downloaded the configuration files from Subversion. Running that, the links were properly preserved.

  So what is the version of Planet running on the server?
Comment 3 JeLuF 2010-06-12 21:41:13 UTC
__version__ = "2.0"
Comment 4 Tim Landscheidt 2010-06-12 22:28:08 UTC
Thanks. Unfortunately, __version__ seems to be set to 2.0 in the 2.0 release as well as in the nightly builds. The difference seems to lie in the PKG-INFO file.

  Wait! :-) Diff'ing the nightly builds to the 2.0 release showed that the *only* change is the VERSION line PKG-INFO and some tweaks in examples/fancy/config.ini, both not very likely to cause any problems.

  ATM, I'm out of guesses what could be wrong. I can't confirm the 301 issues, as both Arnomane's and Ziko's feeds return plain 200s. And my knowledge of Python doesn't extend as far as to assess whether there were recent significant changes in libraries used by Planet.
Comment 5 JeLuF 2010-06-13 06:46:20 UTC
I get the following error message, no matter whether I'm using vanilla 2.0 or the nightly build.

ERROR:planet.runner:Update of <http://arnomane.wordpress.com/tag/wiki-de/feed/> failed
Traceback (most recent call last):
  File "/usr/local/planet/NEW/planet-2.0/planet/__init__.py", line 246, in run
    channel.update()
  File "/usr/local/planet/NEW/planet-2.0/planet/__init__.py", line 654, in update
    self.update_entries(info.entries)
  File "/usr/local/planet/NEW/planet-2.0/planet/__init__.py", line 760, in update_entries
    item.update(entry)
  File "/usr/local/planet/NEW/planet-2.0/planet/__init__.py", line 883, in update
    if item.type == 'text/html':
  File "/usr/local/planet/NEW/planet-2.0/planet/feedparser.py", line 238, in __getattr__
    raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'type'
Comment 6 Tim Landscheidt 2010-06-13 23:28:53 UTC
If I run it at nightshade.toolserver.org (Linux; vanilla 2.0 + svn checkout + s!/usr/local/planet/wikimedia/en/!/home/timl/src/planet-en-data/!g), I get:

| timl@nightshade:~/src/planet-en-data$ ../planet-2.0/planet.py config.ini 
| ERROR:planet:Error 404 while updating feed <http://sopoforic.blogspot.com/feeds/posts/default/-/wikipedia%20for%20republication?orderby=published>
| ERROR:planet:Error 404 while updating feed <http://aartedepilotarumfogao.blogspot.com/feeds/posts/default>
| ERROR:planet:Error 404 while updating feed <http://pathos.ca/blog/?cat=3&feed=rss2>
| ERROR:planet:Error 404 while updating feed <http://feeds.feedburner.com/PostGeographic-Wiki?format=xml>
| ERROR:planet:Error 404 while updating feed <http://luke.faraone.cc/tag/wikipedia/feed/>
| ERROR:planet:Error 500 while updating feed <http://blog.ut7.in/feeds/posts/default/-/wikipedia?alt=rss>
| ERROR:planet:Error 404 while updating feed <http://giggyisms.blogspot.com/feeds/posts/default/-/wiki>
| ERROR:planet:Error 404 while updating feed <http://anonymous101-wiki.blogspot.com/feeds/posts/default>
| ERROR:planet:Error 404 while updating feed <http://davidarussell.co.uk/tag/wikimedia/feed/>
| ERROR:planet:Error 500 while updating feed <http://www.martinp23.com/category/wikimedia/feed>
| ERROR:planet:Error 503 while updating feed <http://beta.blogger.com/feeds/12152702/posts/full/-/wiki>
| ERROR:planet:Error 500 while updating feed <http://freelayers.org/tag/wiki/feed/atom/>
| ERROR:planet:Error 500 while updating feed <http://blog.mets501.com/feed/>
| timl@nightshade:~/src/planet-en-data$ python --version
| Python 2.5.2
| timl@nightshade:~/src/planet-en-data$

If I run the same (after cleaning up cache and output directory) on wolfsbane (Solaris):

| timl@wolfsbane:~/src/planet-en-data$ ../planet-2.0/planet.py config.ini 
| /home/timl/src/planet-2.0/planet/__init__.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead
|   import md5
| Traceback (most recent call last):
|   File "../planet-2.0/planet.py", line 23, in <module>
|     import planet
|   File "/home/timl/src/planet-2.0/planet/__init__.py", line 35, in <module>
|     import dbhash
|   File "/opt/ts/python/2.6/lib/python2.6/dbhash.py", line 8, in <module>
|     import bsddb
|   File "/opt/ts/python/2.6/lib/python2.6/bsddb/__init__.py", line 64, in <module>
|     import _bsddb
| ImportError: No module named _bsddb
| timl@wolfsbane:~/src/planet-en-data$ python --version
| Python 2.6.5
| timl@wolfsbane:~/src/planet-en-data$

My local linux box (Python 2.6) shows the warning about md5, but runs with no problems (except for the 404/500s).

  Both nightshade and my local runs have correct links to <URI:http://zikoblog.wordpress.com/2010/06/07/dont-give-me-a-link-give-me-an-explanation/>.
Comment 7 JeLuF 2010-06-14 21:57:59 UTC
"singer" is using the following versions:

ii  python                                2.5.2-0ubuntu1                        An interactive high-level object-oriented language (default v
ii  python-apt                            0.7.4ubuntu7.5                        Python interface to libapt-pkg
ii  python-central                        0.6.7ubuntu0.1                        register and build utility for Python packages
ii  python-gdbm                           2.5.2-0ubuntu2                        GNU dbm database support for Python
ii  python-gnupginterface                 0.3.2-9ubuntu1                        Python interface to GnuPG (GPG)
ii  python-minimal                        2.5.2-0ubuntu1                        A minimal subset of the Python language (default version)
ii  python-support                        0.7.5ubuntu1                          automated rebuilding support for python modules
ii  python2.5                             2.5.2-2ubuntu6.1                      An interactive high-level object-oriented language (version 2
ii  python2.5-minimal                     2.5.2-2ubuntu6.1                      A minimal subset of the Python language (version 2.5)
Comment 8 JeLuF 2010-06-15 04:51:35 UTC
Judging from the error messages, the tests in comment 6 were made using the English config, while this ticket is about problems with two blogs from the German planet.
Comment 9 Lars Aronsson 2010-06-21 01:21:03 UTC
Only the most recent entry (problem 2 in the original post) from
Wikimediasverige.wordpress.com is shown on the Scandinavian
branch of Wikimedia Planet,
http://gmq.planet.wikimedia.org/index.sv.html

We had another kind of problem on another blog aggregator, which was
solved by adding /feed/atom/ to the URL instead of just /feed/
Maybe that is worth trying?
Comment 10 JeLuF 2010-07-02 18:01:37 UTC
planet apparently doesn't like wordpress.com's /feed/ format. /feed/atom works fine for arnomane, so I'm going to change all other configs to use /feed/atom for wordpress.com blogs.
Comment 11 the wub 2010-08-03 13:02:29 UTC
Same problem is occurring for Sue Gardner's blog (http://suegardner.org/) which despite the domain is also hosted on wordpress.com. Could someone apply JeLuF's fix to that as well?
Comment 12 Platonides 2010-08-04 23:12:40 UTC
> Could someone apply JeLuF's fix to that as well?
Was fixed in r70445.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links