I can't log in
-
The last client from github. After logging in, a message comes out that you can close the page, but nothing happens.
logs:
2024-08-21 10:55:14,861 INFO root FAF version: 0.22.1 Environment: production
2024-08-21 10:55:14,868 INFO util PERSONAL_DIR final: C:/Users/Maxim/Documents
2024-08-21 10:55:14,896 WARNING root Qt: QtWindows::DpiAwareness::PerMonitorVersion2 is not supported by current system.
2024-08-21 10:55:15,059 INFO main >>> --------------------------- Application Launch
2024-08-21 10:55:15,713 INFO util.theme Read themed stylesheet: news/news_style.css
2024-08-21 10:55:15,944 INFO faf.secondaryServer.Statistic Instantiating secondary server.
2024-08-21 10:55:15,955 INFO util.theme Read themed stylesheet: client/client.css
2024-08-21 10:55:15,977 INFO util.theme Read themed stylesheet: client/client.css
2024-08-21 10:55:16,006 INFO util.theme Read themed stylesheet: client/client.css
2024-08-21 10:55:16,134 INFO util.theme Read themed stylesheet: coop/formatters/style.css
2024-08-21 10:55:16,163 INFO util.theme Read themed stylesheet: stats/formatters/style.css
2024-08-21 10:55:16,181 INFO replays._replayswidget Replays Widget instantiated.
2024-08-21 10:55:16,196 WARNING root Qt: No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
2024-08-21 10:55:16,480 INFO util.theme Read themed stylesheet: client/login.css
2024-08-21 10:55:16,496 INFO news.wpapi Received https://direct.faforever.com/wp-json/wp/v2/posts?per_page=20&page=1&embed=1
2024-08-21 10:55:16,496 ERROR news.wpapi Error handling wp data
Traceback (most recent call last):
File "D:\a\client\client\src\news\wpapi.py", line 39, in finishedDownload
File "C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\json_init.py", line 346, in loads
File "C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\json\decoder.py", line 337, in decode
File "C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2024-08-21 10:55:16,521 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 10:55:16,522 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 10:55:16,522 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 10:55:20,213 INFO client.login Setting connection options: [server: lobby.faforever.com:8002, IRC: chat.faforever.com:443, replay_server: lobby.faforever.com:15000, api_url: https://api.faforever.com]
2024-08-21 10:55:32,406 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 10:55:34,582 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 10:55:35,910 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 10:57:59,368 INFO client._clientwindow Close Event for Application Main Window
2024-08-21 10:57:59,398 INFO main <<< --------------------------- Application Shutdown
2024-08-21 11:02:02,415 INFO root FAF version: 0.22.1 Environment: production
2024-08-21 11:02:02,423 INFO util PERSONAL_DIR final: C:/Users/Maxim/Documents
2024-08-21 11:02:02,455 WARNING root Qt: QtWindows::DpiAwareness::PerMonitorVersion2 is not supported by current system.
2024-08-21 11:02:02,600 INFO main >>> --------------------------- Application Launch
2024-08-21 11:02:03,303 INFO util.theme Read themed stylesheet: news/news_style.css
2024-08-21 11:02:03,511 INFO faf.secondaryServer.Statistic Instantiating secondary server.
2024-08-21 11:02:03,523 INFO util.theme Read themed stylesheet: client/client.css
2024-08-21 11:02:03,544 INFO util.theme Read themed stylesheet: client/client.css
2024-08-21 11:02:03,579 INFO util.theme Read themed stylesheet: client/client.css
2024-08-21 11:02:03,706 INFO util.theme Read themed stylesheet: coop/formatters/style.css
2024-08-21 11:02:03,738 INFO util.theme Read themed stylesheet: stats/formatters/style.css
2024-08-21 11:02:03,754 INFO replays._replayswidget Replays Widget instantiated.
2024-08-21 11:02:03,770 WARNING root Qt: No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
2024-08-21 11:02:04,057 INFO util.theme Read themed stylesheet: client/login.css
2024-08-21 11:02:04,069 INFO news.wpapi Received https://direct.faforever.com/wp-json/wp/v2/posts?per_page=20&page=1&embed=1
2024-08-21 11:02:04,069 ERROR news.wpapi Error handling wp data
Traceback (most recent call last):
File "D:\a\client\client\src\news\wpapi.py", line 39, in finishedDownload
File "C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\json_init.py", line 346, in loads
File "C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\json\decoder.py", line 337, in decode
File "C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2024-08-21 11:02:04,095 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 11:02:04,095 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 11:02:04,095 ERROR api.ApiBase API request error: NetworkError.UnknownNetworkError
2024-08-21 11:02:08,184 INFO client.login Setting connection options: [server: lobby.faforever.com:8002, IRC: chat.faforever.com:443, replay_server: lobby.faforever.com:15000, api_url: https://api.faforever.com]
2024-08-21 11:02:20,447 WARNING root Qt: Token request failed: "The credentials were not recognized / Invalid argument"
2024-08-21 11:02:20,449 INFO util.theme Read themed stylesheet: client/login.css
2024-08-21 11:02:20,468 WARNING root Qt: Invalid request: /favicon.ico
2024-08-21 11:02:30,317 INFO client._clientwindow Close Event for Application Main Window
2024-08-21 11:02:30,357 INFO main <<< --------------------------- Application Shutdown -
For those coming to help, this is an error in the python client.
-
the version from the site does not work at all. It doesn't even give errors, just nothing happens after clicking on the icon.
-
Unless you have a very specific reason trying to use the Python client -Just download the latest, official FAF client from the website.
-
@magge the client does not start from the site at all. No errors, no logs, nothing. That's why I downloaded the python version(
-
The only reason the official client wouldn't start is if you are running a version of windows 10 before windows 10 build version 1803. There is an incompatibility with that old version of windows 10.
You can update your windows 10 or manually perform the fix detailed here. https://forum.faforever.com/topic/6240/new-client-2023-6-0/13?_=1724237238326
-
@sheikah Thanks a lot, the advice helped, we managed to launch the launcher. Long live Seton!