Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: pywikibot-redirect.py.
TASK DESCRIPTION
Processing a single page InterwikiRedirectPage exception should be skipped instead raising the exception:
c:\Pywikipedia\ssh\pywikibot\core>pwb.py redirect do -page:user:xqt/Labor -simul
ate
>>> Benutzer:Xqt/Labor <<<
10
pdc:user:Labor
{u'Benutzer:Xqt/Labor': {'section': '', 'title': u'pdc:user:Labor'}}
Traceback (most recent call last):
File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 222, in <module>
run_python_file(filename, argv, argvu, file_package)
File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 81, in run_python_file
main_mod.__dict__)
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\redirect.py", line 813, in <module>
main()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\redirect.py", line 810, in main
bot.run()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\redirect.py", line 709, in run
self.fix_double_redirects()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\redirect.py", line 523, in fix_double_redirects
self.fix_1_double_redirect(redir_name)
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\redirect.py", line 537, in fix_1_double_redirect
targetPage = newRedir.getRedirectTarget()
File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\page.py", line 1363, in getRedirectTarget
return self.site.getredirtarget(self)
File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\site.py", line 2517, in getredirtarget
raise InterwikiRedirectPage(page, target)
pywikibot.exceptions.InterwikiRedirectPage: Page redirects to a page on another Site.
Page: [[de:Benutzer:Xqt/Labor]]
Target page: [[pdc:Yuuser:Labor]] on wikipedia:pdc.
<class 'pywikibot.exceptions.InterwikiRedirectPage'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
c:\Pywikipedia\ssh\pywikibot\core>
TASK DETAIL
https://phabricator.wikimedia.org/T85693
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikipedia-bugs
Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: Pywikibot-solve-disambiguation.py.
Xqt changed Security from none to none.
TASK DESCRIPTION
running that script with -always option over hundreds of pages putting page changes asynchronously leads to infinity loop or the script hangs consuming all resource of on CPU (25% of a 4 core machine) and couldn't be stopped via Ctrl-C.
TASK DETAIL
https://phabricator.wikimedia.org/T85061
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikipedia-bugs
valhallasw created this task.
valhallasw added a subscriber: valhallasw.
valhallasw added projects: pywikibot-core, Pywikibot-General.
valhallasw changed Security from none to none.
TASK DESCRIPTION
On both linux and windows.
TASK DETAIL
https://phabricator.wikimedia.org/T76248
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: valhallasw
Cc: pywikipedia-bugs, valhallasw, jayvdb
valhallasw created this task.
valhallasw added a subscriber: valhallasw.
valhallasw added a project: pywikibot-core.
TASK DESCRIPTION
e.g.
```
editor=r'C:/Program Files (x86)/Notepad++/notepad++.exe'
```
would run
```
os.system(r'C:/Program Files (x86)/Notepad++/notepad++.exe -n0 tempfilename')
```
which is interpreted as 'run `c:/program` with arguments `Files`, `(x86)`, ...'.
We should probably switch to subprocess.Popen, and pass the extra parameters as a tuple, i.e., as
```
subprocess.Popen((r'C:/Program Files (x86)/Notepad++/notepad++.exe', '-n0', 'tempfilename'))
```
which should take care of all escaping.
Workarounds:
- Double-quote, i.e. `editor=r'"C:/Program Files (x86)/Notepad++/notepad++.exe"'`
- use 8.3 notation for parts with spaces, i.e. `editor=r'C:/Progra~2/Notepad++/notepad++.exe'`
TASK DETAIL
https://phabricator.wikimedia.org/T86481
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw
Cc: Aklapper, valhallasw, jayvdb, pywikipedia-bugs
XZise created this task.
XZise assigned this task to jayvdb.
XZise added subscribers: pywikipedia-bugs, jayvdb, XZise, Xqt.
XZise added a project: pywikibot-core.
TASK DESCRIPTION
Before officially releasing 2.0 all code (especially the library) should be PEP-8 compliant and non-compliant code should be marked deprecated. But I also think that this shouldn't be rushed as this gives us a chance to change the method headers for example and improve them without the need to deprecate parts of the new PEP-8 method header.
TASK DETAIL
https://phabricator.wikimedia.org/T85328
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb, XZise
Cc: Aklapper, jayvdb, XZise, Xqt, pywikipedia-bugs
Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: pywikibot-core.
Xqt changed Security from none to none.
TASK DESCRIPTION
syntax for print statement has been changed few days ago:
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 221, in <module>
run_python_file(filename, argv, argvu, file_package)
File "C:\pwb\core\pwb.py", line 80, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File ".\scripts\vm-auto-erl-neu.py", line 553
print 'fertig'
SyntaxError: invalid syntax
<type 'exceptions.SyntaxError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
Pywikibot: pywikibot-core (398e7a8, s5826, 2014/12/19, 19:21:54, ok)
Release version: 2.0b3
httplib2 version: 0.9
cacerts: C:\pwb\core\externals\httplib2\python2\httplib2\cacerts.txt
certificate test: ok
Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
PYWIKIBOT2_DIR: Not set
PYWIKIBOT2_DIR_PWB: C:\pwb\core
PYWIKIBOT2_NO_USER_CONFIG: Not set
Config base dir: C:\pwb\core
TASK DETAIL
https://phabricator.wikimedia.org/T85053
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, jayvdb, pywikipedia-bugs