Skip to content

[BUG] TypeError: 'bool' object is not iterable #783

Description

@rasoolZero

Describe the bug

I don't know exactly what the bug is, it appears seemingly out of nowhere
Traceback (most recent call last):
File "D:\a\Rare\Rare\rare\utils\qt_requests.py", line 139, in __on_finished
File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 74, in
File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 97, in __handle_wishlist
File "D:\a\Rare\Rare\rare\components\tabs\store\landing.py", line 120, in __update_wishlist_discounts
TypeError: 'bool' object is not iterable

Steps to Reproduce

after examining the logs, I believe the issue is that I'm using a proxy
so, configuring a system-wide proxy or TUN should do the trick.

Expected behavior

Rare should work find with proxies (a configurable proxy feature should also be implemented IMO), if the proxy is not working or network is slow, errors should be handled properly.

Screenshots

Image

Operating system

Windows

Version

1.12.0.0

Installation method

MSI

Python version

No response

Error message

[StoreAPI] ERROR: 3571d450-a474-11f1-8f75-317818957eb7 - Unexpected error value: { success: false, message: "WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: com.epicgames.wishlist.notLoggedIn" }
[StoreAPI] ERROR: Wishlist request failed with: 'NoneType' object has no attribute 'elements'
[RareException] CRITICAL: Traceback (most recent call last):
  File "D:\a\Rare\Rare\rare\utils\qt_requests.py", line 139, in __on_finished
  File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 74, in <lambda>
  File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 97, in __handle_wishlist
  File "D:\a\Rare\Rare\rare\components\tabs\store\landing.py", line 120, in __update_wishlist_discounts
TypeError: 'bool' object is not iterable

[StoreAPI] ERROR: 3757f970-a474-11f1-a372-33601d033abd - Unexpected error value: { success: false, message: "WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistItems: WishlistQuery/wishlistItems: com.epicgames.wishlist.notLoggedIn" }
[StoreAPI] ERROR: Wishlist request failed with: 'NoneType' object has no attribute 'elements'
[RareException] CRITICAL: Traceback (most recent call last):
  File "D:\a\Rare\Rare\rare\utils\qt_requests.py", line 139, in __on_finished
  File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 74, in <lambda>
  File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 97, in __handle_wishlist
  File "D:\a\Rare\Rare\rare\components\tabs\store\widgets\details.py", line 72, in handle_wishlist_update
TypeError: 'bool' object is not iterable

[QtRequests_StoreAPI] ERROR: NetworkError.ProtocolFailure
[QtRequests_StoreAPI] ERROR: HTTP/2 protocol error
[QtRequests_StoreAPI] ERROR: NetworkError.ProtocolFailure
[QtRequests_StoreAPI] ERROR: HTTP/2 protocol error
[QtRequests_StoreAPI] ERROR: NetworkError.ProtocolFailure
[QtRequests_StoreAPI] ERROR: HTTP/2 protocol error
[QtRequests_StoreAPI] ERROR: NetworkError.ProtocolFailure
[QtRequests_StoreAPI] ERROR: HTTP/2 protocol error
[StoreAPI] ERROR: 7df006c0-a474-11f1-8ba8-5d4390a91730 - Unexpected error value: { success: false, message: "WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistItems: WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistItems: WishlistQuery/wishlistItems: WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistToast: WishlistQuery/wishlistItems: WishlistQuery/wishlistToast: WishlistQuery/wishlistItems: WishlistQuery/wishlistItems: WishlistQuery/wishlistItems: com.epicgames.wishlist.notLoggedIn" }
[StoreAPI] ERROR: Wishlist request failed with: 'NoneType' object has no attribute 'elements'
[RareException] CRITICAL: Traceback (most recent call last):
  File "D:\a\Rare\Rare\rare\utils\qt_requests.py", line 139, in __on_finished
  File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 74, in <lambda>
  File "D:\a\Rare\Rare\rare\components\tabs\store\store_api.py", line 97, in __handle_wishlist
  File "D:\a\Rare\Rare\rare\components\tabs\store\landing.py", line 120, in __update_wishlist_discounts
TypeError: 'bool' object is not iterable

[QtRequests_StoreAPI] ERROR: NetworkError.ProtocolFailure
[QtRequests_StoreAPI] ERROR: HTTP/2 protocol error

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions