Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地运行出现错误 bug #335

Closed
frank11311 opened this issue Sep 22, 2024 · 4 comments
Closed

本地运行出现错误 bug #335

frank11311 opened this issue Sep 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@frank11311
Copy link

情况:
本地运行FOFA扫描出现错误,同样的配置GitHub托管运行没有问题

错误提示:
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "threading.py", line 870, in run
File "tkinter_ui\tkinter_ui.py", line 112, in run_loop
File "asyncio\base_events.py", line 608, in run_until_complete
File "tkinter_ui\tkinter_ui.py", line 98, in run_update
File "main.py", line 222, in start
File "main.py", line 144, in main
File "main.py", line 111, in visit_page
File "updates\fofa\request.py", line 159, in get_channels_by_fofa
File "concurrent\futures_base.py", line 432, in result
File "concurrent\futures_base.py", line 388, in __get_result
File "concurrent\futures\thread.py", line 57, in run
File "updates\fofa\request.py", line 142, in process_fofa_channels
UnboundLocalError: local variable 'driver' referenced before assignment

配置文件:
[Settings]
open_update = True
open_use_old_result = True
source_file = config/demo.txt
final_file = output/result.txt
open_online_search = True
online_search_page_num = 3
urls_limit = 15
open_keep_all = False
open_sort = True
open_ffmpeg = True
response_time_weight = 0.5
resolution_weight = 0.5
recent_days = 30
ipv_type = all
domain_blacklist = epg.pw,skype.serv00.net
open_m3u_result = True
url_keywords_blacklist =
open_subscribe = False
subscribe_urls = https://raw.githubusercontent.com/frank11311/CTVLive/main/live.txt,https://raw.githubusercontent.com/PizazzGY/TVBox/main/live.txt
open_multicast = True
open_multicast_tonkiang = True
open_multicast_fofa = True
multicast_region_list = 上海
multicast_page_num = 3
open_proxy = False
open_driver = True
open_hotel = True
open_hotel_tonkiang = False
open_hotel_fofa = True
hotel_region_list = 上海
hotel_page_num = 3

截图:
QQ图片20240922150236

@Guovin
Copy link
Owner

Guovin commented Sep 22, 2024

开启浏览器模式请确保系统已安装谷歌浏览器

@frank11311
Copy link
Author

已经安装了Chrome最新版本

@frank11311
Copy link
Author

反而关闭浏览器模式,能正常运行

@Guovin Guovin mentioned this issue Sep 23, 2024
@Guovin Guovin added the bug Something isn't working label Sep 23, 2024
@Guovin Guovin mentioned this issue Sep 26, 2024
@Guovin
Copy link
Owner

Guovin commented Sep 26, 2024

已修复,请更新v1.4.7

@Guovin Guovin closed this as completed Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants