With the introduction of the "new" SourceForge site, it appears I no
longer have the necessary permissions to create or edit "tickets" (or,
in the old system, tracker items). Presumably this may affect others
working on this project, too, at least until we convert to some other
bug tracking system. Can one of the admins please update the
permissions? Thanks.
--
Russell Blau
russblau(a)imapmail.org
Hi,
Is there some reason why the Page class does not have a getSize
function, except the fact that it's trivial to obtain it from .get() ?
Thanks,
Strainu
Hello all,
After a few days of writing tests and (today) porting the unicode support
code, pywikipedia rewrite now fully supports unicode in- and output on
windows:
C:\Python27\svn\bin\rewrite>python -i pwb.py
>>> import pywikibot
>>> pywikibot.output(u'\u0414\u043e\u0431\u0440\u043e')
Добро
>>>
pywikibot.input(u'\u062d\u0631\u0648\u0641_\u064a\u0648\u0646\u0627\u0646\u064a\u0629')
حروف_يونانية αβγδ
u'\u03b1\u03b2\u03b3\u03b4'
>>>
Please update to SVN revision 11646 or download the latest nightly to enjoy
[1]!
Best,
Merlijn
[1]
http://pywikipedia.org/nightly/package/pywikipedia-rewrite/pywikipedia-rewr…
Hello,
An idea came into my mind and I think you should know this. Buzilla is
WMF bug trakcer and I think we should migrate from sourceforge to
Bugzilla because of these reasons:
1-In the sourceforge, people can report bugs via OpenID. So you don't
need to register and every week we receive spam/non-sense reports [1]
that won't happen If we use bugzilla
2-This become a centralized bug tracker. Some of PWB devs are also
mediawiki devs so they have to work on bugzilla and sourceforge
separately to track bugs but this way all of related bugs for them
will show in a page
3-People don't know sourceforge but they know bugzilla
[1] https://sourceforge.net/tracker/?limit=25&func=&group_id=93107&atid=603138&…
Best
--
Amir
Hello,
I have two bugs I don't understand. I run the FischBot on Wikidata over
Wikimedia Labs, two days ago it crashed. Now I wanted to restart it but
I get strange errors by pywikibot. I think something was changed there,
but I don't know what. Before the programm run fine.
Started bot on bots-bnr1 at Thu Jun 6 15:14:44 UTC 2013
Exception in thread extractThread1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in
__bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/data/project/userdata/FischBot/wikidata/mainclass.py",
line 64, in extractThread
itemcont = ClaimContainer(page, self)
File
"/data/project/userdata/FischBot/wikidata/containerclass.py", line
47, in __init__
if not self.checkNoItem():
File "/data/project/userdata/FischBot/wikidata/output.py", line
224, in checkNoItem
elif not self.exists():
File "/data/project/pywikipedia/rewrite/pywikibot/page.py", line
2269, in exists
self.get()
File "/data/project/pywikipedia/rewrite/pywikibot/page.py", line
2450, in get
WikibasePage.get(self, force=force, *args)
File "/data/project/pywikipedia/rewrite/pywikibot/page.py", line
2282, in get
data = self.repo.loadcontent(self.__defined_by(), *args)
File "/data/project/pywikipedia/rewrite/pywikibot/site.py", line
229, in __getattr__
% (self.__class__.__name__, attr) )
AttributeError: APISite instance has no attribute 'loadcontent'
This error I get if I want to use the interactive shell. Any ideas?
pyfisch@bots-login:~$ PYTHONPATH=/data/project/pywikipedia/rewrite/ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywikibot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/project/pywikipedia/rewrite/pywikibot/__init__.py",
line 190, in <module>
from page import Page, ImagePage, Category, Link, User,
ItemPage, PropertyPage, Claim
File "/data/project/pywikipedia/rewrite/pywikibot/page.py", line
16, in <module>
import pywikibot.site
File "/data/project/pywikipedia/rewrite/pywikibot/site.py", line
33, in <module>
from pywikibot.data import api
File "/data/project/pywikipedia/rewrite/pywikibot/data/api.py",
line 13, in <module>
from pywikibot.comms import http
File "/data/project/pywikipedia/rewrite/pywikibot/comms/http.py",
line 34, in <module>
import threadedhttp
File
"/data/project/pywikipedia/rewrite/pywikibot/comms/threadedhttp.py",
line 45, in <module>
pkg_resources.require("httplib2")
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line
686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line
584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: httplib2
>>>
Sincerly
Pyfisch
Hello,
I hate it when people announce that they have joined a list, but now I will
do what I hate. I'm Ling.Nut. I hope I can help out some day, but probably
not soon. I was a programmer in a previous career incarnation. I use Python
probably almost every day for my personal research etc., but my skills are
still weak/mediocre. I will be lurking.
Later,
Ling
PyWikipedians,
Does anyone know where I can download this Wikipedia dump?
enwiki-20120104-pages-articles.xml.bz2
The dump is too old to be available from the standard download site:
http://dumps.wikimedia.org/enwiki/20120104/
Is there a more appropriate list to ask this question?
Thanks for any pointers!
John
Hi!
Is there a bot that can help me to import CSV file and turn it into
templated pages?
For example: I have csv with Universities:
University Name,Alias,Number of students
massachusetts institute of technology,MIT,2100430
oxford university,oxford,492304
...
I want to create pages for each of the university with the text:
{{University
|alias=oxford
|number of students=492304934
}}
-----
Yury Katkov, WikiVote