Parse error at or near `JUMP_BACK' instruction
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
Línea de trabajo
Reproduce the parse error with the attached baidu_click.zip using Python 3.8.6, then inspect handling of the whilestmt38 grammar around the JUMP_BACK at line 319. Done means the attached bytecode decompiles without the reported parse error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
python version:3.8.6
file:baidu_click.zip
source: without
error info:
whilestmt38 ::= \e__come_froms testexpr . returns POP_BLOCK
whilestmt38 ::= \e__come_froms testexpr \e_l_stmts_opt . COME_FROM JUMP_BACK POP
_BLOCK
whilestmt38 ::= \e__come_froms testexpr \e_l_stmts_opt . JUMP_BACK POP_BLOCK
whilestmt38 ::= \e__come_froms testexpr \e_l_stmts_opt . JUMP_BACK come_froms
whilestmt38 ::= \e__come_froms testexpr l_stmts . JUMP_BACK
whilestmt38 ::= \e__come_froms testexpr l_stmts . come_froms
whilestmt38 ::= \e__come_froms testexpr l_stmts JUMP_BACK .
whilestmt38 ::= \e__come_froms testexpr l_stmts_opt . COME_FROM JUMP_BACK POP_BL
OCK
whilestmt38 ::= \e__come_froms testexpr l_stmts_opt . JUMP_BACK POP_BLOCK
whilestmt38 ::= \e__come_froms testexpr l_stmts_opt . JUMP_BACK come_froms
whilestmt38 ::= \e__come_froms testexpr l_stmts_opt JUMP_BACK . POP_BLOCK
whilestmt38 ::= \e__come_froms testexpr l_stmts_opt JUMP_BACK . come_froms
whilestmt38 ::= \e__come_froms testexpr l_stmts_opt JUMP_BACK come_froms .
whilestmt38 ::= _come_froms . testexpr \e_l_stmts_opt COME_FROM JUMP_BACK POP_BL
OCK
whilestmt38 ::= _come_froms . testexpr \e_l_stmts_opt JUMP_BACK POP_BLOCK
whilestmt38 ::= _come_froms . testexpr \e_l_stmts_opt JUMP_BACK come_froms
whilestmt38 ::= _come_froms . testexpr l_stmts JUMP_BACK
whilestmt38 ::= _come_froms . testexpr l_stmts come_froms
whilestmt38 ::= _come_froms . testexpr l_stmts_opt COME_FROM JUMP_BACK POP_BLOCK
whilestmt38 ::= _come_froms . testexpr l_stmts_opt JUMP_BACK POP_BLOCK
whilestmt38 ::= _come_froms . testexpr l_stmts_opt JUMP_BACK come_froms
whilestmt38 ::= _come_froms . testexpr returns POP_BLOCK
yield ::= expr . YIELD_VALUE
yield_from ::= expr . GET_YIELD_FROM_ITER LOAD_CONST YIELD_FROM
Instruction context:
->
L. 319 336_338 JUMP_BACK 336 'to 336'
file baidu_click.pyc
--- This code section failed: ---
L. 1 0 LOAD_CONST 0
2 LOAD_CONST ('webdriver',)
4 IMPORT_NAME selenium
6 IMPORT_FROM webdriver
8 STORE_NAME webdriver
10 POP_TOP
L. 2 12 LOAD_CONST 0
14 LOAD_CONST None
16 IMPORT_NAME time
18 STORE_NAME time
L. 3 20 LOAD_CONST 0
22 LOAD_CONST None
24 IMPORT_NAME re
26 STORE_NAME re
L. 4 28 LOAD_CONST 0
30 LOAD_CONST None
32 IMPORT_NAME html
34 STORE_NAME un_html
L. 5 36 LOAD_CONST 0
38 LOAD_CONST None
40 IMPORT_NAME random
42 STORE_NAME random
L. 6 44 LOAD_CONST 0
46 LOAD_CONST None
48 IMPORT_NAME requests
50 STORE_NAME requests
L. 7 52 LOAD_CONST 0
54 LOAD_CONST None
56 IMPORT_NAME os
58 STORE_NAME os
L. 8 60 LOAD_CONST 0
62 LOAD_CONST None
64 IMPORT_NAME configparser
66 STORE_NAME configparser
L. 10 68 LOAD_CODE <code_object read_ini>
70 LOAD_STR 'read_ini'
72 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
74 STORE_NAME read_ini
L. 16 76 LOAD_CODE <code_object strat>
78 LOAD_STR 'strat'
80 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
82 STORE_NAME strat
L. 19 84 LOAD_CODE <code_object strat_baidu>
86 LOAD_STR 'strat_baidu'
88 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
90 STORE_NAME strat_baidu
L. 67 92 LOAD_CODE <code_object input_search>
94 LOAD_STR 'input_search'
96 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
98 STORE_NAME input_search
L. 99 100 LOAD_CODE <code_object Get_html>
102 LOAD_STR 'Get_html'
104 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
106 STORE_NAME Get_html
L. 120 108 LOAD_CODE <code_object next_page>
110 LOAD_STR 'next_page'
112 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
114 STORE_NAME next_page
L. 133 116 LOAD_CODE <code_object link_list>
118 LOAD_STR 'link_list'
120 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
122 STORE_NAME link_list
L. 138 124 LOAD_CODE <code_object zi_data>
126 LOAD_STR 'zi_data'
128 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
130 STORE_NAME zi_data
L. 145 132 LOAD_CODE <code_object click_link>
134 LOAD_STR 'click_link'
136 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
138 STORE_NAME click_link
L. 160 140 LOAD_CODE <code_object click_inSite>
142 LOAD_STR 'click_inSite'
144 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
146 STORE_NAME click_inSite
L. 201 148 LOAD_CODE <code_object get_porxy>
150 LOAD_STR 'get_porxy'
152 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
154 STORE_NAME get_porxy
L. 208 156 LOAD_CODE <code_object web_server>
158 LOAD_STR 'web_server'
160 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
162 STORE_NAME web_server
L. 270 164 LOAD_CODE <code_object api>
166 LOAD_STR 'api'
168 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
170 STORE_NAME api
L. 274 172 LOAD_CODE <code_object save_log>
174 LOAD_STR 'save_log'
176 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
178 STORE_NAME save_log
L. 279 180 LOAD_CODE <code_object connect_ADSL>
182 LOAD_STR 'connect_ADSL'
184 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
186 STORE_NAME connect_ADSL
L. 284 188 LOAD_CODE <code_object disconnect_ADSL>
190 LOAD_STR 'disconnect_ADSL'
192 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
194 STORE_NAME disconnect_ADSL
L. 289 196 LOAD_CODE <code_object reconnect_ADSL>
198 LOAD_STR 'reconnect_ADSL'
200 MAKE_FUNCTION_0 'Neither defaults, keyword-only args
, annotations, nor closures'
202 STORE_NAME reconnect_ADSL
L. 293 204 LOAD_NAME name
206 LOAD_STR 'main'
208 COMPARE_OP ==
210_212 POP_JUMP_IF_FALSE 340 'to 340'
L. 295 214 LOAD_NAME read_ini
216 LOAD_STR 'baseConfig'
218 LOAD_STR 'adsl_power'
220 CALL_FUNCTION_2 2 ''
222 STORE_NAME adsl_power
L. 296 224 LOAD_NAME read_ini
226 LOAD_STR 'baseConfig'
228 LOAD_STR 'adsl_name'
230 CALL_FUNCTION_2 2 ''
232 STORE_NAME adsl_name
L. 297 234 LOAD_NAME read_ini
236 LOAD_STR 'baseConfig'
238 LOAD_STR 'user_name'
240 CALL_FUNCTION_2 2 ''
242 STORE_NAME user_name
L. 298 244 LOAD_NAME read_ini
246 LOAD_STR 'baseConfig'
248 LOAD_STR 'pass_word'
250 CALL_FUNCTION_2 2 ''
252 STORE_NAME pass_word
L. 299 254 LOAD_NAME int
256 LOAD_NAME read_ini
258 LOAD_STR 'baseConfig'
260 LOAD_STR 'page'
262 CALL_FUNCTION_2 2 ''
264 CALL_FUNCTION_1 1 ''
266 STORE_NAME click_num
L. 300 268 LOAD_NAME int
270 LOAD_NAME read_ini
272 LOAD_STR 'baseConfig'
274 LOAD_STR 'page_least'
276 CALL_FUNCTION_2 2 ''
278 CALL_FUNCTION_1 1 ''
280 STORE_NAME link_min
L. 301 282 LOAD_NAME int
284 LOAD_NAME read_ini
286 LOAD_STR 'baseConfig'
288 LOAD_STR 'page_max'
290 CALL_FUNCTION_2 2 ''
292 CALL_FUNCTION_1 1 ''
294 STORE_NAME link_max
L. 302 296 LOAD_NAME read_ini
298 LOAD_STR 'baseConfig'
300 LOAD_STR 'porxy_api'
302 CALL_FUNCTION_2 2 ''
304 STORE_NAME porxy_api
L. 304 306 LOAD_CONST 0
308 STORE_GLOBAL click_off
L. 306 310 LOAD_CONST 0
312 STORE_GLOBAL run_lock
L. 308 314 LOAD_CONST 0
316 STORE_GLOBAL next_lock
L. 310 318 LOAD_CONST 0
320 STORE_GLOBAL next_continue
L. 312 322 LOAD_STR ''
324 STORE_GLOBAL index_handle
L. 314 326 LOAD_CONST 0
328 STORE_GLOBAL ids
L. 316 330 LOAD_NAME strat
332 CALL_FUNCTION_0 0 ''
334 POP_TOP
L. 319 336_338 JUMP_BACK 336 'to 336'
340_0 COME_FROM 210 '210'
Parse error at or near `JUMP_BACK' instruction at offset 336_338
baidu_click.pyc --
decompile failed
F:\python_exe_pojie\baidu_click.exe_extracted>
- Lenguaje dominante
- Python
- Estrellas
- 4.3k
- Forks
- 463
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rocky/python-uncompyle6
-
Works on decompyle3
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
rocky/python-uncompyle6#506 · 1 comentario ·
-
Python 3.8 Volunteer wanted Works on decompyle3
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
rocky/python-uncompyle6#492 · 4 comentarios ·
-
Redundant "else:" AbiertoControl Flow Python 3.8 Volunteer wanted Works on decompyle3
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
rocky/python-uncompyle6#486 ·
-
Missing "While True" AbiertoControl Flow Python 3.8 Volunteer wanted Works on decompyle3
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
rocky/python-uncompyle6#485 · 4 comentarios ·
-
Duplicate Python 3.9+
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
rocky/python-uncompyle6#484 · 9 reacciones ·
Todos los issues de rocky/python-uncompyle6
Issues similares
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Abiertoarea: harness bug status: needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Human-Agent-Society/reef#625 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
learningequality/kolibri#15351 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Name consistency Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
eellak/triplestore#65 · 1 comentario ·