Package: wikipediafs
Version: 0.2-1
Severity: normal

i'm wondering if a working config.xml could be provided as part of the
package for a popular mediawiki site such as wikipedia.org.

i have yet to get a working config.xml. i have tried:

<site>
    <dirname>wikipedia</dirname>
    <host>wikipedia.org</host>
    <basename>/w/index.php</basename>
</site>

i've also tried with host en.wikipedia.org, basename /wiki, basename
/wiki/, and all possible combinations of the above. they all act about
the same.

mount.wikipediafs wikipedia

produces no error messages, and adds an entry in /proc/mounts:

/dev/fuse /home/vagrant/wikipedia fuse 
rw,nosuid,nodev,user_id=1000,group_id=1000 0 0

cd wikipedia
cat Food
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/fuse.py", line 40, in __call__
    return apply(self.func, args, kw)
  File "/usr/lib/python2.4/site-packages/wikipediafs/WikipediaFS.py",
line 338, in open
    self.__cacheArticleIfNecessary(path)
  File "/usr/lib/python2.4/site-packages/wikipediafs/WikipediaFS.py",
line 151, in __cacheArticleIfNecessary
    if not self.article_list[current_dir].hasArticle(file_name):
KeyError: 'Food'
cat: Food: Invalid argument

cat wikipedia/Food
cat: wikipedia/Food: No such file or directory

i know that http://en.wikipedia.org/w/index.php/Food exists. as well as
http://en.wikipedia.org/wiki/Food

live well,
  vagrant

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages wikipediafs depends on:
ii  fuse-utils                    2.5.3-4.1  Filesystem in USErspace (utilities
ii  python                        2.4.3-11   An interactive high-level object-o
ii  python-central                0.5.9      register and build utility for Pyt
ii  python-fuse                   2.5-5      Python bindings for FUSE (Filesyst

wikipediafs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to