puppylpg / oddish

Crawl csgo skin info from `buff.163.com` and steam, then find the most suitable one to buy from the former and to sell to the latter.

Home Page:https://puppylpg.github.io/2019/12/07/python-crawler-buff-optimaze/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: setValue(self, int): argument 1 has unexpected type 'float'

GeraltZeroZhong opened this issue · comments

问题描述

程序最开始出现错误

复现步骤

工程根目录下运行:python -m src

报错信息

Traceback (most recent call last):
File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 110, in get_module_details
import(pkg_name)
File "F:\CS\oddish-master\oddish-master\src_init
.py", line 41, in
ui = oddish(MainWindow)
File "F:\CS\oddish-master\oddish-master\src\ui\oddish.py", line 96, in init
self.priceMin.setValue(config.CRAWL_MIN_PRICE_ITEM)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'

相关截屏(最好贴一下)

软件信息

  • python版本:3.10
  • 操作系统:win11

我也这样有什么方法可以解决吗