https://bugzilla.wikimedia.org/show_bug.cgi?id=54963
Web browser: ---
Bug ID: 54963
Summary: generate_family_file.py: WARNING: Api does not seem to
be enabled
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: federicoleva(a)tiscali.it
Classification: Unclassified
Mobile Platform: ---
$ python generate_family_file.py http://translatewiki.net/w/api.php twn
Generating family file from https://translatewiki.net/w/api.php
*** WARNING: Api does not seem to be enabled on
https://translatewiki.net/w/api.php
Traceback (most recent call last):
File "generate_family_file.py", line 339, in <module>
FamilyFileGenerator(*sys.argv[1:]).run()
File "generate_family_file.py", line 73, in run
w = Wiki(self.base_url)
File "generate_family_file.py", line 284, in __init__
self._parse_pre_117(data)
File "generate_family_file.py", line 296, in _parse_pre_117
self.server = self.REwgServer.search(data).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
$ python --version
Python 2.7.3
$ python version.py
Pywikibot [https] r/pywikibot/compat (r10331, 445623d, 2013/10/01, 18:00:37,
ok)
Release version: 1.0b1
Python: 2.7.3 (default, Aug 9 2012, 17:23:58)
[GCC 4.7.1 20120720 (Red Hat 4.7.1-5)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
It's the same with Pywikipedia trunk/pywikipedia/ (r11781, 2013/07/20,
11:39:29, ok)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64854
Bug ID: 64854
Summary: Port followlive.py to core
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Keywords: easy
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Blocks: 55880
Web browser: ---
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55113
Web browser: ---
Bug ID: 55113
Summary: category.py add blind with contextual links
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/75/
Reported by: Anonymous user
Created on: 2007-01-28 21:44:27
Subject: category.py add blind with contextual links
Original description:
When using category.py add and giving a page where wikilinks are in this form
\[\[/foo\]\] or \[\[/foo/\]\]
\(http://en.wikibooks.org/w/index.php?title=C%2B%2B\_Programming&action=edit
for exemple\) or included in a template, the robot will parse pages named
litteraly \[\[/foo\]\] instead of \[\[\{\{PAGENAME\}\}/foo\]\]. And if the link
is included in a template, the robot will see anything \(but for the template,
it's often more convenient and not so problematic\).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69015
Bug ID: 69015
Summary: cfd assumes family wikipedia
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
If script cfd is run with family wikidata, it throws NoSuchSite.
Traceback (most recent call last):
File "pwb.py", line 157, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/cfd.py", line 178, in <module>
main()
File "scripts/cfd.py", line 69, in main
for line in page.get().split("\n"):
File ".../pywikibot/__init__.py", line 432, in wrapper
return method(*__args, **__kw)
File ".../pywikibot/__init__.py", line 432, in wrapper
return method(*__args, **__kw)
File ".../pywikibot/page.py", line 315, in get
self._getInternals(sysop)
File ".../pywikibot/page.py", line 339, in _getInternals
self.site.loadrevisions(self, getText=True, sysop=sysop)
File ".../pywikibot/page.py", line 121, in site
return self._link.site
File ".../pywikibot/page.py", line 3750, in site
self.parse()
File ".../pywikibot/page.py", line 3673, in parse
newsite = pywikibot.Site(otherlang, familyName)
File ".../pywikibot/__init__.py", line 483, in Site
_sites[key] = __Site(code=code, fam=fam, user=user, sysop=sysop)
File ".../pywikibot/site.py", line 635, in __init__
BaseSite.__init__(self, code, fam, user, sysop)
File ".../pywikibot/site.py", line 166, in __init__
% (self.__code, self.__family.name))
pywikibot.exceptions.NoSuchSite: Language wikidata does not exist in family
wikipedia
<class 'pywikibot.exceptions.NoSuchSite'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64847
Bug ID: 64847
Summary: Provide CONTENTS
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Blocks: 55880, 64840
Web browser: ---
Mobile Platform: ---
CONTENTS provides an overview of all included bots. This should probably be
merged with the general docs on WM.org.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=65176
John Mark Vandenberg <jayvdb(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |easy
CC| |jayvdb(a)gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67724
Bug ID: 67724
Summary: commands.log missing in core
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Web browser: ---
Mobile Platform: ---
In compat version there is file logs\commands.log which contains history of all
command which were used for running bot. It is udeful when I want to run some
more complicated command again.
Unfortunatelly, there is no such log in core branch.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68797
Bug ID: 68797
Summary: script_wui hardcoded to use User:DrTrigon
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
scripts/script_wui.py fails with horrible backtrace if not configured.
$ python pwb.py scripts/script_wui.py
* Initialization of bot
** Redirecting Lua print in order to catch it
** Pre-loading all relevant page contents
Traceback (most recent call last):
File "pwb.py", line 157, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/script_wui.py", line 292, in <module>
main()
File "scripts/script_wui.py", line 283, in main
bot = ScriptWUIBot(site, chan, site.user() + "_WUI", "irc.wikimedia.org")
File "scripts/script_wui.py", line 137, in __init__
self.refs[item].get(force=True) # load all page contents
File "...pywikibot/__init__.py", line 432, in wrapper
return method(*__args, **__kw)
File "...pywikibot/__init__.py", line 432, in wrapper
return method(*__args, **__kw)
File "...pywikibot/page.py", line 315, in get
self._getInternals(sysop)
File "...pywikibot/page.py", line 339, in _getInternals
self.site.loadrevisions(self, getText=True, sysop=sysop)
File ".../pywikibot/site.py", line 2024, in loadrevisions
raise NoPage(page)
pywikibot.exceptions.NoPage: Page [[en:User:DrTrigon/DrTrigonBot/script
wui-shell.css]] doesn't exist.
<class 'pywikibot.exceptions.NoPage'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68664
Bug ID: 68664
Summary: replicate_wiki doesnt support help or other global
command line options
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
replicate_wiki does not call handleArgs, and uses argparse without offering
something like -help.
--
You are receiving this mail because:
You are the assignee for the bug.