local variable 'package' referenced before assignment
Traceback (most recent call last):
File "D:\ShadowBot\shadowbot-5.14.25\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\ShadowBot\shadowbot-5.14.25\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\ShadowBot\shadowbot-5.14.25\python\lib\site-packages\xbot_interpreter.py", line 97, in <module>
main()
File "D:\ShadowBot\shadowbot-5.14.25\python\lib\site-packages\xbot_interpreter.py", line 57, in main
try:
File "C:\Users\yuanl\AppData\Local\ShadowBot\users\617181848923852802\apps\a6d47eca-050c-449b-a05b-0a159b226c1e\xbot_robot\main.py", line 28, in main
raise e
File "C:\Users\yuanl\AppData\Local\ShadowBot\users\617181848923852802\apps\a6d47eca-050c-449b-a05b-0a159b226c1e\xbot_robot\main.py", line 24, in main
xbot_visual.web.element.click(browser=GPT4_web_page, element=package.selector("new chat"), simulate=True, move_mouse=False, clicks="click", button="left", keys="null", delay_after="1", anchor_type="random", sudoku_part="Random", offset_x="0", offset_y="0", timeout="20", _block=("main", 5, "点击元素(web)"))
UnboundLocalError: local variable 'package' referenced before assignment