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]直接打开tool.exe闪退,用shell报错 #390

Closed
Amakuas opened this issue Apr 7, 2023 · 1 comment
Closed

[BUG]直接打开tool.exe闪退,用shell报错 #390

Amakuas opened this issue Apr 7, 2023 · 1 comment
Assignees
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)

Comments

@Amakuas
Copy link

Amakuas commented Apr 7, 2023

描述出现的错误
按照教程各项都安装完毕了,到最后报错。之前家里的台式直接就可以运行,这个笔记本不知道为什么各种闪退报错

bug复现
复现这次行为的步骤:
1.更改了什么什么
2.点击了什么什么
3.“……”

截图
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "TikTokTool.py", line 29, in
# 获取主页内容
^^^^^^^^^
File "Util\Profile.py", line 82, in getProfile
datas = Util.XBogus('sec_user_id=%s&count=35&max_cursor=0&aid=1128&version_name=23.5.0&device_platform=android&os_version=2333' % (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Util\XB.py", line 30, in init
self.getXbogus(url)
File "Util\XB.py", line 50, in getXbogus
self.params = response["result"][0]["paramsencode"]
^^^^^^^^
UnboundLocalError: cannot access local variable 'response' where it is not associated with a value
[33964] Failed to execute script 'TikTokTool' due to unhandled exception!

桌面(请填写以下信息):
-操作系统:w11 64bit
-vpn代理[例如开启、关闭]
-版本[如1.2.3]

附文
在此处添加有关此问题的文字。

@Amakuas Amakuas added 故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies) labels Apr 7, 2023
@Johnserf-Seed
Copy link
Owner

这个报错#311 里写了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)
Projects
None yet
Development

No branches or pull requests

2 participants