Page MenuHomePhabricator

zhuyifei1999
*Not* Serious business title.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Oct 13 2014, 10:19 AM (315 w, 21 h)
Availability
Available
IRC Nick
zhuyifei1999
LDAP User
Zhuyifei1999
MediaWiki User
Zhuyifei1999 [ Global Accounts ]

There is currently no text in this page. You can search for this page title in other pages, or search the related logs.

Recent Activity

Yesterday

zhuyifei1999 added a comment to T266377: wikitasks mono bot crashes when running on grid engine with OutOfMemoryException.

-mem to grid is VMS, which may or may not be proportional to RSS.

Mon, Oct 26, 8:36 PM · Tools, Toolforge

Sun, Oct 25

Fae awarded T132676: Impossible to upload a file that ends with the '\r' byte using Pywikibot a Doubloon token.
Sun, Oct 25, 12:39 PM · Pywikibot

Sun, Oct 18

zhuyifei1999 added a comment to T265817: Remove Python 2 workarounds in family.py.

We can

- cls.__new__ = staticmethod(lambda cls: cls.instance)  # shortcut
+ cls.__new__ = lambda cls: cls.instance
Sun, Oct 18, 4:24 PM · Pywikibot

Sep 23 2020

zhuyifei1999 closed T260831: category_redirect Exiting due to uncaught exception: MemoryError as Invalid.

Memory issues are environmental. They are not actionable unless a. there is a memory leak or b. there is a significant memory use inefficiency.

Sep 23 2020, 10:40 AM · Upstream, Pywikibot

Aug 30 2020

zhuyifei1999 added a comment to T253491: Set up convos.chat on Toolforge (IRC frontend; open alternative to IRCCloud).

regarding the issue we face while deploying the tool

Aug 30 2020, 8:31 PM · User-Tgr, Technical-Tool-Request

Aug 27 2020

zhuyifei1999 committed rTVTC05fec1b1f0ad: transcodejob.py: Fixes (authored by zhuyifei1999).
transcodejob.py: Fixes
Aug 27 2020, 9:56 PM
zhuyifei1999 committed rTVTC41057eef9d36: VP8/VP9: Constant Quantizer -> Constant Rate Factor (authored by zhuyifei1999).
VP8/VP9: Constant Quantizer -> Constant Rate Factor
Aug 27 2020, 2:50 AM

Aug 24 2020

zhuyifei1999 closed T261162: pywikibot keeps refcount even after clear_cache (osmium fails with "Node callback keeps reference to OSM object. This is not allowed.") as Declined.

This is an instance of cyclic reference. The frame refers to the entry, the entry has _getexception, the exception refers to the frame reference the inner frame where the exception is instantiated and that frame would refer to the outer frame by f_back.

Aug 24 2020, 8:45 PM · Pywikibot
zhuyifei1999 added a comment to T261162: pywikibot keeps refcount even after clear_cache (osmium fails with "Node callback keeps reference to OSM object. This is not allowed.").

Using guppy to traverse the reference graph:

Aug 24 2020, 8:31 PM · Pywikibot
zhuyifei1999 added a comment to T261063: Pywikibot suppresses some log lines in debug mode.

Ah I see what is happening.

Aug 24 2020, 12:43 AM · Pywikibot

Aug 23 2020

zhuyifei1999 added a comment to T261063: Pywikibot suppresses some log lines in debug mode.

I remember debug log logs to a file. Do you have some steps to reproduce this?

Aug 23 2020, 10:03 PM · Pywikibot

Aug 3 2020

zhuyifei1999 closed T134914: Provide a list of the videos available on video2commons servers as Declined.

Sorry, didn't see the message. I'm gonna close this as declined as it doesn't really solve the 404 issue (the files were getting pruned anyhow).

Aug 3 2020, 5:17 PM · video2commons

Jul 30 2020

zhuyifei1999 committed rTVTC974b1962f6d1: Fix socketio URI attempt 2 (authored by zhuyifei1999).
Fix socketio URI attempt 2
Jul 30 2020, 9:26 PM
zhuyifei1999 committed rTVTC7430ae41fee3: Fix socketio URIs (authored by zhuyifei1999).
Fix socketio URIs
Jul 30 2020, 9:21 PM

Jul 9 2020

zhuyifei1999 added a comment to T257559: APIHiddenTestCase.test_ecoreality test of site_detect_tests.py unexpectedly pass.

Or just host such a server. ;)

Jul 9 2020, 8:17 PM · Pywikibot, Pywikibot-tests

Jul 7 2020

zhuyifei1999 added a comment to T228322: Python is killed by recent patch.

lang property must be resolved from siteinfo whereas code property is already given when instantiating the site object. I think TestAPIMWException.test_API_error_encoding_ASCII uses a fake http request and the siteinfo is never retrieved - am I right?

Jul 7 2020, 7:07 AM · Pywikibot, Pywikibot-tests
zhuyifei1999 added a comment to T228322: Python is killed by recent patch.

1(venv) zhuyifei1999@zhuyifei1999-ThinkPad-T480 ~/mw-dev/pywikibot-core $ git review -d 523933
2Downloading refs/changes/33/523933/1 from gerrit
3Branch review/xqt/user_agent already exists - reusing
4Switched to branch "review/xqt/user_agent"
5(venv) zhuyifei1999@zhuyifei1999-ThinkPad-T480 ~/mw-dev/pywikibot-core $ gdb --batch -ex r -ex py-bt --args python pwb.py tests/api_tests -v
6GEF for linux ready, type `gef' to start, `gef config' to configure
775 commands loaded for GDB 9.2 using Python engine 3.7
8[*] 5 commands could not be loaded, run `gef missing` to know why.
9[+] Configuration from '/home/zhuyifei1999/.gef.rc' restored
10[+] 10 extra commands added from '/home/zhuyifei1999/gdb/gef-extras/scripts'
11[Thread debugging using libthread_db enabled]
12Using host libthread_db library "/lib64/libthread_db.so.1".
13family and mylang are not set.
14Defaulting to family='test' and mylang='test'.
15[Detaching after fork from child process 1635556]
16tests: max_retries reduced from 15 to 1
17[Detaching after fork from child process 1635558]
18[Detaching after fork from child process 1635559]
19[Detaching after fork from child process 1635560]
20test_API_error (__main__.TestAPIMWException)
21Test a static request. ... ERROR: APIMWException: internal_api_error_fake: Fake error message [servedby:unittest]
22WARNING: /home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py:2731: DeprecationWarning: pywikibot.family.Family.version is deprecated for 5 years and 6 months; use APISite.version() instead.
23 version = self.family.version(self.code)
24
25ok
26test_API_error_encoding_ASCII (__main__.TestAPIMWException)
27Test a Page instance as parameter using ASCII chars. ... Fatal Python error: Cannot recover from stack overflow.
28
29Current thread 0x00007ffff795f740 (most recent call first):
30 File "/usr/lib/python3.7/logging/__init__.py", line 219 in _acquireLock
31 File "/usr/lib/python3.7/logging/__init__.py", line 1230 in getLogger
32 File "/usr/lib/python3.7/logging/__init__.py", line 1935 in getLogger
33 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/logging.py", line 73 in logoutput
34 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/logging.py", line 187 in debug
35 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1605 in _get_general
36 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
37 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
38 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
39 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
40 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
41 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
42 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
43 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
44 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
45 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
46 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
47 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
48 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
49 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
50 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
51 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
52 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
53 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
54 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
55 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
56 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
57 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
58 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
59 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
60 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
61 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
62 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
63 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
64 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
65 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
66 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
67 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
68 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
69 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
70 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
71 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
72 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
73 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
74 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
75 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
76 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
77 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
78 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
79 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
80 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
81 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
82 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
83 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
84 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
85 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
86 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
87 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
88 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
89 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
90 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
91 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
92 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
93 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
94 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
95 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
96 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
97 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
98 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
99 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
100 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
101 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
102 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
103 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
104 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
105 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
106 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
107 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
108 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
109 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
110 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
111 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
112 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
113 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
114 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
115 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
116 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
117 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
118 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
119 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744 in _http_request
120 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985 in submit
121 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234 in submit
122 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541 in _get_siteinfo
123 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618 in _get_general
124 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672 in get
125 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630 in __getitem__
126 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713 in lang
127 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219 in user_agent
128 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311 in request
129 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738 in wrapper
130 ...
131
132Program received signal SIGABRT, Aborted.
133__GI_raise (sig=sig@entry=0x6) at /usr/src/debug/sys-libs/glibc-2.31-r5/glibc-2.31/sysdeps/unix/sysv/linux/raise.c:50
13450 return ret;
135=> 0x00007ffff7afcb01 <__GI_raise+321>: 48 8b 84 24 08 01 00 00 mov rax,QWORD PTR [rsp+0x108]
136 0x00007ffff7afcb09 <__GI_raise+329>: 64 48 2b 04 25 28 00 00 00 sub rax,QWORD PTR fs:0x28
137 0x00007ffff7afcb12 <__GI_raise+338>: 75 20 jne 0x7ffff7afcb34 <__GI_raise+372>
138 0x00007ffff7afcb14 <__GI_raise+340>: 44 89 c0 mov eax,r8d
139 0x00007ffff7afcb17 <__GI_raise+343>: 48 81 c4 18 01 00 00 add rsp,0x118
140 0x00007ffff7afcb1e <__GI_raise+350>: c3 ret
141 0x00007ffff7afcb1f <__GI_raise+351>: 90 nop
142[ Legend: Modified register | Code | Heap | Stack | String ]
143───────────────────────────────────────────────────────────────────────────────────── registers ────
144$rax : 0x0
145$rbx : 0x00007ffff795f740 → 0x00007ffff795f740 → [loop detected]
146$rcx : 0x00007ffff7afcb01 → <raise+321> mov rax, QWORD PTR [rsp+0x108]
147$rdx : 0x0
148$rsp : 0x00007ffffff57820 → 0x0000000000000000
149$rbp : 0xffffffff
150$rsi : 0x00007ffffff57820 → 0x0000000000000000
151$rdi : 0x2
152$rip : 0x00007ffff7afcb01 → <raise+321> mov rax, QWORD PTR [rsp+0x108]
153$r8 : 0x0
154$r9 : 0x00007ffffff57820 → 0x0000000000000000
155$r10 : 0x8
156$r11 : 0x246
157$r12 : 0x00007ffff6c9fe50 → 0x0000000000000006
158$r13 : 0x00007ffff7e964c8 → "Cannot recover from stack overflow."
159$r14 : 0x0
160$r15 : 0x0
161$eflags: [ZERO carry PARITY adjust sign trap INTERRUPT direction overflow resume virtualx86 identification]
162$cs: 0x0033 $ss: 0x002b $ds: 0x0000 $es: 0x0000 $fs: 0x0000 $gs: 0x0000
163───────────────────────────────────────────────────────────────────────────────────────── stack ────
1640x00007ffffff57820│+0x0000: 0x0000000000000000 ← $rsp, $rsi, $r9
1650x00007ffffff57828│+0x0008: 0xc200000000000000
1660x00007ffffff57830│+0x0010: 0x08090a0b0c0d0e0f
1670x00007ffffff57838│+0x0018: 0x0001020304050607
1680x00007ffffff57840│+0x0020: 0xedcbf4fff9f637e4
1690x00007ffffff57848│+0x0028: 0x0000c43aa57e959d
1700x00007ffffff57850│+0x0030: 0xa5713acf71675269
1710x00007ffffff57858│+0x0038: 0xb97d883edbb6bdb5
172─────────────────────────────────────────────────────────────────────────────────── code:x86:64 ────
173 0x7ffff7afcaf5 <raise+309> mov edi, 0x2
174 0x7ffff7afcafa <raise+314> mov eax, 0xe
175 0x7ffff7afcaff <raise+319> syscall
176 → 0x7ffff7afcb01 <raise+321> mov rax, QWORD PTR [rsp+0x108]
177 0x7ffff7afcb09 <raise+329> sub rax, QWORD PTR fs:0x28
178 0x7ffff7afcb12 <raise+338> jne 0x7ffff7afcb34 <__GI_raise+372>
179 0x7ffff7afcb14 <raise+340> mov eax, r8d
180 0x7ffff7afcb17 <raise+343> add rsp, 0x118
181 0x7ffff7afcb1e <raise+350> ret
182────────────────────────────────────────────────────────────── source:/usr/src/debug/[...].c+50 ────
183 45
184 46 int ret = INLINE_SYSCALL (tgkill, 3, pid, tid, sig);
185 47
186 48 __libc_signal_restore_set (&set);
187 49
188 → 50 return ret;
189 51 }
190 52 libc_hidden_def (raise)
191 53 weak_alias (raise, gsignal)
192─────────────────────────────────────────────────────────────────────────────────────── threads ────
193[#0] Id 1, Name: "python", stopped, reason: SIGABRT
194───────────────────────────────────────────────────────────────────────────────────────── trace ────
195[#0] 0x7ffff7afcb01 → __GI_raise(sig=0x6)
196[#1] 0x7ffff7ae6537 → __GI_abort()
197[#2] 0x7ffff7ce6489 → fatal_error(prefix=0x0, msg=<optimized out>, status=0xffffffff)
198[#3] 0x7ffff7de4cb3 → Py_FatalError(msg=0x7ffff7e964c8 "Cannot recover from stack overflow.")
199[#4] 0x7ffff7dbf77f → _Py_CheckRecursiveCall(where=0x7ffff7e61ce0 " while calling a Python object")
200[#5] 0x7ffff7d0ece5 → _PyMethodDef_RawFastCallDict(method=0x7ffff7f6aa60 <textiowrapper_methods+160>, self=<_io.TextIOWrapper at remote 0x7ffff6c9fe50>, args=0x0, nargs=0x0, kwargs=0x0)
201[#6] 0x7ffff7d0ee08 → _PyCFunction_FastCallDict(func=<built-in method flush of _io.TextIOWrapper object at remote 0x7ffff6c9fe50>, args=<optimized out>, nargs=<optimized out>, kwargs=<optimized out>)
202[#7] 0x7ffff7d0f77a → callmethod(is_size_t=0x0, va=0x7ffffff57b80, format=0x0, callable=<built-in method flush of _io.TextIOWrapper object at remote 0x7ffff6c9fe50>)
203[#8] 0x7ffff7d0f77a → _PyObject_CallMethodId(obj=<_io.TextIOWrapper at remote 0x7ffff6c9fe50>, name=0x7ffff7f396c0 <PyId_flush>, format=0x0)
204[#9] 0x7ffff7de2e63 → flush_std_files()
205────────────────────────────────────────────────────────────────────────────────────────────────────
206Traceback (most recent call first):
207 <built-in method flush of _io.TextIOWrapper object at remote 0x7ffff6c9fe50>
208 File "/usr/lib/python3.7/logging/__init__.py", line 219, in _acquireLock
209 _lock.acquire()
210 File "/usr/lib/python3.7/logging/__init__.py", line 1230, in getLogger
211 _acquireLock()
212 File "/usr/lib/python3.7/logging/__init__.py", line 1935, in getLogger
213 return Logger.manager.getLogger(name)
214 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/logging.py", line 73, in logoutput
215 logger = logging.getLogger('pywiki.' + _logger)
216 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/logging.py", line 187, in debug
217 logoutput(text, decoder, newline, DEBUG, layer, **kwargs)
218 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1605, in _get_general
219 pywikibot.debug('general siteinfo not loaded yet.', _logger)
220 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
221 preloaded = self._get_general(key, expiry)
222 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
223 return self.get(key, False) # caches and doesn't force it
224 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
225 return self.siteinfo['lang']
226 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
227 'lang': site.lang if site else '',
228 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
229 headers['user-agent'] = user_agent(site, format_string)
230 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
231 return obj(*__args, **__kw)
232 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
233 body=body, headers=headers)
234 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
235 paramstring)
236 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
237 self._data = super(CachedRequest, self).submit()
238 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
239 data = request.submit()
240 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
241 default_info = self._get_siteinfo(props, expiry)
242 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
243 preloaded = self._get_general(key, expiry)
244 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
245 return self.get(key, False) # caches and doesn't force it
246 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
247 return self.siteinfo['lang']
248 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
249 'lang': site.lang if site else '',
250 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
251 headers['user-agent'] = user_agent(site, format_string)
252 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
253 return obj(*__args, **__kw)
254 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
255 body=body, headers=headers)
256 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
257 paramstring)
258 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
259 self._data = super(CachedRequest, self).submit()
260 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
261 data = request.submit()
262 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
263 default_info = self._get_siteinfo(props, expiry)
264 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
265 preloaded = self._get_general(key, expiry)
266 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
267 return self.get(key, False) # caches and doesn't force it
268 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
269 return self.siteinfo['lang']
270 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
271 'lang': site.lang if site else '',
272 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
273 headers['user-agent'] = user_agent(site, format_string)
274 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
275 return obj(*__args, **__kw)
276 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
277 body=body, headers=headers)
278 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
279 paramstring)
280 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
281 self._data = super(CachedRequest, self).submit()
282 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
283 data = request.submit()
284 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
285 default_info = self._get_siteinfo(props, expiry)
286 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
287 preloaded = self._get_general(key, expiry)
288 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
289 return self.get(key, False) # caches and doesn't force it
290 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
291 return self.siteinfo['lang']
292 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
293 'lang': site.lang if site else '',
294 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
295 headers['user-agent'] = user_agent(site, format_string)
296 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
297 return obj(*__args, **__kw)
298 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
299 body=body, headers=headers)
300 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
301 paramstring)
302 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
303 self._data = super(CachedRequest, self).submit()
304 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
305 data = request.submit()
306 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
307 default_info = self._get_siteinfo(props, expiry)
308 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
309 preloaded = self._get_general(key, expiry)
310 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
311 return self.get(key, False) # caches and doesn't force it
312 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
313 return self.siteinfo['lang']
314 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
315 'lang': site.lang if site else '',
316 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
317 headers['user-agent'] = user_agent(site, format_string)
318 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
319 return obj(*__args, **__kw)
320 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
321 body=body, headers=headers)
322 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
323 paramstring)
324 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
325 self._data = super(CachedRequest, self).submit()
326 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
327 data = request.submit()
328 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
329 default_info = self._get_siteinfo(props, expiry)
330 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
331 preloaded = self._get_general(key, expiry)
332 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
333 return self.get(key, False) # caches and doesn't force it
334 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
335 return self.siteinfo['lang']
336 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
337 'lang': site.lang if site else '',
338 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
339 headers['user-agent'] = user_agent(site, format_string)
340 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
341 return obj(*__args, **__kw)
342 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
343 body=body, headers=headers)
344 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
345 paramstring)
346 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
347 self._data = super(CachedRequest, self).submit()
348 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
349 data = request.submit()
350 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
351 default_info = self._get_siteinfo(props, expiry)
352 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
353 preloaded = self._get_general(key, expiry)
354 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
355 return self.get(key, False) # caches and doesn't force it
356 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
357 return self.siteinfo['lang']
358 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
359 'lang': site.lang if site else '',
360 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
361 headers['user-agent'] = user_agent(site, format_string)
362 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
363 return obj(*__args, **__kw)
364 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
365 body=body, headers=headers)
366 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
367 paramstring)
368 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
369 self._data = super(CachedRequest, self).submit()
370 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
371 data = request.submit()
372 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
373 default_info = self._get_siteinfo(props, expiry)
374 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
375 preloaded = self._get_general(key, expiry)
376 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
377 return self.get(key, False) # caches and doesn't force it
378 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
379 return self.siteinfo['lang']
380 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
381 'lang': site.lang if site else '',
382 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
383 headers['user-agent'] = user_agent(site, format_string)
384 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
385 return obj(*__args, **__kw)
386 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
387 body=body, headers=headers)
388 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
389 paramstring)
390 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
391 self._data = super(CachedRequest, self).submit()
392 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
393 data = request.submit()
394 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
395 default_info = self._get_siteinfo(props, expiry)
396 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
397 preloaded = self._get_general(key, expiry)
398 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
399 return self.get(key, False) # caches and doesn't force it
400 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
401 return self.siteinfo['lang']
402 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
403 'lang': site.lang if site else '',
404 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
405 headers['user-agent'] = user_agent(site, format_string)
406 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
407 return obj(*__args, **__kw)
408 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
409 body=body, headers=headers)
410 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
411 paramstring)
412 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
413 self._data = super(CachedRequest, self).submit()
414 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
415 data = request.submit()
416 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
417 default_info = self._get_siteinfo(props, expiry)
418 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
419 preloaded = self._get_general(key, expiry)
420 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
421 return self.get(key, False) # caches and doesn't force it
422 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
423 return self.siteinfo['lang']
424 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
425 'lang': site.lang if site else '',
426 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
427 headers['user-agent'] = user_agent(site, format_string)
428 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
429 return obj(*__args, **__kw)
430 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
431 body=body, headers=headers)
432 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
433 paramstring)
434 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
435 self._data = super(CachedRequest, self).submit()
436 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
437 data = request.submit()
438 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
439 default_info = self._get_siteinfo(props, expiry)
440 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
441 preloaded = self._get_general(key, expiry)
442 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
443 return self.get(key, False) # caches and doesn't force it
444 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
445 return self.siteinfo['lang']
446 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
447 'lang': site.lang if site else '',
448 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
449 headers['user-agent'] = user_agent(site, format_string)
450 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
451 return obj(*__args, **__kw)
452 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
453 body=body, headers=headers)
454 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
455 paramstring)
456 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
457 self._data = super(CachedRequest, self).submit()
458 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
459 data = request.submit()
460 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
461 default_info = self._get_siteinfo(props, expiry)
462 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
463 preloaded = self._get_general(key, expiry)
464 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
465 return self.get(key, False) # caches and doesn't force it
466 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
467 return self.siteinfo['lang']
468 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
469 'lang': site.lang if site else '',
470 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
471 headers['user-agent'] = user_agent(site, format_string)
472 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
473 return obj(*__args, **__kw)
474 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
475 body=body, headers=headers)
476 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
477 paramstring)
478 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
479 self._data = super(CachedRequest, self).submit()
480 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
481 data = request.submit()
482 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
483 default_info = self._get_siteinfo(props, expiry)
484 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
485 preloaded = self._get_general(key, expiry)
486 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
487 return self.get(key, False) # caches and doesn't force it
488 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
489 return self.siteinfo['lang']
490 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
491 'lang': site.lang if site else '',
492 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
493 headers['user-agent'] = user_agent(site, format_string)
494 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
495 return obj(*__args, **__kw)
496 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
497 body=body, headers=headers)
498 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
499 paramstring)
500 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
501 self._data = super(CachedRequest, self).submit()
502 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
503 data = request.submit()
504 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
505 default_info = self._get_siteinfo(props, expiry)
506 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
507 preloaded = self._get_general(key, expiry)
508 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
509 return self.get(key, False) # caches and doesn't force it
510 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
511 return self.siteinfo['lang']
512 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
513 'lang': site.lang if site else '',
514 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
515 headers['user-agent'] = user_agent(site, format_string)
516 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
517 return obj(*__args, **__kw)
518 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
519 body=body, headers=headers)
520 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
521 paramstring)
522 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
523 self._data = super(CachedRequest, self).submit()
524 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
525 data = request.submit()
526 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
527 default_info = self._get_siteinfo(props, expiry)
528 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
529 preloaded = self._get_general(key, expiry)
530 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
531 return self.get(key, False) # caches and doesn't force it
532 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
533 return self.siteinfo['lang']
534 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
535 'lang': site.lang if site else '',
536 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
537 headers['user-agent'] = user_agent(site, format_string)
538 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
539 return obj(*__args, **__kw)
540 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
541 body=body, headers=headers)
542 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
543 paramstring)
544 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
545 self._data = super(CachedRequest, self).submit()
546 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
547 data = request.submit()
548 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
549 default_info = self._get_siteinfo(props, expiry)
550 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
551 preloaded = self._get_general(key, expiry)
552 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
553 return self.get(key, False) # caches and doesn't force it
554 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
555 return self.siteinfo['lang']
556 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
557 'lang': site.lang if site else '',
558 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
559 headers['user-agent'] = user_agent(site, format_string)
560 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
561 return obj(*__args, **__kw)
562 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
563 body=body, headers=headers)
564 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
565 paramstring)
566 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
567 self._data = super(CachedRequest, self).submit()
568 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
569 data = request.submit()
570 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
571 default_info = self._get_siteinfo(props, expiry)
572 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
573 preloaded = self._get_general(key, expiry)
574 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
575 return self.get(key, False) # caches and doesn't force it
576 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
577 return self.siteinfo['lang']
578 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
579 'lang': site.lang if site else '',
580 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
581 headers['user-agent'] = user_agent(site, format_string)
582 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
583 return obj(*__args, **__kw)
584 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
585 body=body, headers=headers)
586 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
587 paramstring)
588 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
589 self._data = super(CachedRequest, self).submit()
590 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
591 data = request.submit()
592 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
593 default_info = self._get_siteinfo(props, expiry)
594 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
595 preloaded = self._get_general(key, expiry)
596 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
597 return self.get(key, False) # caches and doesn't force it
598 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
599 return self.siteinfo['lang']
600 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
601 'lang': site.lang if site else '',
602 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
603 headers['user-agent'] = user_agent(site, format_string)
604 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
605 return obj(*__args, **__kw)
606 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
607 body=body, headers=headers)
608 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
609 paramstring)
610 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
611 self._data = super(CachedRequest, self).submit()
612 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
613 data = request.submit()
614 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
615 default_info = self._get_siteinfo(props, expiry)
616 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
617 preloaded = self._get_general(key, expiry)
618 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
619 return self.get(key, False) # caches and doesn't force it
620 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
621 return self.siteinfo['lang']
622 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
623 'lang': site.lang if site else '',
624 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
625 headers['user-agent'] = user_agent(site, format_string)
626 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
627 return obj(*__args, **__kw)
628 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
629 body=body, headers=headers)
630 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
631 paramstring)
632 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
633 self._data = super(CachedRequest, self).submit()
634 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
635 data = request.submit()
636 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
637 default_info = self._get_siteinfo(props, expiry)
638 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
639 preloaded = self._get_general(key, expiry)
640 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
641 return self.get(key, False) # caches and doesn't force it
642 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
643 return self.siteinfo['lang']
644 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
645 'lang': site.lang if site else '',
646 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
647 headers['user-agent'] = user_agent(site, format_string)
648 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
649 return obj(*__args, **__kw)
650 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
651 body=body, headers=headers)
652 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
653 paramstring)
654 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
655 self._data = super(CachedRequest, self).submit()
656 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
657 data = request.submit()
658 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
659 default_info = self._get_siteinfo(props, expiry)
660 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
661 preloaded = self._get_general(key, expiry)
662 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
663 return self.get(key, False) # caches and doesn't force it
664 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
665 return self.siteinfo['lang']
666 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
667 'lang': site.lang if site else '',
668 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
669 headers['user-agent'] = user_agent(site, format_string)
670 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
671 return obj(*__args, **__kw)
672 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
673 body=body, headers=headers)
674 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
675 paramstring)
676 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
677 self._data = super(CachedRequest, self).submit()
678 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
679 data = request.submit()
680 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
681 default_info = self._get_siteinfo(props, expiry)
682 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
683 preloaded = self._get_general(key, expiry)
684 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
685 return self.get(key, False) # caches and doesn't force it
686 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
687 return self.siteinfo['lang']
688 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
689 'lang': site.lang if site else '',
690 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
691 headers['user-agent'] = user_agent(site, format_string)
692 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
693 return obj(*__args, **__kw)
694 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
695 body=body, headers=headers)
696 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
697 paramstring)
698 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
699 self._data = super(CachedRequest, self).submit()
700 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
701 data = request.submit()
702 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
703 default_info = self._get_siteinfo(props, expiry)
704 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
705 preloaded = self._get_general(key, expiry)
706 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
707 return self.get(key, False) # caches and doesn't force it
708 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
709 return self.siteinfo['lang']
710 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
711 'lang': site.lang if site else '',
712 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
713 headers['user-agent'] = user_agent(site, format_string)
714 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
715 return obj(*__args, **__kw)
716 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
717 body=body, headers=headers)
718 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
719 paramstring)
720 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
721 self._data = super(CachedRequest, self).submit()
722 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
723 data = request.submit()
724 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
725 default_info = self._get_siteinfo(props, expiry)
726 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
727 preloaded = self._get_general(key, expiry)
728 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
729 return self.get(key, False) # caches and doesn't force it
730 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
731 return self.siteinfo['lang']
732 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
733 'lang': site.lang if site else '',
734 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
735 headers['user-agent'] = user_agent(site, format_string)
736 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
737 return obj(*__args, **__kw)
738 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
739 body=body, headers=headers)
740 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
741 paramstring)
742 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
743 self._data = super(CachedRequest, self).submit()
744 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
745 data = request.submit()
746 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
747 default_info = self._get_siteinfo(props, expiry)
748 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
749 preloaded = self._get_general(key, expiry)
750 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
751 return self.get(key, False) # caches and doesn't force it
752 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
753 return self.siteinfo['lang']
754 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
755 'lang': site.lang if site else '',
756 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
757 headers['user-agent'] = user_agent(site, format_string)
758 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
759 return obj(*__args, **__kw)
760 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
761 body=body, headers=headers)
762 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
763 paramstring)
764 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
765 self._data = super(CachedRequest, self).submit()
766 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
767 data = request.submit()
768 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
769 default_info = self._get_siteinfo(props, expiry)
770 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
771 preloaded = self._get_general(key, expiry)
772 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
773 return self.get(key, False) # caches and doesn't force it
774 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
775 return self.siteinfo['lang']
776 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
777 'lang': site.lang if site else '',
778 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
779 headers['user-agent'] = user_agent(site, format_string)
780 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
781 return obj(*__args, **__kw)
782 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
783 body=body, headers=headers)
784 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
785 paramstring)
786 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
787 self._data = super(CachedRequest, self).submit()
788 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
789 data = request.submit()
790 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
791 default_info = self._get_siteinfo(props, expiry)
792 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
793 preloaded = self._get_general(key, expiry)
794 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
795 return self.get(key, False) # caches and doesn't force it
796 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
797 return self.siteinfo['lang']
798 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
799 'lang': site.lang if site else '',
800 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
801 headers['user-agent'] = user_agent(site, format_string)
802 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
803 return obj(*__args, **__kw)
804 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
805 body=body, headers=headers)
806 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
807 paramstring)
808 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
809 self._data = super(CachedRequest, self).submit()
810 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
811 data = request.submit()
812 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
813 default_info = self._get_siteinfo(props, expiry)
814 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
815 preloaded = self._get_general(key, expiry)
816 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
817 return self.get(key, False) # caches and doesn't force it
818 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
819 return self.siteinfo['lang']
820 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
821 'lang': site.lang if site else '',
822 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
823 headers['user-agent'] = user_agent(site, format_string)
824 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
825 return obj(*__args, **__kw)
826 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
827 body=body, headers=headers)
828 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
829 paramstring)
830 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
831 self._data = super(CachedRequest, self).submit()
832 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
833 data = request.submit()
834 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
835 default_info = self._get_siteinfo(props, expiry)
836 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
837 preloaded = self._get_general(key, expiry)
838 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
839 return self.get(key, False) # caches and doesn't force it
840 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
841 return self.siteinfo['lang']
842 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
843 'lang': site.lang if site else '',
844 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
845 headers['user-agent'] = user_agent(site, format_string)
846 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
847 return obj(*__args, **__kw)
848 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
849 body=body, headers=headers)
850 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
851 paramstring)
852 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
853 self._data = super(CachedRequest, self).submit()
854 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
855 data = request.submit()
856 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
857 default_info = self._get_siteinfo(props, expiry)
858 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
859 preloaded = self._get_general(key, expiry)
860 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
861 return self.get(key, False) # caches and doesn't force it
862 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
863 return self.siteinfo['lang']
864 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
865 'lang': site.lang if site else '',
866 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
867 headers['user-agent'] = user_agent(site, format_string)
868 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
869 return obj(*__args, **__kw)
870 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
871 body=body, headers=headers)
872 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
873 paramstring)
874 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
875 self._data = super(CachedRequest, self).submit()
876 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
877 data = request.submit()
878 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
879 default_info = self._get_siteinfo(props, expiry)
880 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
881 preloaded = self._get_general(key, expiry)
882 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
883 return self.get(key, False) # caches and doesn't force it
884 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
885 return self.siteinfo['lang']
886 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
887 'lang': site.lang if site else '',
888 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
889 headers['user-agent'] = user_agent(site, format_string)
890 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
891 return obj(*__args, **__kw)
892 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
893 body=body, headers=headers)
894 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
895 paramstring)
896 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
897 self._data = super(CachedRequest, self).submit()
898 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
899 data = request.submit()
900 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
901 default_info = self._get_siteinfo(props, expiry)
902 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
903 preloaded = self._get_general(key, expiry)
904 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
905 return self.get(key, False) # caches and doesn't force it
906 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
907 return self.siteinfo['lang']
908 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
909 'lang': site.lang if site else '',
910 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
911 headers['user-agent'] = user_agent(site, format_string)
912 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
913 return obj(*__args, **__kw)
914 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
915 body=body, headers=headers)
916 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
917 paramstring)
918 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
919 self._data = super(CachedRequest, self).submit()
920 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
921 data = request.submit()
922 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
923 default_info = self._get_siteinfo(props, expiry)
924 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
925 preloaded = self._get_general(key, expiry)
926 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
927 return self.get(key, False) # caches and doesn't force it
928 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
929 return self.siteinfo['lang']
930 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
931 'lang': site.lang if site else '',
932 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
933 headers['user-agent'] = user_agent(site, format_string)
934 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
935 return obj(*__args, **__kw)
936 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
937 body=body, headers=headers)
938 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
939 paramstring)
940 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
941 self._data = super(CachedRequest, self).submit()
942 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
943 data = request.submit()
944 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
945 default_info = self._get_siteinfo(props, expiry)
946 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
947 preloaded = self._get_general(key, expiry)
948 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
949 return self.get(key, False) # caches and doesn't force it
950 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
951 return self.siteinfo['lang']
952 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
953 'lang': site.lang if site else '',
954 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
955 headers['user-agent'] = user_agent(site, format_string)
956 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
957 return obj(*__args, **__kw)
958 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
959 body=body, headers=headers)
960 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
961 paramstring)
962 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
963 self._data = super(CachedRequest, self).submit()
964 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
965 data = request.submit()
966 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
967 default_info = self._get_siteinfo(props, expiry)
968 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
969 preloaded = self._get_general(key, expiry)
970 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
971 return self.get(key, False) # caches and doesn't force it
972 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
973 return self.siteinfo['lang']
974 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
975 'lang': site.lang if site else '',
976 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
977 headers['user-agent'] = user_agent(site, format_string)
978 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
979 return obj(*__args, **__kw)
980 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
981 body=body, headers=headers)
982 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
983 paramstring)
984 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
985 self._data = super(CachedRequest, self).submit()
986 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
987 data = request.submit()
988 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
989 default_info = self._get_siteinfo(props, expiry)
990 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
991 preloaded = self._get_general(key, expiry)
992 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
993 return self.get(key, False) # caches and doesn't force it
994 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
995 return self.siteinfo['lang']
996 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
997 'lang': site.lang if site else '',
998 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
999 headers['user-agent'] = user_agent(site, format_string)
1000 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1001 return obj(*__args, **__kw)
1002 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1003 body=body, headers=headers)
1004 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1005 paramstring)
1006 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1007 self._data = super(CachedRequest, self).submit()
1008 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1009 data = request.submit()
1010 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1011 default_info = self._get_siteinfo(props, expiry)
1012 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1013 preloaded = self._get_general(key, expiry)
1014 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1015 return self.get(key, False) # caches and doesn't force it
1016 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1017 return self.siteinfo['lang']
1018 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1019 'lang': site.lang if site else '',
1020 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1021 headers['user-agent'] = user_agent(site, format_string)
1022 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1023 return obj(*__args, **__kw)
1024 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1025 body=body, headers=headers)
1026 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1027 paramstring)
1028 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1029 self._data = super(CachedRequest, self).submit()
1030 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1031 data = request.submit()
1032 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1033 default_info = self._get_siteinfo(props, expiry)
1034 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1035 preloaded = self._get_general(key, expiry)
1036 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1037 return self.get(key, False) # caches and doesn't force it
1038 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1039 return self.siteinfo['lang']
1040 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1041 'lang': site.lang if site else '',
1042 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1043 headers['user-agent'] = user_agent(site, format_string)
1044 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1045 return obj(*__args, **__kw)
1046 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1047 body=body, headers=headers)
1048 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1049 paramstring)
1050 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1051 self._data = super(CachedRequest, self).submit()
1052 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1053 data = request.submit()
1054 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1055 default_info = self._get_siteinfo(props, expiry)
1056 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1057 preloaded = self._get_general(key, expiry)
1058 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1059 return self.get(key, False) # caches and doesn't force it
1060 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1061 return self.siteinfo['lang']
1062 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1063 'lang': site.lang if site else '',
1064 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1065 headers['user-agent'] = user_agent(site, format_string)
1066 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1067 return obj(*__args, **__kw)
1068 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1069 body=body, headers=headers)
1070 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1071 paramstring)
1072 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1073 self._data = super(CachedRequest, self).submit()
1074 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1075 data = request.submit()
1076 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1077 default_info = self._get_siteinfo(props, expiry)
1078 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1079 preloaded = self._get_general(key, expiry)
1080 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1081 return self.get(key, False) # caches and doesn't force it
1082 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1083 return self.siteinfo['lang']
1084 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1085 'lang': site.lang if site else '',
1086 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1087 headers['user-agent'] = user_agent(site, format_string)
1088 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1089 return obj(*__args, **__kw)
1090 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1091 body=body, headers=headers)
1092 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1093 paramstring)
1094 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1095 self._data = super(CachedRequest, self).submit()
1096 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1097 data = request.submit()
1098 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1099 default_info = self._get_siteinfo(props, expiry)
1100 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1101 preloaded = self._get_general(key, expiry)
1102 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1103 return self.get(key, False) # caches and doesn't force it
1104 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1105 return self.siteinfo['lang']
1106 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1107 'lang': site.lang if site else '',
1108 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1109 headers['user-agent'] = user_agent(site, format_string)
1110 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1111 return obj(*__args, **__kw)
1112 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1113 body=body, headers=headers)
1114 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1115 paramstring)
1116 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1117 self._data = super(CachedRequest, self).submit()
1118 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1119 data = request.submit()
1120 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1121 default_info = self._get_siteinfo(props, expiry)
1122 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1123 preloaded = self._get_general(key, expiry)
1124 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1125 return self.get(key, False) # caches and doesn't force it
1126 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1127 return self.siteinfo['lang']
1128 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1129 'lang': site.lang if site else '',
1130 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1131 headers['user-agent'] = user_agent(site, format_string)
1132 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1133 return obj(*__args, **__kw)
1134 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1135 body=body, headers=headers)
1136 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1137 paramstring)
1138 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1139 self._data = super(CachedRequest, self).submit()
1140 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1141 data = request.submit()
1142 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1143 default_info = self._get_siteinfo(props, expiry)
1144 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1145 preloaded = self._get_general(key, expiry)
1146 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1147 return self.get(key, False) # caches and doesn't force it
1148 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1149 return self.siteinfo['lang']
1150 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1151 'lang': site.lang if site else '',
1152 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1153 headers['user-agent'] = user_agent(site, format_string)
1154 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1155 return obj(*__args, **__kw)
1156 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1157 body=body, headers=headers)
1158 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1159 paramstring)
1160 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1161 self._data = super(CachedRequest, self).submit()
1162 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1163 data = request.submit()
1164 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1165 default_info = self._get_siteinfo(props, expiry)
1166 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1167 preloaded = self._get_general(key, expiry)
1168 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1169 return self.get(key, False) # caches and doesn't force it
1170 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1171 return self.siteinfo['lang']
1172 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1173 'lang': site.lang if site else '',
1174 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1175 headers['user-agent'] = user_agent(site, format_string)
1176 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1177 return obj(*__args, **__kw)
1178 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1179 body=body, headers=headers)
1180 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1181 paramstring)
1182 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1183 self._data = super(CachedRequest, self).submit()
1184 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1185 data = request.submit()
1186 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1187 default_info = self._get_siteinfo(props, expiry)
1188 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1189 preloaded = self._get_general(key, expiry)
1190 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1191 return self.get(key, False) # caches and doesn't force it
1192 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1193 return self.siteinfo['lang']
1194 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1195 'lang': site.lang if site else '',
1196 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1197 headers['user-agent'] = user_agent(site, format_string)
1198 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1199 return obj(*__args, **__kw)
1200 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1201 body=body, headers=headers)
1202 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1203 paramstring)
1204 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1205 self._data = super(CachedRequest, self).submit()
1206 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1207 data = request.submit()
1208 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1209 default_info = self._get_siteinfo(props, expiry)
1210 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1211 preloaded = self._get_general(key, expiry)
1212 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1213 return self.get(key, False) # caches and doesn't force it
1214 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1215 return self.siteinfo['lang']
1216 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1217 'lang': site.lang if site else '',
1218 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1219 headers['user-agent'] = user_agent(site, format_string)
1220 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1221 return obj(*__args, **__kw)
1222 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1223 body=body, headers=headers)
1224 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1225 paramstring)
1226 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1227 self._data = super(CachedRequest, self).submit()
1228 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1229 data = request.submit()
1230 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1231 default_info = self._get_siteinfo(props, expiry)
1232 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1233 preloaded = self._get_general(key, expiry)
1234 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1235 return self.get(key, False) # caches and doesn't force it
1236 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1237 return self.siteinfo['lang']
1238 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1239 'lang': site.lang if site else '',
1240 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1241 headers['user-agent'] = user_agent(site, format_string)
1242 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1243 return obj(*__args, **__kw)
1244 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1245 body=body, headers=headers)
1246 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1247 paramstring)
1248 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1249 self._data = super(CachedRequest, self).submit()
1250 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1251 data = request.submit()
1252 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1253 default_info = self._get_siteinfo(props, expiry)
1254 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1255 preloaded = self._get_general(key, expiry)
1256 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1257 return self.get(key, False) # caches and doesn't force it
1258 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1259 return self.siteinfo['lang']
1260 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1261 'lang': site.lang if site else '',
1262 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1263 headers['user-agent'] = user_agent(site, format_string)
1264 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1265 return obj(*__args, **__kw)
1266 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1267 body=body, headers=headers)
1268 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1269 paramstring)
1270 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1271 self._data = super(CachedRequest, self).submit()
1272 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1273 data = request.submit()
1274 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1275 default_info = self._get_siteinfo(props, expiry)
1276 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1277 preloaded = self._get_general(key, expiry)
1278 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1279 return self.get(key, False) # caches and doesn't force it
1280 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1281 return self.siteinfo['lang']
1282 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1283 'lang': site.lang if site else '',
1284 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1285 headers['user-agent'] = user_agent(site, format_string)
1286 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1287 return obj(*__args, **__kw)
1288 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1289 body=body, headers=headers)
1290 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1291 paramstring)
1292 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1293 self._data = super(CachedRequest, self).submit()
1294 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1295 data = request.submit()
1296 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1297 default_info = self._get_siteinfo(props, expiry)
1298 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1299 preloaded = self._get_general(key, expiry)
1300 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1301 return self.get(key, False) # caches and doesn't force it
1302 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1303 return self.siteinfo['lang']
1304 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1305 'lang': site.lang if site else '',
1306 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1307 headers['user-agent'] = user_agent(site, format_string)
1308 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1309 return obj(*__args, **__kw)
1310 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1311 body=body, headers=headers)
1312 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1313 paramstring)
1314 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1315 self._data = super(CachedRequest, self).submit()
1316 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1317 data = request.submit()
1318 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1319 default_info = self._get_siteinfo(props, expiry)
1320 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1321 preloaded = self._get_general(key, expiry)
1322 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1323 return self.get(key, False) # caches and doesn't force it
1324 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1325 return self.siteinfo['lang']
1326 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1327 'lang': site.lang if site else '',
1328 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1329 headers['user-agent'] = user_agent(site, format_string)
1330 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1331 return obj(*__args, **__kw)
1332 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1333 body=body, headers=headers)
1334 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1335 paramstring)
1336 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1337 self._data = super(CachedRequest, self).submit()
1338 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1339 data = request.submit()
1340 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1341 default_info = self._get_siteinfo(props, expiry)
1342 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1343 preloaded = self._get_general(key, expiry)
1344 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1345 return self.get(key, False) # caches and doesn't force it
1346 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1347 return self.siteinfo['lang']
1348 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1349 'lang': site.lang if site else '',
1350 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1351 headers['user-agent'] = user_agent(site, format_string)
1352 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1353 return obj(*__args, **__kw)
1354 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1355 body=body, headers=headers)
1356 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1357 paramstring)
1358 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1359 self._data = super(CachedRequest, self).submit()
1360 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1361 data = request.submit()
1362 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1363 default_info = self._get_siteinfo(props, expiry)
1364 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1365 preloaded = self._get_general(key, expiry)
1366 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1367 return self.get(key, False) # caches and doesn't force it
1368 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1369 return self.siteinfo['lang']
1370 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1371 'lang': site.lang if site else '',
1372 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1373 headers['user-agent'] = user_agent(site, format_string)
1374 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1375 return obj(*__args, **__kw)
1376 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1377 body=body, headers=headers)
1378 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1379 paramstring)
1380 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1381 self._data = super(CachedRequest, self).submit()
1382 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1383 data = request.submit()
1384 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1385 default_info = self._get_siteinfo(props, expiry)
1386 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1387 preloaded = self._get_general(key, expiry)
1388 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1389 return self.get(key, False) # caches and doesn't force it
1390 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1391 return self.siteinfo['lang']
1392 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1393 'lang': site.lang if site else '',
1394 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1395 headers['user-agent'] = user_agent(site, format_string)
1396 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1397 return obj(*__args, **__kw)
1398 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1399 body=body, headers=headers)
1400 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1401 paramstring)
1402 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1403 self._data = super(CachedRequest, self).submit()
1404 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1405 data = request.submit()
1406 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1407 default_info = self._get_siteinfo(props, expiry)
1408 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1409 preloaded = self._get_general(key, expiry)
1410 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1411 return self.get(key, False) # caches and doesn't force it
1412 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1413 return self.siteinfo['lang']
1414 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1415 'lang': site.lang if site else '',
1416 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1417 headers['user-agent'] = user_agent(site, format_string)
1418 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1419 return obj(*__args, **__kw)
1420 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1421 body=body, headers=headers)
1422 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1423 paramstring)
1424 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1425 self._data = super(CachedRequest, self).submit()
1426 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1427 data = request.submit()
1428 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1429 default_info = self._get_siteinfo(props, expiry)
1430 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1431 preloaded = self._get_general(key, expiry)
1432 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1433 return self.get(key, False) # caches and doesn't force it
1434 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1435 return self.siteinfo['lang']
1436 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1437 'lang': site.lang if site else '',
1438 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1439 headers['user-agent'] = user_agent(site, format_string)
1440 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1441 return obj(*__args, **__kw)
1442 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1443 body=body, headers=headers)
1444 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1445 paramstring)
1446 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1447 self._data = super(CachedRequest, self).submit()
1448 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1449 data = request.submit()
1450 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1451 default_info = self._get_siteinfo(props, expiry)
1452 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1453 preloaded = self._get_general(key, expiry)
1454 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1455 return self.get(key, False) # caches and doesn't force it
1456 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1457 return self.siteinfo['lang']
1458 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1459 'lang': site.lang if site else '',
1460 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1461 headers['user-agent'] = user_agent(site, format_string)
1462 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1463 return obj(*__args, **__kw)
1464 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1465 body=body, headers=headers)
1466 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1467 paramstring)
1468 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1469 self._data = super(CachedRequest, self).submit()
1470 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1471 data = request.submit()
1472 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1473 default_info = self._get_siteinfo(props, expiry)
1474 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1475 preloaded = self._get_general(key, expiry)
1476 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1477 return self.get(key, False) # caches and doesn't force it
1478 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1479 return self.siteinfo['lang']
1480 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1481 'lang': site.lang if site else '',
1482 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1483 headers['user-agent'] = user_agent(site, format_string)
1484 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1485 return obj(*__args, **__kw)
1486 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1487 body=body, headers=headers)
1488 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1489 paramstring)
1490 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1491 self._data = super(CachedRequest, self).submit()
1492 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1493 data = request.submit()
1494 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1495 default_info = self._get_siteinfo(props, expiry)
1496 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1497 preloaded = self._get_general(key, expiry)
1498 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1499 return self.get(key, False) # caches and doesn't force it
1500 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1501 return self.siteinfo['lang']
1502 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1503 'lang': site.lang if site else '',
1504 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1505 headers['user-agent'] = user_agent(site, format_string)
1506 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1507 return obj(*__args, **__kw)
1508 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1509 body=body, headers=headers)
1510 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1511 paramstring)
1512 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1513 self._data = super(CachedRequest, self).submit()
1514 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1515 data = request.submit()
1516 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1517 default_info = self._get_siteinfo(props, expiry)
1518 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1519 preloaded = self._get_general(key, expiry)
1520 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1521 return self.get(key, False) # caches and doesn't force it
1522 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1523 return self.siteinfo['lang']
1524 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1525 'lang': site.lang if site else '',
1526 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1527 headers['user-agent'] = user_agent(site, format_string)
1528 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1529 return obj(*__args, **__kw)
1530 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1531 body=body, headers=headers)
1532 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1533 paramstring)
1534 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1535 self._data = super(CachedRequest, self).submit()
1536 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1537 data = request.submit()
1538 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1539 default_info = self._get_siteinfo(props, expiry)
1540 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1541 preloaded = self._get_general(key, expiry)
1542 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1543 return self.get(key, False) # caches and doesn't force it
1544 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1545 return self.siteinfo['lang']
1546 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1547 'lang': site.lang if site else '',
1548 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1549 headers['user-agent'] = user_agent(site, format_string)
1550 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1551 return obj(*__args, **__kw)
1552 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1553 body=body, headers=headers)
1554 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1555 paramstring)
1556 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1557 self._data = super(CachedRequest, self).submit()
1558 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1559 data = request.submit()
1560 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1561 default_info = self._get_siteinfo(props, expiry)
1562 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1563 preloaded = self._get_general(key, expiry)
1564 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1565 return self.get(key, False) # caches and doesn't force it
1566 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1567 return self.siteinfo['lang']
1568 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1569 'lang': site.lang if site else '',
1570 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1571 headers['user-agent'] = user_agent(site, format_string)
1572 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1573 return obj(*__args, **__kw)
1574 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1575 body=body, headers=headers)
1576 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1577 paramstring)
1578 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1579 self._data = super(CachedRequest, self).submit()
1580 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1581 data = request.submit()
1582 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1583 default_info = self._get_siteinfo(props, expiry)
1584 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1585 preloaded = self._get_general(key, expiry)
1586 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1587 return self.get(key, False) # caches and doesn't force it
1588 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1589 return self.siteinfo['lang']
1590 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1591 'lang': site.lang if site else '',
1592 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1593 headers['user-agent'] = user_agent(site, format_string)
1594 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1595 return obj(*__args, **__kw)
1596 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1597 body=body, headers=headers)
1598 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1599 paramstring)
1600 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1601 self._data = super(CachedRequest, self).submit()
1602 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1603 data = request.submit()
1604 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1605 default_info = self._get_siteinfo(props, expiry)
1606 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1607 preloaded = self._get_general(key, expiry)
1608 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1609 return self.get(key, False) # caches and doesn't force it
1610 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1611 return self.siteinfo['lang']
1612 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1613 'lang': site.lang if site else '',
1614 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1615 headers['user-agent'] = user_agent(site, format_string)
1616 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1617 return obj(*__args, **__kw)
1618 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1619 body=body, headers=headers)
1620 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1621 paramstring)
1622 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1623 self._data = super(CachedRequest, self).submit()
1624 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1625 data = request.submit()
1626 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1627 default_info = self._get_siteinfo(props, expiry)
1628 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1629 preloaded = self._get_general(key, expiry)
1630 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1631 return self.get(key, False) # caches and doesn't force it
1632 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1633 return self.siteinfo['lang']
1634 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1635 'lang': site.lang if site else '',
1636 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1637 headers['user-agent'] = user_agent(site, format_string)
1638 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1639 return obj(*__args, **__kw)
1640 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1641 body=body, headers=headers)
1642 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1643 paramstring)
1644 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1645 self._data = super(CachedRequest, self).submit()
1646 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1647 data = request.submit()
1648 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1649 default_info = self._get_siteinfo(props, expiry)
1650 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1651 preloaded = self._get_general(key, expiry)
1652 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1653 return self.get(key, False) # caches and doesn't force it
1654 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1655 return self.siteinfo['lang']
1656 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1657 'lang': site.lang if site else '',
1658 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1659 headers['user-agent'] = user_agent(site, format_string)
1660 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1661 return obj(*__args, **__kw)
1662 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1663 body=body, headers=headers)
1664 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1665 paramstring)
1666 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1667 self._data = super(CachedRequest, self).submit()
1668 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1669 data = request.submit()
1670 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1671 default_info = self._get_siteinfo(props, expiry)
1672 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1673 preloaded = self._get_general(key, expiry)
1674 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1675 return self.get(key, False) # caches and doesn't force it
1676 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1677 return self.siteinfo['lang']
1678 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1679 'lang': site.lang if site else '',
1680 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1681 headers['user-agent'] = user_agent(site, format_string)
1682 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1683 return obj(*__args, **__kw)
1684 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1685 body=body, headers=headers)
1686 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1687 paramstring)
1688 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1689 self._data = super(CachedRequest, self).submit()
1690 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1691 data = request.submit()
1692 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1693 default_info = self._get_siteinfo(props, expiry)
1694 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1695 preloaded = self._get_general(key, expiry)
1696 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1697 return self.get(key, False) # caches and doesn't force it
1698 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1699 return self.siteinfo['lang']
1700 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1701 'lang': site.lang if site else '',
1702 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1703 headers['user-agent'] = user_agent(site, format_string)
1704 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1705 return obj(*__args, **__kw)
1706 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1707 body=body, headers=headers)
1708 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1709 paramstring)
1710 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1711 self._data = super(CachedRequest, self).submit()
1712 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1713 data = request.submit()
1714 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1715 default_info = self._get_siteinfo(props, expiry)
1716 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1717 preloaded = self._get_general(key, expiry)
1718 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1719 return self.get(key, False) # caches and doesn't force it
1720 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1721 return self.siteinfo['lang']
1722 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1723 'lang': site.lang if site else '',
1724 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1725 headers['user-agent'] = user_agent(site, format_string)
1726 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1727 return obj(*__args, **__kw)
1728 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1729 body=body, headers=headers)
1730 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1731 paramstring)
1732 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1733 self._data = super(CachedRequest, self).submit()
1734 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1735 data = request.submit()
1736 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1737 default_info = self._get_siteinfo(props, expiry)
1738 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1739 preloaded = self._get_general(key, expiry)
1740 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1741 return self.get(key, False) # caches and doesn't force it
1742 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1743 return self.siteinfo['lang']
1744 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1745 'lang': site.lang if site else '',
1746 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1747 headers['user-agent'] = user_agent(site, format_string)
1748 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1749 return obj(*__args, **__kw)
1750 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1751 body=body, headers=headers)
1752 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1753 paramstring)
1754 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1755 self._data = super(CachedRequest, self).submit()
1756 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1757 data = request.submit()
1758 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1759 default_info = self._get_siteinfo(props, expiry)
1760 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1761 preloaded = self._get_general(key, expiry)
1762 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1763 return self.get(key, False) # caches and doesn't force it
1764 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1765 return self.siteinfo['lang']
1766 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1767 'lang': site.lang if site else '',
1768 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1769 headers['user-agent'] = user_agent(site, format_string)
1770 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1771 return obj(*__args, **__kw)
1772 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1773 body=body, headers=headers)
1774 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1775 paramstring)
1776 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1777 self._data = super(CachedRequest, self).submit()
1778 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1779 data = request.submit()
1780 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1781 default_info = self._get_siteinfo(props, expiry)
1782 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1783 preloaded = self._get_general(key, expiry)
1784 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1785 return self.get(key, False) # caches and doesn't force it
1786 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1787 return self.siteinfo['lang']
1788 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1789 'lang': site.lang if site else '',
1790 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1791 headers['user-agent'] = user_agent(site, format_string)
1792 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1793 return obj(*__args, **__kw)
1794 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1795 body=body, headers=headers)
1796 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1797 paramstring)
1798 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1799 self._data = super(CachedRequest, self).submit()
1800 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1801 data = request.submit()
1802 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1803 default_info = self._get_siteinfo(props, expiry)
1804 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1805 preloaded = self._get_general(key, expiry)
1806 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1807 return self.get(key, False) # caches and doesn't force it
1808 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1809 return self.siteinfo['lang']
1810 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1811 'lang': site.lang if site else '',
1812 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1813 headers['user-agent'] = user_agent(site, format_string)
1814 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1815 return obj(*__args, **__kw)
1816 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1817 body=body, headers=headers)
1818 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1819 paramstring)
1820 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1821 self._data = super(CachedRequest, self).submit()
1822 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1823 data = request.submit()
1824 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1825 default_info = self._get_siteinfo(props, expiry)
1826 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1827 preloaded = self._get_general(key, expiry)
1828 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1829 return self.get(key, False) # caches and doesn't force it
1830 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1831 return self.siteinfo['lang']
1832 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1833 'lang': site.lang if site else '',
1834 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1835 headers['user-agent'] = user_agent(site, format_string)
1836 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1837 return obj(*__args, **__kw)
1838 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1839 body=body, headers=headers)
1840 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1841 paramstring)
1842 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1843 self._data = super(CachedRequest, self).submit()
1844 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1845 data = request.submit()
1846 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1847 default_info = self._get_siteinfo(props, expiry)
1848 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1849 preloaded = self._get_general(key, expiry)
1850 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1851 return self.get(key, False) # caches and doesn't force it
1852 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1853 return self.siteinfo['lang']
1854 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1855 'lang': site.lang if site else '',
1856 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1857 headers['user-agent'] = user_agent(site, format_string)
1858 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1859 return obj(*__args, **__kw)
1860 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1861 body=body, headers=headers)
1862 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1863 paramstring)
1864 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1865 self._data = super(CachedRequest, self).submit()
1866 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1867 data = request.submit()
1868 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1869 default_info = self._get_siteinfo(props, expiry)
1870 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1871 preloaded = self._get_general(key, expiry)
1872 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1873 return self.get(key, False) # caches and doesn't force it
1874 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1875 return self.siteinfo['lang']
1876 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1877 'lang': site.lang if site else '',
1878 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1879 headers['user-agent'] = user_agent(site, format_string)
1880 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1881 return obj(*__args, **__kw)
1882 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1883 body=body, headers=headers)
1884 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1885 paramstring)
1886 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1887 self._data = super(CachedRequest, self).submit()
1888 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1889 data = request.submit()
1890 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1891 default_info = self._get_siteinfo(props, expiry)
1892 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1893 preloaded = self._get_general(key, expiry)
1894 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1895 return self.get(key, False) # caches and doesn't force it
1896 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1897 return self.siteinfo['lang']
1898 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1899 'lang': site.lang if site else '',
1900 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1901 headers['user-agent'] = user_agent(site, format_string)
1902 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1903 return obj(*__args, **__kw)
1904 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1905 body=body, headers=headers)
1906 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1907 paramstring)
1908 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1909 self._data = super(CachedRequest, self).submit()
1910 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1911 data = request.submit()
1912 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1913 default_info = self._get_siteinfo(props, expiry)
1914 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1915 preloaded = self._get_general(key, expiry)
1916 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1917 return self.get(key, False) # caches and doesn't force it
1918 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1919 return self.siteinfo['lang']
1920 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1921 'lang': site.lang if site else '',
1922 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1923 headers['user-agent'] = user_agent(site, format_string)
1924 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1925 return obj(*__args, **__kw)
1926 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1927 body=body, headers=headers)
1928 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1929 paramstring)
1930 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1931 self._data = super(CachedRequest, self).submit()
1932 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1933 data = request.submit()
1934 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1935 default_info = self._get_siteinfo(props, expiry)
1936 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1937 preloaded = self._get_general(key, expiry)
1938 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1939 return self.get(key, False) # caches and doesn't force it
1940 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1941 return self.siteinfo['lang']
1942 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1943 'lang': site.lang if site else '',
1944 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1945 headers['user-agent'] = user_agent(site, format_string)
1946 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1947 return obj(*__args, **__kw)
1948 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1949 body=body, headers=headers)
1950 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1951 paramstring)
1952 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1953 self._data = super(CachedRequest, self).submit()
1954 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1955 data = request.submit()
1956 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1957 default_info = self._get_siteinfo(props, expiry)
1958 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1959 preloaded = self._get_general(key, expiry)
1960 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1961 return self.get(key, False) # caches and doesn't force it
1962 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1963 return self.siteinfo['lang']
1964 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1965 'lang': site.lang if site else '',
1966 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1967 headers['user-agent'] = user_agent(site, format_string)
1968 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1969 return obj(*__args, **__kw)
1970 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1971 body=body, headers=headers)
1972 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1973 paramstring)
1974 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1975 self._data = super(CachedRequest, self).submit()
1976 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1977 data = request.submit()
1978 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
1979 default_info = self._get_siteinfo(props, expiry)
1980 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
1981 preloaded = self._get_general(key, expiry)
1982 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
1983 return self.get(key, False) # caches and doesn't force it
1984 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
1985 return self.siteinfo['lang']
1986 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
1987 'lang': site.lang if site else '',
1988 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
1989 headers['user-agent'] = user_agent(site, format_string)
1990 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
1991 return obj(*__args, **__kw)
1992 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
1993 body=body, headers=headers)
1994 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
1995 paramstring)
1996 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
1997 self._data = super(CachedRequest, self).submit()
1998 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
1999 data = request.submit()
2000 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2001 default_info = self._get_siteinfo(props, expiry)
2002 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2003 preloaded = self._get_general(key, expiry)
2004 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2005 return self.get(key, False) # caches and doesn't force it
2006 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2007 return self.siteinfo['lang']
2008 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2009 'lang': site.lang if site else '',
2010 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2011 headers['user-agent'] = user_agent(site, format_string)
2012 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2013 return obj(*__args, **__kw)
2014 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2015 body=body, headers=headers)
2016 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2017 paramstring)
2018 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2019 self._data = super(CachedRequest, self).submit()
2020 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2021 data = request.submit()
2022 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2023 default_info = self._get_siteinfo(props, expiry)
2024 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2025 preloaded = self._get_general(key, expiry)
2026 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2027 return self.get(key, False) # caches and doesn't force it
2028 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2029 return self.siteinfo['lang']
2030 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2031 'lang': site.lang if site else '',
2032 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2033 headers['user-agent'] = user_agent(site, format_string)
2034 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2035 return obj(*__args, **__kw)
2036 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2037 body=body, headers=headers)
2038 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2039 paramstring)
2040 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2041 self._data = super(CachedRequest, self).submit()
2042 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2043 data = request.submit()
2044 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2045 default_info = self._get_siteinfo(props, expiry)
2046 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2047 preloaded = self._get_general(key, expiry)
2048 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2049 return self.get(key, False) # caches and doesn't force it
2050 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2051 return self.siteinfo['lang']
2052 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2053 'lang': site.lang if site else '',
2054 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2055 headers['user-agent'] = user_agent(site, format_string)
2056 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2057 return obj(*__args, **__kw)
2058 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2059 body=body, headers=headers)
2060 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2061 paramstring)
2062 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2063 self._data = super(CachedRequest, self).submit()
2064 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2065 data = request.submit()
2066 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2067 default_info = self._get_siteinfo(props, expiry)
2068 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2069 preloaded = self._get_general(key, expiry)
2070 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2071 return self.get(key, False) # caches and doesn't force it
2072 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2073 return self.siteinfo['lang']
2074 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2075 'lang': site.lang if site else '',
2076 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2077 headers['user-agent'] = user_agent(site, format_string)
2078 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2079 return obj(*__args, **__kw)
2080 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2081 body=body, headers=headers)
2082 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2083 paramstring)
2084 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2085 self._data = super(CachedRequest, self).submit()
2086 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2087 data = request.submit()
2088 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2089 default_info = self._get_siteinfo(props, expiry)
2090 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2091 preloaded = self._get_general(key, expiry)
2092 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2093 return self.get(key, False) # caches and doesn't force it
2094 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2095 return self.siteinfo['lang']
2096 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2097 'lang': site.lang if site else '',
2098 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2099 headers['user-agent'] = user_agent(site, format_string)
2100 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2101 return obj(*__args, **__kw)
2102 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2103 body=body, headers=headers)
2104 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2105 paramstring)
2106 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2107 self._data = super(CachedRequest, self).submit()
2108 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2109 data = request.submit()
2110 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2111 default_info = self._get_siteinfo(props, expiry)
2112 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2113 preloaded = self._get_general(key, expiry)
2114 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2115 return self.get(key, False) # caches and doesn't force it
2116 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2117 return self.siteinfo['lang']
2118 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2119 'lang': site.lang if site else '',
2120 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2121 headers['user-agent'] = user_agent(site, format_string)
2122 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2123 return obj(*__args, **__kw)
2124 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2125 body=body, headers=headers)
2126 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2127 paramstring)
2128 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2129 self._data = super(CachedRequest, self).submit()
2130 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2131 data = request.submit()
2132 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2133 default_info = self._get_siteinfo(props, expiry)
2134 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2135 preloaded = self._get_general(key, expiry)
2136 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2137 return self.get(key, False) # caches and doesn't force it
2138 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2139 return self.siteinfo['lang']
2140 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2141 'lang': site.lang if site else '',
2142 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2143 headers['user-agent'] = user_agent(site, format_string)
2144 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2145 return obj(*__args, **__kw)
2146 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2147 body=body, headers=headers)
2148 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2149 paramstring)
2150 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2151 self._data = super(CachedRequest, self).submit()
2152 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2153 data = request.submit()
2154 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2155 default_info = self._get_siteinfo(props, expiry)
2156 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2157 preloaded = self._get_general(key, expiry)
2158 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2159 return self.get(key, False) # caches and doesn't force it
2160 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2161 return self.siteinfo['lang']
2162 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2163 'lang': site.lang if site else '',
2164 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2165 headers['user-agent'] = user_agent(site, format_string)
2166 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2167 return obj(*__args, **__kw)
2168 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2169 body=body, headers=headers)
2170 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2171 paramstring)
2172 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2173 self._data = super(CachedRequest, self).submit()
2174 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2175 data = request.submit()
2176 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2177 default_info = self._get_siteinfo(props, expiry)
2178 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2179 preloaded = self._get_general(key, expiry)
2180 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2181 return self.get(key, False) # caches and doesn't force it
2182 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2183 return self.siteinfo['lang']
2184 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2185 'lang': site.lang if site else '',
2186 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2187 headers['user-agent'] = user_agent(site, format_string)
2188 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2189 return obj(*__args, **__kw)
2190 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2191 body=body, headers=headers)
2192 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2193 paramstring)
2194 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2195 self._data = super(CachedRequest, self).submit()
2196 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2197 data = request.submit()
2198 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2199 default_info = self._get_siteinfo(props, expiry)
2200 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2201 preloaded = self._get_general(key, expiry)
2202 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2203 return self.get(key, False) # caches and doesn't force it
2204 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2205 return self.siteinfo['lang']
2206 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2207 'lang': site.lang if site else '',
2208 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2209 headers['user-agent'] = user_agent(site, format_string)
2210 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2211 return obj(*__args, **__kw)
2212 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2213 body=body, headers=headers)
2214 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2215 paramstring)
2216 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2217 self._data = super(CachedRequest, self).submit()
2218 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2219 data = request.submit()
2220 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2221 default_info = self._get_siteinfo(props, expiry)
2222 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2223 preloaded = self._get_general(key, expiry)
2224 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1630, in __getitem__
2225 return self.get(key, False) # caches and doesn't force it
2226 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2713, in lang
2227 return self.siteinfo['lang']
2228 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 219, in user_agent
2229 'lang': site.lang if site else '',
2230 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/comms/http.py", line 311, in request
2231 headers['user-agent'] = user_agent(site, format_string)
2232 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2233 return obj(*__args, **__kw)
2234 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1744, in _http_request
2235 body=body, headers=headers)
2236 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 1985, in submit
2237 paramstring)
2238 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/data/api.py", line 2234, in submit
2239 self._data = super(CachedRequest, self).submit()
2240 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1541, in _get_siteinfo
2241 data = request.submit()
2242 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1618, in _get_general
2243 default_info = self._get_siteinfo(props, expiry)
2244 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1672, in get
2245 preloaded = self._get_general(key, expiry)
2246 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 2632, in _build_namespaces
2247 for nsdata in self.siteinfo.get('namespaces', cache=False).values():
2248 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/site.py", line 1021, in namespaces
2249 self._namespaces = NamespacesDict(self._build_namespaces())
2250 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/page.py", line 5915, in __init__
2251 self._defaultns = self._source.namespaces[default_namespace]
2252 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2253 return obj(*__args, **__kw)
2254 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/page.py", line 200, in __init__
2255 self._link = Link(title, source=source, default_namespace=ns)
2256 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/page.py", line 2327, in __init__
2257 super(Page, self).__init__(source, title, ns)
2258 File "/home/zhuyifei1999/mw-dev/pywikibot-core/pywikibot/tools/__init__.py", line 1738, in wrapper
2259 return obj(*__args, **__kw)
2260 File "./tests/api_tests.py", line 115, in test_API_error_encoding_ASCII
2261 page = pywikibot.page.Page(self.site, 'ASCII')
2262 File "/usr/lib/python3.7/unittest/case.py", line 628, in run
2263 testMethod()
2264 File "/usr/lib/python3.7/unittest/case.py", line 676, in __call__
2265 return self.run(*args, **kwds)
2266 File "/usr/lib/python3.7/unittest/suite.py", line 122, in run
2267 test(result)
2268 File "/usr/lib/python3.7/unittest/suite.py", line 84, in __call__
2269 return self.run(*args, **kwds)
2270 File "/usr/lib/python3.7/unittest/suite.py", line 122, in run
2271 test(result)
2272 File "/usr/lib/python3.7/unittest/suite.py", line 84, in __call__
2273 return self.run(*args, **kwds)
2274 File "/usr/lib/python3.7/unittest/runner.py", line 176, in run
2275 test(result)
2276 File "/usr/lib/python3.7/unittest/main.py", line 271, in runTests
2277 self.result = testRunner.run(self.test)
2278 File "/usr/lib/python3.7/unittest/main.py", line 101, in __init__
2279 self.runTests()
2280 File "./tests/api_tests.py", line 1191, in <module>
2281 unittest.main()
2282 <built-in method exec of module object at remote 0x7ffff6d16d10>
2283 File "pwb.py", line 96, in run_python_file
2284 main_mod.__dict__)
2285 File "pwb.py", line 292, in main
2286 run_python_file(filename, [filename] + args, argvu, file_package)
2287 File "pwb.py", line 297, in <module>
2288 if not main():

Jul 7 2020, 6:59 AM · Pywikibot, Pywikibot-tests
zhuyifei1999 created P11763 (An Untitled Masterwork).
Jul 7 2020, 6:58 AM
zhuyifei1999 added a comment to T171886: installing pywikibot with pip fails because the package isn't a git repository; setup.py is unable to find the version of pywikibot.

Please reopen this issue - marking it invalid since it's not reproducible in the Wikimedia Universe is not helpful for those having the problem in their own environment .

Jul 7 2020, 6:31 AM · Patch-For-Review, Pywikibot
zhuyifei1999 added a comment to T171886: installing pywikibot with pip fails because the package isn't a git repository; setup.py is unable to find the version of pywikibot.

Installation was done as I said

Jul 7 2020, 3:06 AM · Patch-For-Review, Pywikibot

Jul 6 2020

zhuyifei1999 added a comment to T171886: installing pywikibot with pip fails because the package isn't a git repository; setup.py is unable to find the version of pywikibot.

Also, see above,

Jul 6 2020, 11:56 PM · Patch-For-Review, Pywikibot
zhuyifei1999 added a comment to T171886: installing pywikibot with pip fails because the package isn't a git repository; setup.py is unable to find the version of pywikibot.

The paste? If so, you should be able to access it now.

Jul 6 2020, 11:45 PM · Patch-For-Review, Pywikibot
zhuyifei1999 added a comment to T171886: installing pywikibot with pip fails because the package isn't a git repository; setup.py is unable to find the version of pywikibot.

I've seen this fatal in multiple repositories installing pywikibot 3.0.20200703 via PyPI with Python 3.5-3.10a on xenial (Travis CI)

{P11754}

Jul 6 2020, 5:02 PM · Patch-For-Review, Pywikibot
zhuyifei1999 closed T171886: installing pywikibot with pip fails because the package isn't a git repository; setup.py is unable to find the version of pywikibot as Invalid.

Cannot reproduce on Ubuntu 18.04 LTS docker image.

Jul 6 2020, 9:51 AM · Patch-For-Review, Pywikibot
zhuyifei1999 edited P11743 (An Untitled Masterwork).
Jul 6 2020, 9:47 AM
zhuyifei1999 created P11743 (An Untitled Masterwork).
Jul 6 2020, 9:46 AM

Jun 25 2020

zhuyifei1999 added a comment to T256426: Extremely high latency over NFS between kubernetes node and bastion host.

So, from IRC chat, it's probably an NFS cache somewhere, but since we are on a slow connection to NFS we can't disable much of any NFS cache.

Jun 25 2020, 10:04 PM · cloud-services-team (Kanban), Toolforge, Kubernetes
zhuyifei1999 added a comment to T256426: Extremely high latency over NFS between kubernetes node and bastion host.

(tried noac, didn't help)

Jun 25 2020, 9:50 PM · cloud-services-team (Kanban), Toolforge, Kubernetes
zhuyifei1999 added a comment to T256426: Extremely high latency over NFS between kubernetes node and bastion host.

Root ssh on spare bastion. Running tail on the uwsgi host seems to decrease the latency somewhat (watch the timestamps), but if I don't run tail on the uwsgi host there is definitely significant (many seconds) latency

Jun 25 2020, 9:30 PM · cloud-services-team (Kanban), Toolforge, Kubernetes
zhuyifei1999 added a comment to T256426: Extremely high latency over NFS between kubernetes node and bastion host.

That was probably to me ;)

Jun 25 2020, 9:25 PM · cloud-services-team (Kanban), Toolforge, Kubernetes
zhuyifei1999 added a comment to T256426: Extremely high latency over NFS between kubernetes node and bastion host.

Top left: tail on usused bastion.
Bottom left: tail on host that is running uwsgi
Bottom right: strace on uwsgi
Top right: firefox refreshing the page

Jun 25 2020, 9:18 PM · cloud-services-team (Kanban), Toolforge, Kubernetes
zhuyifei1999 added a project to T256426: Extremely high latency over NFS between kubernetes node and bastion host: cloud-services-team.
Jun 25 2020, 8:48 PM · cloud-services-team (Kanban), Toolforge, Kubernetes

Jun 18 2020

zhuyifei1999 awarded T255635: Proposal to protect the master branch for https://github.com/toolforge/paws a Like token.
Jun 18 2020, 4:27 AM · cloud-services-team (Kanban), PAWS

Jun 9 2020

zhuyifei1999 added a comment to T254700: Citoid requests for YouTube metadata is giving 429: too many requests HTTP error.

@zhuyifei1999 @Varnent do you have contacts at YouTube / Google for potentially getting citoid whitelisted for this use case?

Jun 9 2020, 1:14 PM · Citoid

Jun 8 2020

zhuyifei1999 added a comment to T254747: dologmsg not found using cron/jsub.

The reason why it's on bastion: https://github.com/wikimedia/puppet/blob/3dfca34f0933b50900b489a44aa7190ee2fc667a/modules/role/manifests/wmcs/toolforge/bastion.pp#L14

Jun 8 2020, 1:50 PM · cloud-services-team (Kanban), WM-Bot, Toolforge

Jun 1 2020

zhuyifei1999 awarded T251786: Changes to fontcdn would be helpful for the new toolforge domains a Like token.
Jun 1 2020, 12:17 PM · cloud-services-team (Kanban), Toolforge, Tools

May 24 2020

zhuyifei1999 closed T246031: Create a README.md file for PAWS on Github as Resolved.
May 24 2020, 6:08 PM · Documentation, good first task, PAWS
zhuyifei1999 added a comment to T246031: Create a README.md file for PAWS on Github.

Looking at it, https://github.com/toolforge/paws/blob/master/README.md already exists. Probably nothing to be done and should close instead.

May 24 2020, 6:04 PM · Documentation, good first task, PAWS
zhuyifei1999 added a comment to T246031: Create a README.md file for PAWS on Github.

This task is literally writing a README.md for the repository https://github.com/toolforge/paws.

May 24 2020, 3:30 PM · Documentation, good first task, PAWS
zhuyifei1999 added a comment to T253474: /bin/sh: 1: [: missing ] for cron on toolforge.

heh. [ is actually an executable that looks for ] as the very last argument. https://github.com/coreutils/coreutils/blob/46e0ce5e5d03891d7b175d5050cf7cce0632c668/src/test.c#L849

May 24 2020, 3:16 PM · Toolforge

May 20 2020

zhuyifei1999 placed T188564: Quarry should refuse to save results that are way too large up for grabs.
May 20 2020, 6:54 PM · Quarry

May 19 2020

zhuyifei1999 added a comment to T253071: Grant permissions to TravisCI for the Toolforge GitHub organization.

Oops, I granted access when I tried to fix T252290: Pywikibot on PAWS is not getting updates to latest stable. Didn't think that was anything major to wait on a ticket for it. It doesn't work with the build due to the lack of creds though.

May 19 2020, 12:13 AM · Toolforge, cloud-services-team (Kanban), PAWS

May 15 2020

zhuyifei1999 awarded T249774: Grant "Cloud admin" rights to Reedy a Like token.
May 15 2020, 11:01 PM · User-bd808, cloud-services-team (Kanban), Cloud-VPS

May 14 2020

zhuyifei1999 added a comment to T248960: Sopel is not recording last event correctly causing server timeout.

Caught a trace of zppixbot-test failing: P11192. Keeping it private because there are way too many lines for me to look through to see what need redacting

May 14 2020, 9:26 AM · Upstream, User-RhinosF1, ZppixBot

May 13 2020

zhuyifei1999 committed rTVTC96f2da202f67: encode: Add parameter -max_muxing_queue_size 4096 (authored by zhuyifei1999).
encode: Add parameter -max_muxing_queue_size 4096
May 13 2020, 12:22 AM

May 10 2020

zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

You can refer them to this ticket if needed.

May 10 2020, 11:13 PM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

It seems normal for AWS server to have that sort of FQDN internally. This is one of my AWS servers I sometimes test stuffs on:

May 10 2020, 12:04 PM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.
2020-05-10 08:22:46 H=ec2-34-211-101-61.us-west-2.compute.amazonaws.com (ip-10-30-118-124.us-west-2.compute.internal) [34.211.101.61] Warning: Sender address webapp@ip-10-30-118-124.us-west-2.compute.internal has exceeded rate limit of  messages per 1h
2020-05-10 08:22:46 H=ec2-34-211-101-61.us-west-2.compute.amazonaws.com (ip-10-30-118-124.us-west-2.compute.internal) [34.211.101.61] sender verify fail for <webapp@ip-10-30-118-124.us-west-2.compute.internal>: Unrouteable address
2020-05-10 08:22:46 H=ec2-34-211-101-61.us-west-2.compute.amazonaws.com (ip-10-30-118-124.us-west-2.compute.internal) [34.211.101.61] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no F=<webapp@ip-10-30-118-124.us-west-2.compute.internal> rejected RCPT <tools.pywikibot@tools.wmflabs.org>: Sender verify failed
May 10 2020, 11:57 AM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

Same thing as T249114#6073998:

May 10 2020, 9:13 AM · Pywikibot, Toolforge, cloud-services-team (Kanban)

May 9 2020

zhuyifei1999 renamed T252290: Pywikibot on PAWS is not getting updates to latest stable from Update Pywikibot to the most recent version to Pywikibot on PAWS is not getting updates to latest stable.
May 9 2020, 1:43 PM · Wikimedia-Hackathon-2020, Pywikibot, PAWS
zhuyifei1999 closed T252290: Pywikibot on PAWS is not getting updates to latest stable as Resolved.

PR, https://github.com/toolforge/paws/pull/47 self-merged & deployed.

May 9 2020, 1:38 PM · Wikimedia-Hackathon-2020, Pywikibot, PAWS
zhuyifei1999 added a comment to T252290: Pywikibot on PAWS is not getting updates to latest stable.

See T217908 and I propose to decline this request. The stable tag should be used by default. The master branch is for development only.

May 9 2020, 1:23 PM · Wikimedia-Hackathon-2020, Pywikibot, PAWS
zhuyifei1999 added a comment to T252290: Pywikibot on PAWS is not getting updates to latest stable.

https://github.com/toolforge/paws/blob/9f524591cf7cc72ff9e10212f07023ee28618347/paws/values.yaml#L133 This needs fixing

May 9 2020, 1:23 PM · Wikimedia-Hackathon-2020, Pywikibot, PAWS
zhuyifei1999 added a comment to T252290: Pywikibot on PAWS is not getting updates to latest stable.

It's pinned to the stable tag. https://github.com/toolforge/paws/blob/f0362dfe2899ab00d0e8870b8967f942368a6874/images/singleuser/Dockerfile#L125

May 9 2020, 12:26 PM · Wikimedia-Hackathon-2020, Pywikibot, PAWS

Apr 23 2020

zhuyifei1999 closed T250939: pywikibot login failed as Invalid.
Apr 23 2020, 8:17 PM · Pywikibot

Apr 21 2020

zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.
01:37:33 0 ✓ zhuyifei1999@tools-mail-02: ~$ sudo less /var/log/exim4/mainlog | grep pywikibot
2020-04-20 15:24:48 H=ec2-34-211-101-61.us-west-2.compute.amazonaws.com (ip-10-30-118-118.us-west-2.compute.internal) [34.211.101.61] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no F=<webapp@ip-10-30-118-118.us-west-2.compute.internal> rejected RCPT <tools.pywikibot@tools.wmflabs.org>: Sender verify failed
Apr 21 2020, 1:38 AM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

@zhuyifei1999 Could you once more look for any message(s) from kernel.org? (T245350#6043128)

Apr 21 2020, 1:33 AM · Pywikibot, Toolforge, cloud-services-team (Kanban)

Apr 16 2020

zhuyifei1999 added a comment to T250365: Unable to SSH into instances project 'wikilink'.

Project membership missing from LDAP:

Apr 16 2020, 11:18 AM · Cloud-Services

Apr 9 2020

zhuyifei1999 added a comment to T249786: wikisense unusable due to "504 Gateway Time-out".

See also https://commons.wikimedia.org/wiki/#gallery_tool_-_time-out

Apr 9 2020, 2:49 AM · Tools

Apr 8 2020

zhuyifei1999 merged T174498: Monumental tool failed to load bundle.min.js into T242719: https://tools.wmflabs.org/{toolname} no longer redirects to https://tools.wmflabs.org/{toolname}/ on new k8s cluster.
Apr 8 2020, 9:35 AM · Patch-For-Review, Toolforge, cloud-services-team (Kanban), Kubernetes
zhuyifei1999 merged task T174498: Monumental tool failed to load bundle.min.js into T242719: https://tools.wmflabs.org/{toolname} no longer redirects to https://tools.wmflabs.org/{toolname}/ on new k8s cluster.
Apr 8 2020, 9:35 AM · Monumental
zhuyifei1999 added a comment to T174498: Monumental tool failed to load bundle.min.js.

Looks like a side effect of T214513 it seems.

Apr 8 2020, 9:27 AM · Monumental
zhuyifei1999 placed T174498: Monumental tool failed to load bundle.min.js up for grabs.
Apr 8 2020, 9:12 AM · Monumental

Apr 6 2020

zhuyifei1999 updated subscribers of T249558: tools-static.wmflabs.org/cdnjs URLs getting 403.

Ok, summarizing what happened during IRC debugging:

Apr 6 2020, 11:30 PM · Toolforge, cloud-services-team (Kanban)
zhuyifei1999 created P10918 (An Untitled Masterwork).
Apr 6 2020, 11:27 PM
zhuyifei1999 edited P10917 (An Untitled Masterwork).
Apr 6 2020, 11:26 PM
zhuyifei1999 created P10917 (An Untitled Masterwork).
Apr 6 2020, 11:26 PM
zhuyifei1999 added a comment to T249558: tools-static.wmflabs.org/cdnjs URLs getting 403.

Oh oops... I curled tools-static rather than upstream.

Apr 6 2020, 10:21 PM · Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T249558: tools-static.wmflabs.org/cdnjs URLs getting 403.

IP-based block?

Apr 6 2020, 10:10 PM · Toolforge, cloud-services-team (Kanban)

Apr 2 2020

zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

Forwarded

Apr 2 2020, 11:48 PM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 placed T245426: Earwig's copyvio tool 504 gateway time-out issues up for grabs.

@zhuyifei1999 I didn't comment earlier, but I don't see anything unusual in these graphs.

Apr 2 2020, 6:53 PM · Tools
zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

I can forward them when I wake up.

Apr 2 2020, 11:11 AM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T248960: Sopel is not recording last event correctly causing server timeout.

strace-ing:

root@tools-k8s-worker-54:/# strace -qq -fp 23 -s 1024 -t -e execve,read,write,send,recv,socket,connect,network
[pid    23] 10:07:15 recvfrom(3, ":zhuyifei1999_!sid97661@wikimedia/zhuyifei1999 PART #ZppixBot\r\n", 65536, 0, NULL, NULL) = 63
[pid    23] 10:07:15 write(4, "2020-04-02 10:07:15,467 <<\t:zhuyifei1999_!sid97661@wikimedia/zhuyifei1999 PART #ZppixBot\n", 89) = 89
[pid    23] 10:07:20 recvfrom(3, ":zhuyifei1999_!sid97661@wikimedia/zhuyifei1999 JOIN #ZppixBot zhuyifei1999 :My name is hidden, dude\r\n", 65536, 0, NULL, NULL) = 101
[pid    23] 10:07:20 write(4, "2020-04-02 10:07:20,110 <<\t:zhuyifei1999_!sid97661@wikimedia/zhuyifei1999 JOIN #ZppixBot zhuyifei1999 :My name is hidden, dude\n", 127) = 127
[pid    23] 10:08:08 recvfrom(3, "PING :weber.freenode.net\r\n", 65536, 0, NULL, NULL) = 26
[pid    23] 10:08:08 write(4, "2020-04-02 10:08:08,988 <<\tPING :weber.freenode.net\n", 52) = 52
[pid    23] 10:08:08 sendto(3, "PONG weber.freenode.net\r\n", 25, 0, NULL, 0) = 25
[pid    23] 10:08:08 write(4, "2020-04-02 10:08:08,989 >>\tPONG weber.freenode.net\n", 51) = 51
Apr 2 2020, 10:11 AM · Upstream, User-RhinosF1, ZppixBot
zhuyifei1999 removed a subtask for T245758: Design and Develop a tool to correct false depicts claims manually on Wikimedia Commons: T249015: (Proposal) Tool to correct false depicts claims manually on Wikimedia Commons.
Apr 2 2020, 6:11 AM · Technical-Tool-Request, Outreach-Programs-Projects, Google-Summer-of-Code (2020), Africa-Wikimedia-Developers
zhuyifei1999 removed a parent task for T249015: (Proposal) Tool to correct false depicts claims manually on Wikimedia Commons: T245758: Design and Develop a tool to correct false depicts claims manually on Wikimedia Commons.
Apr 2 2020, 6:11 AM · Google-Summer-of-Code (2020)

Apr 1 2020

zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

@Dvorapa I got the verify mail, I can PM you the link on IRC if you want.

Apr 1 2020, 9:39 PM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 renamed T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF from E-mails from noreply@pypi.org are not delivered to tools.pywikibot@tools.wmflabs.org for more than a year to E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.
Apr 1 2020, 9:08 PM · Pywikibot, Toolforge, cloud-services-team (Kanban)
zhuyifei1999 added a comment to T249114: E-mails from noreply@pypi.org to tools.pywikibot@tools.wmflabs.org are not forwarded to certain recipients due to SPF.

sudo less /var/log/exim4/mainlog | grep pywikibot:

2020-04-01 12:02:28 1jJc4g-0002aF-7I ** [xqt email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=no: SMTP error from remote mail server after pipelined MAIL FROM:<01010171359efc66-6126f5a5-9d4c-435d-b199-28a8c2db379d-000000@ses.pypi.org> SIZE=4599: 550 5.7.1 spf policy (FAILED)
2020-04-01 12:02:29 1jJc4g-0002aF-7I => [multichill email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:29 1jJc4g-0002aF-7I => [jayvdb email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:29 1jJc4g-0002aF-7I -> [legoktm email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:29 1jJc4g-0002aF-7I -> [zhuyifei1999 email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:29 1jJc4g-0002aF-7I -> [dalba email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:29 1jJc4g-0002aF-7I -> [ladsgroup email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:29 1jJc4g-0002aF-7I => [valhallasw email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:30 1jJc4g-0002aF-7I => [framawiki email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:RSA_AES_256_GCM_SHA384:256 CV=yes C="250 [REDACTED]"
2020-04-01 12:02:31 1jJc4g-0002aF-7I ** [dvorapa email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256 CV=yes: SMTP error from remote mail server after pipelined MAIL FROM:<01010171359efc66-6126f5a5-9d4c-435d-b199-28a8c2db379d-000000@ses.pypi.org> SIZE=4599: 550 5.7.1 Sender Policy Framework of `ses.pypi.org' domain denied your IP address.
2020-04-01 12:02:32 1jJc4g-0002aF-7I => [russblau email] <tools.pywikibot@tools.wmflabs.org> R=dnslookup T=remote_smtp H=[REDACTED] X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 CV=yes C="250 [REDACTED]"
Apr 1 2020, 9:04 PM · Pywikibot, Toolforge, cloud-services-team (Kanban)

Mar 29 2020

zhuyifei1999 renamed T123823: Renumber commons TimedText namespace 102 to 710 from Renumber commons namespace 102 to 710 to Renumber commons TimedText namespace 102 to 710.
Mar 29 2020, 2:07 AM · Commons, Technical-Debt, Wikimedia-Site-requests, TimedMediaHandler

Mar 28 2020

zhuyifei1999 added a comment to T248581: PROPOSAL: To Design and Develop a tool to correct False depicts claims manually on Wikimedia Commons.

Hence this Project focuses on building such a tool named “WikiCommons Image Verification Tool”

Mar 28 2020, 11:40 PM · Google-Summer-of-Code (2020)
zhuyifei1999 added a comment to T236341: Decouple UploadWizardConfig.maxUploads and maxUploads for Flickr imports.

Probably the most practical thing to do would be to apply this to beta cluster to test it.

Mar 28 2020, 9:01 AM · MW-1.35-notes (1.35.0-wmf.30; 2020-04-28), Commons, UploadWizard
zhuyifei1999 edited projects for T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02), added: Toolforge; removed Cloud-Services.
Mar 28 2020, 8:16 AM · Toolforge, Patch-For-Review
zhuyifei1999 added a comment to T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).

Ah I see. Wrong path.

Mar 28 2020, 8:12 AM · Toolforge, Patch-For-Review
zhuyifei1999 updated subscribers of T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).

@Bstorm @herron I can't see T175964, but I'm pretty sure https://gerrit.wikimedia.org/r/#/c/operations/puppet/+/379239/ somehow broke it.

Mar 28 2020, 8:07 AM · Toolforge, Patch-For-Review
zhuyifei1999 renamed T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02) from tools.wmflabs.org email isn't received to tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).
Mar 28 2020, 8:03 AM · Toolforge, Patch-For-Review
zhuyifei1999 added a comment to T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).
root@tools-mail-02:~# puppet agent -tv
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for tools-mail-02.tools.eqiad.wmflabs
Notice: /Stage[main]/Base::Environment/Tidy[/var/tmp/core]: Tidying 0 files
Info: Applying configuration version '(1a925f799b) Bstorm - Add rate limiting to profile::toolforge::mailrelay with warn action'
Notice: The LDAP client stack for this host is: classic/sudoldap
Notice: /Stage[main]/Profile::Ldap::Client::Labs/Notify[LDAP client stack]/message: defined 'message' as 'The LDAP client stack for this host is: classic/sudoldap'
Error: /Stage[main]/Profile::Toolforge::Mailrelay/File[/etc/exim4/ratelimits/sender_hourly_limits]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/profile/toolforge/mailrelay/ratelimits/sender_hourly_limits
Error: /Stage[main]/Profile::Toolforge::Mailrelay/File[/etc/exim4/ratelimits/host_hourly_limits]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/profile/toolforge/mailrelay/ratelimits/host_hourly_limits
Notice: /Stage[main]/Profile::Toolforge::Mailrelay/Letsencrypt::Cert::Integrated[tools_mail]/Exec[acme-setup-acme-tools_mail]/returns: executed successfully
Info: Class[Profile::Toolforge::Mailrelay]: Unscheduling all events on Class[Profile::Toolforge::Mailrelay]
Info: Stage[main]: Unscheduling all events on Stage[main]
Notice: Applied catalog in 12.70 seconds
Mar 28 2020, 8:02 AM · Toolforge, Patch-For-Review
zhuyifei1999 added a comment to T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).

failed to open /etc/exim4/ratelimits/host_hourly_limits for linear search: No such file or directory

Mar 28 2020, 8:00 AM · Toolforge, Patch-For-Review
zhuyifei1999 added a comment to T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).

I see lots of fails that look like config issue in exim4 mainlog:

Mar 28 2020, 7:57 AM · Toolforge, Patch-For-Review
zhuyifei1999 added a comment to T248731: tools.wmflabs.org email isn't received (puppet failure at tools-mail-02).

DNS looks fine:

Mar 28 2020, 7:52 AM · Toolforge, Patch-For-Review

Mar 26 2020

zhuyifei1999 added a comment to T245426: Earwig's copyvio tool 504 gateway time-out issues.

I don't not able to identify if the graphs are unnatural -- I mean, parsing, which is what it is pending a lot of time on, is an expensive problem. Perhaps @Earwig can tell whether the graphs look expected? If so, then probably there is little I can do than say there is just not enough CPU power to solve the requests in a timely manner under the cpu-limiting cgroups k8s.

Mar 26 2020, 5:32 AM · Tools
zhuyifei1999 added a comment to T245426: Earwig's copyvio tool 504 gateway time-out issues.

60 second, 25 samples per second profile result for both processes:

Mar 26 2020, 5:17 AM · Tools
zhuyifei1999 added a comment to T245426: Earwig's copyvio tool 504 gateway time-out issues.

strace: full of futex(2)...

Mar 26 2020, 4:53 AM · Tools
zhuyifei1999 added a comment to T245426: Earwig's copyvio tool 504 gateway time-out issues.
Thu Mar 26 04:40:44 2020 - *** uWSGI listen queue of socket ":8000" (fd: 7) full !!! (101/100) ***
Mar 26 2020, 4:41 AM · Tools

Mar 20 2020

zhuyifei1999 added a comment to T248190: Request creation of <PROJECT-NAME> VPS project.

How does project this relate to Wikimedia?

Mar 20 2020, 6:37 PM · Cloud-VPS (Project-requests)

Mar 19 2020

zhuyifei1999 added a comment to T245426: Earwig's copyvio tool 504 gateway time-out issues.

Is it really slow even when it's not heavily loaded? In that case if you
could produce a test case I'll see if I can find what is taking the time.

Mar 19 2020, 8:00 AM · Tools

Mar 17 2020

zhuyifei1999 added a comment to T246970: Quarry: Lost connection to MySQL server during query.

a simple request system at https://www.mediawiki.org/wiki/Talk:Quarry

Mar 17 2020, 9:53 PM · Quarry, Data-Services
zhuyifei1999 added a comment to T246970: Quarry: Lost connection to MySQL server during query.

@zhuyifei1999 Perhaps there could be some sort of a trusted user set on quarry that can run things for longer?

Mar 17 2020, 8:41 PM · Quarry, Data-Services

Mar 14 2020

zhuyifei1999 added a comment to T246970: Quarry: Lost connection to MySQL server during query.

@zhuyifei1999: But why? The query used to execute in 11 minutes max. Is it a congestion issue, as Mike Peel suspects?

Mar 14 2020, 7:07 AM · Quarry, Data-Services

Mar 13 2020

zhuyifei1999 raised the priority of T245758: Design and Develop a tool to correct false depicts claims manually on Wikimedia Commons from High to Needs Triage.
Mar 13 2020, 7:41 PM · Technical-Tool-Request, Outreach-Programs-Projects, Google-Summer-of-Code (2020), Africa-Wikimedia-Developers
zhuyifei1999 added a comment to T246970: Quarry: Lost connection to MySQL server during query.

The query was executing for too long then.

Mar 13 2020, 12:31 AM · Quarry, Data-Services