Git Product home page Git Product logo

steamauto's Issues

接收报价异常

[2023-06-10 23:31:13] - INFO: [BuffAutoAcceptOffer] 正在检查报价物品...
[2023-06-10 23:31:13] - ERROR: HTTPSConnectionPool(host='api.steampowered.com', port=443): Max retries exceeded with url: /IEconService/GetTradeOffer/v1?key=&tradeofferid=&language=english (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 467, in _make_request
File "urllib3\connectionpool.py", line 1092, in validate_conn
File "urllib3\connection.py", line 635, in connect
File "urllib3\connection.py", line 774, in ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl
.py", line 459, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 503, in _ssl_wrap_socket_impl
File "ssl.py", line 513, in wrap_socket
File "ssl.py", line 1071, in _create
File "ssl.py", line 1342, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 790, in urlopen
File "urllib3\connectionpool.py", line 491, in _make_request
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "requests\adapters.py", line 486, in send
File "urllib3\connectionpool.py", line 844, in urlopen
File "urllib3\util\retry.py", line 515, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.steampowered.com', port=443): Max retries exceeded with url: /IEconService/GetTradeOffer/v1?key=&tradeofferid=&language=english (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 279, in exec
File "steampy\client.py", line 144, in get_trade_offer
File "steampy\client.py", line 79, in api_call
File "requests\api.py", line 73, in get
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 517, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.steampowered.com', port=443): Max retries exceeded with url: /IEconService/GetTradeOffer/v1?key=&tradeofferid=&language=english (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))
[2023-06-10 23:31:13] - INFO: [BuffAutoAcceptOffer] 出现错误, 稍后再试!
[2023-06-10 23:31:13] - INFO: [BuffAutoAcceptOffer] 将在300秒后再次检查待发货订单信息!

供应订单会出现以下报错 KeyError: 'offer'与AttributeError: 'set' object has no attribute 'index'

2023-06-14-11-11-22.log
没有BUFFapp手动发货会出现以下报错,订单不会被处理。
�[31m[2023-06-14 11:11:41] - ERROR: 'offer'�[0m
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 343, in exec
KeyError: 'offer'

手动BUFFapp发货后,会处理Steam的发货,但还是会继续报错
[31m[2023-06-14 11:16:55] - ERROR: 'set' object has no attribute 'index'�[0m
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 356, in exec
AttributeError: 'set' object has no attribute 'index'

大手子能不能加一个重新尝试连接STEAM

[2023-05-01 17:29:45] - INFO: 正在检查Steam账户登录状态...
[2023-05-01 17:29:48] - INFO: Steam账户状态正常
[2023-05-01 17:29:48] - INFO: 正在进行BUFF待发货/待收货饰品检查...
[2023-05-01 17:29:49] - INFO: 查找到0个待处理的BUFF未发货订单!
[2023-05-01 17:29:49] - INFO: 将在180秒后再次检查待发货订单信息!

[2023-05-01 17:32:49] - INFO: 正在检查Steam账户登录状态...

因为长时间在服务器挂机自动发货,有时候梯子不稳定,不稳定的时候检查登录状态失败会闪退,能否修改成检查登录状态失败后,30秒后重试,而不是像现在一样直接闪退了.

这个报错是我的环境出问题了吗

Traceback (most recent call last):
File "C:\Python3.11\Lib\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python3.11\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python3.11\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python3.11\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\RuanjianXZ\Buff-Bot-3.2\Buff-Bot.py", line 255, in
main()
File "D:\RuanjianXZ\Buff-Bot-3.2\Buff-Bot.py", line 124, in main
SteamClient.login(client, acc.get('steam_username'), acc.get('steam_password'), 'steamaccount.json')
File "C:\Python3.11\Lib\site-packages\steampy\client.py", line 46, in login
LoginExecutor(username, password, self.steam_guard['shared_secret'], self._session).login()
File "C:\Python3.11\Lib\site-packages\steampy\login.py", line 20, in login
login_response = self._send_login_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python3.11\Lib\site-packages\steampy\login.py", line 29, in _send_login_request
rsa_params = self._fetch_rsa_params()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python3.11\Lib\site-packages\steampy\login.py", line 53, in _fetch_rsa_params
data={'username': self.username}).json()
^^^^^^
File "C:\Python3.11\Lib\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

接受不了buff报价

�[32m[2023-06-12 22:10:38] - INFO: [BuffAutoAcceptOffer] 正在处理第 1 个交易报价 报价ID6131917023�[0m
�[32m[2023-06-12 22:10:38] - INFO: [BuffAutoAcceptOffer] 正在检查报价物品...�[0m
�[31m[2023-06-12 22:10:39] - ERROR: Invalid API key�[0m
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 279, in exec
File "steampy\client.py", line 144, in get_trade_offer
File "steampy\client.py", line 83, in api_call
steampy.exceptions.InvalidCredentials: Invalid API key
�[32m[2023-06-12 22:10:39] - INFO: [BuffAutoAcceptOffer] 出现错误, 稍后再试! �[0m
�[32m[2023-06-12 22:10:39] - INFO: [BuffAutoAcceptOffer] 将在230秒后再次检查待发货订单信息! �[0m
api是没问题的,重置重新填还是错误

lastest.exe闪退

�[32m[2023-05-15 11:27:47] - INFO: 欢迎使用Steamauto Github仓库:https://github.com/jiajiaxd/Steamauto�[0m
�[32m[2023-05-15 11:27:47] - INFO: 若您觉得Steamauto好用, 请给予Star支持, 谢谢! �[0m
�[32m[2023-05-15 11:27:47] - INFO: 正在检查更新...�[0m
�[32m[2023-05-15 11:27:48] - INFO:
最新版本日期: 2023-05-14 08:22:06
update: 不必默认开启价格保护
请自行检查是否更新! �[0m
�[32m[2023-05-15 11:27:48] - INFO: 正在初始化...�[0m
�[32m[2023-05-15 11:27:48] - INFO: 检测到缓存的steam_session, 正在尝试登录...�[0m

就直接闪退了是为什么

处理交易报价时报错

Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 280, in exec
KeyError: 'offer'
�[32m[2023-06-19 19:23:25] - INFO: [BuffAutoAcceptOffer] 出现错误, 稍后再试! �[0m
�[32m[2023-06-19 19:23:25] - INFO: [BuffAutoAcceptOffer] 正在处理交易报价 报价ID�[0m
�[32m[2023-06-19 19:23:25] - INFO: [BuffAutoAcceptOffer] 正在检查报价物品...�[0m
�[31m[2023-06-19 19:23:25] - ERROR: 'offer'�[0m
软件版本为最新的3.1.0,buff已开启买家发起报价

供应订单还是会出现以下报错

[2023-06-17 23:49:24] - ERROR: can only concatenate str (not "NoneType") to str
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 359, in exec
TypeError: can only concatenate str (not "NoneType") to str

悠悠有品箱子报价无法接受

�[32m[2023-06-18 17:30:29] - INFO: [UUAutoAcceptOffer] 正在接受悠悠有品待发货报价, 商品名: 命悬一线武器箱, 报价ID: None�[0m
�[31m[2023-06-18 17:30:30] - ERROR: 'offer'�[0m
Traceback (most recent call last):
File "plugins\UUAutoAcceptOffer.py", line 51, in exec
File "steampy\client.py", line 26, in func_wrapper
File "steampy\client.py", line 183, in accept_trade_offer
KeyError: 'offer'
�[32m[2023-06-18 17:30:30] - INFO: [UUAutoAcceptOffer] 出现未知错误, 稍后再试! �[0m
�[32m[2023-06-18 17:30:30] - INFO: [UUAutoAcceptOffer] 将在300秒后再次检查待发货订单信息!�[0m

�[32m[2023-06-18 17:22:31] - INFO: [UUAutoAcceptOffer] 正在接受悠悠有品待发货报价, 商品名: 反冲武器箱, 报价ID:
�[31m[2023-06-18 17:22:33] - ERROR: substring not found�[0m
Traceback (most recent call last):
File "plugins\UUAutoAcceptOffer.py", line 51, in exec
File "steampy\client.py", line 26, in func_wrapper
File "steampy\client.py", line 187, in accept_trade_offer
File "steampy\client.py", line 206, in _fetch_trade_partner_id
File "steampy\utils.py", line 17, in text_between
ValueError: substring not found
�[32m[2023-06-18 17:22:33] - INFO: [UUAutoAcceptOffer] 出现未知错误, 稍后再试! �[0m
�[32m[2023-06-18 17:22:33] - INFO: [UUAutoAcceptOffer] 将在300秒后再次检查待发货订单信息!�[0m

箱子发不了 但是饰品可以发

求助

requests.exceptions.SSLError: HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: /login/getrsakey/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))
导入pycharm所有配置弄好报这个错该咋整啊

运行出错

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\Steamauto-master\Steamauto.py", line 232, in
main()
File "C:\Users\Administrator\Desktop\Steamauto-master\Steamauto.py", line 154, in main
steam_client = login_to_steam()
^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Desktop\Steamauto-master\Steamauto.py", line 59, in login_to_steam
client = pickle.load(f)
^^^^^^^^^^^^^^
EOFError: Ran out of input

这应该怎么解决啊

运行错误,这个该怎么解决

Traceback (most recent call last):
File "Steamauto.py", line 236, in
File "Steamauto.py", line 143, in main
File "json_init_.py", line 293, in load
File "json_init_.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 36 column 15 (char 1061)
[9680] Failed to execute script 'Steamauto' due to unhandled exception!

运行到这里就掉了,这个该怎么办。。
2023-05-18-20-02-37.log

feature:降低使用门槛

鉴于Steam服务器很垃(bushi) / 为了降低程序的使用门槛 / 提高可用性
计划增加以下功能:

  • 优化报错,在出现网络问题时使用人类阅读友好的文字表示 #20
  • 提供二进制打包版本的Steamauto,降低使用门槛
  • Github Actions在每次commit后发布release
  • 保存 steam session 信息,尽量减少captcha required错误
  • 增加Docker一键部署
  • 添加彩色输出

[登录错误]似乎是需要提交验证码?

登录文件都配置好了,在登录Steam的时候报错如下:

Traceback (most recent call last):
File "Buff-Bot.py", line 160, in
main()
File "Buff-Bot.py", line 93, in main
SteamClient.login(client, acc.get('steam_username'), acc.get('steam_password'), 'steamaccount.json')
File "/home//.virtualenvs/buff/lib/python3.6/site-packages/steampy/client.py", line 46, in login
LoginExecutor(username, password, self.steam_guard['shared_secret'], self._session).login()
File "/home//.virtualenvs/buff/lib/python3.6/site-packages/steampy/login.py", line 21, in login
self._check_for_captcha(login_response)
File "/home//.virtualenvs/buff/lib/python3.6/site-packages/steampy/login.py", line 87, in _check_for_captcha
raise CaptchaRequired('Captcha required')
steampy.exceptions.CaptchaRequired: Captcha required

请问是需要验证码吗?怎么解决这个问题

交易报错

[2023-06-21 10:46:42] - INFO: [BuffAutoAcceptOffer] 正在检查报价物品...
[2023-06-21 10:46:42] - INFO: [BuffAutoAcceptOffer] 报价物品检查完成! 正在接受报价...
[2023-06-21 10:46:44] - ERROR:
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 313, in exec
File "steampy\client.py", line 26, in func_wrapper
File "steampy\client.py", line 198, in accept_trade_offer
File "steampy\client.py", line 211, in _confirm_transaction
File "steampy\confirmation.py", line 38, in send_trade_allow_request
File "steampy\confirmation.py", line 100, in _select_trade_offer_confirmation
steampy.exceptions.ConfirmationExpected
[2023-06-21 10:46:44] - INFO: [BuffAutoAcceptOffer] 出现错误, 稍后再试!
[2023-06-21 10:46:44] - INFO: [BuffAutoAcceptOffer] 正在处理第 2 个交易报价 报价ID6149549939
[2023-06-21 10:46:44] - INFO: [BuffAutoAcceptOffer] 正在检查报价物品...
[2023-06-21 10:46:45] - INFO: [BuffAutoAcceptOffer] 报价物品检查完成! 正在接受报价...
[2023-06-21 10:46:46] - ERROR:
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 313, in exec
File "steampy\client.py", line 26, in func_wrapper
File "steampy\client.py", line 198, in accept_trade_offer
File "steampy\client.py", line 211, in _confirm_transaction
File "steampy\confirmation.py", line 38, in send_trade_allow_request
File "steampy\confirmation.py", line 100, in _select_trade_offer_confirmation
steampy.exceptions.ConfirmationExpected
[2023-06-21 10:46:46] - INFO: [BuffAutoAcceptOffer] 出现错误, 稍后再试!
[2023-06-21 10:46:46] - INFO: [BuffAutoAcceptOffer] 将在300秒后再次检查待发货订单信息!

接受报价出错 出现KeyError: 'offer'

问题一:
�[32m[2023-05-26 21:13:54] - INFO: [BuffAutoAcceptOffer] 正在检查报价物品...�[0m
�[31m[2023-05-26 21:13:55] - ERROR: 'offer'�[0m
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 280, in exec
KeyError: 'offer'
�[32m[2023-05-26 21:13:55] - INFO: [BuffAutoAcceptOffer] 出现错误, 稍后再试! �[0m

问题二:
�[32m[2023-05-26 21:20:19] - INFO: [BuffAutoAcceptOffer] 查找到 1 个待处理的BUFF待确认供应订单! �[0m
�[31m[2023-05-26 21:20:20] - ERROR: 'offer'�[0m
Traceback (most recent call last):
File "plugins\BuffAutoAcceptOffer.py", line 343, in exec
KeyError: 'offer'

这个是什么问题呢,密码也不可能错啊

�[32m[2023-06-11 02:24:40] - INFO: 欢迎使用Steamauto Github仓库:https://github.com/jiajiaxd/Steamauto�[0m
�[32m[2023-06-11 02:24:40] - INFO: 若您觉得Steamauto好用, 请给予Star支持, 谢谢! �[0m
�[32m[2023-06-11 02:24:40] - INFO: 当前版本: 3.0.4�[0m
�[32m[2023-06-11 02:24:40] - INFO: 正在检查更新...�[0m
�[32m[2023-06-11 02:24:42] - INFO: 当前版本已经是最新版本�[0m
�[32m[2023-06-11 02:24:42] - INFO: 正在初始化...�[0m
�[32m[2023-06-11 02:24:42] - INFO: 检测到首次登录Steam,正在尝试登录...登录完成后会自动缓存session�[0m
�[32m[2023-06-11 02:24:42] - INFO: 正在登录Steam...�[0m
�[31m[2023-06-11 02:24:44] - ERROR: 程序发生致命错误,请将此界面截图,并提交最新的log文件到https://github.com/jiajiaxd/Steamauto/issues�[0m
Traceback (most recent call last):
File "C:\Users\22175\Desktop\Steamauto-master\Steamauto.py", line 264, in
exit_code = main()
^^^^^^
File "C:\Users\22175\Desktop\Steamauto-master\Steamauto.py", line 197, in main
steam_client = login_to_steam()
^^^^^^^^^^^^^^^^
File "C:\Users\22175\Desktop\Steamauto-master\Steamauto.py", line 106, in login_to_steam
SteamClient.login(client, acc.get("steam_username"), acc.get("steam_password"), STEAM_ACCOUNT_INFO_FILE_PATH)
File "C:\Users\22175\Desktop\Steamauto-master\steampy\client.py", line 46, in login
LoginExecutor(username, password, self.steam_guard['shared_secret'], self._session).login()
File "C:\Users\22175\Desktop\Steamauto-master\steampy\login.py", line 38, in login
self._assert_valid_credentials(login_response)
File "C:\Users\22175\Desktop\Steamauto-master\steampy\login.py", line 115, in _assert_valid_credentials
raise InvalidCredentials(login_response.json()['message'])
steampy.exceptions.InvalidCredentials
�[31m[2023-06-11 02:24:44] - ERROR: 由于出现致命错误,程序即将退出...�[0m
�[32m[2023-06-11 02:24:44] - INFO: 点击回车键继续...�[0m
�[32m[2023-06-11 02:30:48] - INFO: 正在退出...�[0m

注意事项:发issue前请仔细阅读

由于我是一名高中生,平常时间很少,无暇处理以下类型的issue:
1.不提供任何报错(软件“闪退”之前一定会有报错,如果出现“闪退”,请在控制台里手动输命令运行)和日志(存于logs文件夹内)
2.教程内写得很明确却提问的内容
3.要求协助配置(技术支持有偿提供)
Steamauto拥有一个官方QQ群,也可以去群内提问:
欢迎加入 Steamauto 官方QQ群:425721057

失败能否重连?

代理有时不稳定,直接退出了,或者设置重连间隔,而不是直接退出,纯小白,感谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.